https://github.com/mrkamel/significance
Calculate significance of cooccurring words
https://github.com/mrkamel/significance
Last synced: about 1 year ago
JSON representation
Calculate significance of cooccurring words
- Host: GitHub
- URL: https://github.com/mrkamel/significance
- Owner: mrkamel
- Created: 2012-03-08T10:37:52.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T08:10:33.000Z (almost 9 years ago)
- Last Synced: 2025-03-29T04:44:00.912Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Significance
Calculate significance of cooccurring words
Significance.calculate(a, b, k, n)
where *a* is equal to the frequency of the first word in the set of documents,
*b* is equal to the frequency of the second word in the set of documents,
*k* is equal to the frequency of the first and second word occurring together in the set of documents
and *n* is equal to the number of documents.