# TextAnalysis.jl Naive Bayes Load Error

**URL:** <https://discourse.julialang.org/t/textanalysis-jl-naive-bayes-load-error/45115>\
**Category:** Machine Learning\
**Created:** [August 17, 2020, 3:35pm UTC](https://discourse.julialang.org/t/textanalysis-jl-naive-bayes-load-error/45115 "2020-08-17T15:35:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Anderson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chris_anderson/32/9465_2.png) [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Post date:** [August 17, 2020, 3:35pm UTC](https://discourse.julialang.org/t/textanalysis-jl-naive-bayes-load-error/45115/1 "2020-08-17T15:35:56Z")

</div>

I am trying to use TextAnalysis.jl for some text classification using the Naive Bayes Classifier. However, I’ve been unable to begin as I’m getting an error before I can even load the classifier.

`using TextAnalysis: NaiveBayesClassifier, fit!, predict`

Produces this error

`ERROR: UndefVarError: NaiveBayesClassifier not defined`

I know TextAnalysis.jl is installed and it loads on its own ( `using TextAnalysis` ). How can I fix this?
