Closed mdvsh closed 4 years ago
julia> using TextAnalysis: NaiveBayesClassifier, fit!, predict ERROR: UndefVarError: NaiveBayesClassifier not defined
and
julia> model = NaiveBayesClassifier() ERROR: UndefVarError: NaiveBayesClassifier not defined Stacktrace: [1] top-level scope at REPL[10]:1
The former snippet is a copy pasta from the Docs. I also tried enclosing it in a let-end loop but it still doesn't work.
let-end
I have [a2db99b7] TextAnalysis v0.6.0 in my working environment.
[a2db99b7] TextAnalysis v0.6.0
This isn't the case with model = SentimentAnalyser().
model = SentimentAnalyser()
Any help would be appreciated.
I have the same problem.
It should work if you install the master branch. pkg> add TextAnalysis#master should do the trick.
and
The former snippet is a copy pasta from the Docs. I also tried enclosing it in a
let-end
loop but it still doesn't work.I have
[a2db99b7] TextAnalysis v0.6.0
in my working environment.This isn't the case with
model = SentimentAnalyser()
.Any help would be appreciated.