

The Dice Coefficient is defined as : 
2 * n11  np1 + n1p 
The Jaccard coefficient is defined as: 
n11  n11 + n12 + n21 
computeVal()  method to calculate the dice coefficient value INPUT PARAMS : $count_values .. Reference of an hash containing
the count values computed by the
count.pl program.RETURN VALUES : $dice .. Dice Coefficient value for this bigram.
Ted Pedersen, University of Minnesota Duluth
<tpederse@d.umn.edu>Satanjeev Banerjee, Carnegie Mellon University
<satanjeev@cmu.edu>Amruta Purandare, University of Pittsburgh
<amruta@cs.pitt.edu>Bridget ThomsonMcInnes, University of Minnesota Twin Cities
<bthompson@d.umn.edu>Saiyam Kohli, University of Minnesota Duluth
<kohli003@d.umn.edu>
Last updated: $Id: Dice.pm,v 1.6 2006/06/21 11:10:52 saiyam_kohli Exp $
@article{SmadjaMH96,
author = {Smadja, F. and McKeown, K. and Hatzivassiloglou, V.},
title = {Translating Collocations for Bilingual Lexicons: A
Statistical Approach},
journal = {Computational Linguistics},
volume = {22},
number = {1},
year = {1996},
pages = {138}
url = <http://www.cs.mu.oz.au/acl/J/J96/J961001.pdf>}
Copyright (C) 20002006, Ted Pedersen, Satanjeev Banerjee, Amruta Purandare, Bridget ThomsonMcInnes and Saiyam KohliThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to
The Free Software Foundation, Inc., 59 Temple Place  Suite 330, Boston, MA 021111307, USA.Note: a copy of the GNU General Public License is available on the web at <http://www.gnu.org/licenses/gpl.txt> and is included in this distribution as GPL.txt.
perl v5.20.3  TEXT::NSP::MEASURES::2D::DICE (3)  20060621 
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.