Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pprzetacznik/nlp-bayes-classifier
Bayes classifier
https://github.com/pprzetacznik/nlp-bayes-classifier
Last synced: 26 days ago
JSON representation
Bayes classifier
- Host: GitHub
- URL: https://github.com/pprzetacznik/nlp-bayes-classifier
- Owner: pprzetacznik
- Created: 2015-04-01T01:26:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-01T11:06:23.000Z (almost 10 years ago)
- Last Synced: 2024-10-21T22:52:21.680Z (2 months ago)
- Language: Python
- Homepage:
- Size: 8.82 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Natural Language Processing - Bayes classifier
============P(c|w) = (P(w|c) * P(c)) / P(w)
where:
c - the best fix for entered word
w - entered wordRun:
~~~
pip install -r requirements.txt
python -m test_stats
python -m test_bayes
python stats.py żołnież rzołnież
python bayes.py alamakoty test/dramat.iso.utf8 test/dictionary2.txt
~~~