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

Extend NaiveBayesClassifier to support Documents as input #152 #219

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

KimBue
Copy link
Contributor

@KimBue KimBue commented Aug 30, 2020

NaiveBayesClassifier can be used with FileDocument, StringDocument and TokenDocument. Instead of the simpleTokenize function, the token(sd) function is used.
NGramDocuments are currently not accepted and throw an error, as tokens can not be reconstructed.

NGramDocuments are currently not accepted and throw an error
@aviks aviks merged commit 5f4edf9 into JuliaText:master Sep 2, 2020
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.

2 participants