Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build the language model based on n-grams frequencies #31

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

iosadchiy
Copy link

This is not intended to be merged but to discuss if this feature can be useful.

I was experimenting with n-grams frequencies from Ruscorpora. The idea was to load the frequency files directly into the model:

jamspell load_ngrams alphabet_ru.txt 1grams.csv 2grams.csv 3grams.csv ru.bin

You can see some short samples of the .csv files here

Let me know if this feature can be useful.

@bakwc
Copy link
Owner

bakwc commented May 27, 2018

Thanks for PR, good feature! Let me know when you finish - I'll be glad to merge it.
BTW, could you please upload somewhere your model? I'd like to compare it to a model trained on wikipedia+news.

@@ -0,0 +1,19 @@
# encoding: UTF-8
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better rewrite it on python and put to evaluate folder - all useful scripts are stored there for now.

@iosadchiy
Copy link
Author

Yep, sure, the model is here

@rprilepskiy
Copy link

@iosadchiy, did you have time to fix the PR checks error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants