Dice's Coefficient

Source: Internet
Author: User

Dice's Coefficient(Also known asDICE coefficient) Is a similarity measure related to the jaccard index.

For sets X and Y of keywords used in information retrieval, the coefficient may be defined:[1]

When taken as a string similarity measure, the coefficient may be calculated for two strings,XAndYUsing bigrams as follows:[2]

WhereNTIs the number of character bigrams found in both strings,NXIs the number of bigrams in stringXAndNYIs the number of bigrams in stringY. For example, to calculate the similarity:

night
nacht

We wocould find the set of bigrams in each word:

{ ni, ig, gh, ht}
{ na, ac, ch, ht}

Each set has 4 elements, and the intersection of these two sets has only one element:ht.

Plugging this into the formula, we calculate,S= (2*1)/(4 + 4) = 0.25

See also
  • Jaccard Index
  • Levenshtein distance
  • Sø rensen similarity index

Notes
  1. ^C. J. van rijsbergen (1979)
  2. ^Kondrak, G. et al. (2003)

References
  • C. J. van rijsbergen (1979) Information Retrieval (London: Butterworths)
  • Kondrak, G., Marcu, D. and Knight, K. (2003) "cognates can improve statistical translation models" inProceedings of HLT-NAACL 2003: human language technology conference of the North American chapter of the Association for Computational Linguistics, Pp. 46--48

Retrieved from "http://en.wikipedia.org/wiki/Dice%27s_coefficient"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.