Marc Kupietz | e203832 | 2021-03-04 18:24:02 +0100 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/association-scores.R |
| 3 | \name{logDice} |
| 4 | \alias{logDice} |
| 5 | \title{log-Dice coefficient} |
| 6 | \usage{ |
| 7 | logDice(O1, O2, O, N, E, window_size) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{O1}{observed absolute frequency of node} |
| 11 | |
| 12 | \item{O2}{observed absolute frequency of collocate} |
| 13 | |
| 14 | \item{O}{observed absolute frequency of collocation} |
| 15 | |
| 16 | \item{N}{corpus size} |
| 17 | |
| 18 | \item{E}{expected absolute frequency of collocation (already adjusted to window size)} |
| 19 | |
| 20 | \item{window_size}{total window size around node (left neighbour count + right neighbour count)} |
| 21 | } |
| 22 | \description{ |
| 23 | log-Dice coefficient |
| 24 | } |
| 25 | \examples{ |
| 26 | |
| 27 | } |
| 28 | \references{ |
| 29 | Rychlý, Pavel (2008): <a href="http://www.fi.muni.cz/usr/sojka/download/raslan2008/13.pdf">A lexicographer-friendly association score.</a> In Proceedings of Recent Advances in Slavonic Natural Language Processing, RASLAN, 6–9. |
| 30 | } |
| 31 | \seealso{ |
| 32 | Other association-score-functions: |
| 33 | \code{\link{defaultAssociationScoreFunctions}()}, |
| 34 | \code{\link{ll}()}, |
| 35 | \code{\link{mi2}()}, |
| 36 | \code{\link{mi3}()}, |
| 37 | \code{\link{pmi}()} |
| 38 | } |
| 39 | \concept{association-score-functions} |