Perform one-tailed Fisher's Exact test for the collostruction/collocation strength.
The p-value is log-transformed to the base of ten as in the Collostructional Analysis.
This is an internal function called via collex_fye
.
fye_compute(a, a_exp, b, c, d)
a | observed co-occurrence frequency of a given collocate and the nodeword. |
---|---|
a_exp | expected co-occurrence frequency of the collocate and the nodeword. |
b | co-occurrence frequency of the collocate with other words in the corpus. |
c | co-occurrence frequency of the nodeword with other words in the corpus. |
d | co-occurrence frequency of other words in the corpus. |
Numeric vectors of p-values