TextAnalysis 0.7.2 - where to find SentimentAnalyzer()

In the documentation for TextAnalysis 0.7.2, the function SentimentAnalyzer() is available. I do not find in the code. Where is it? What am I doing wrong?

https://juliahub.com/docs/TextAnalysis/5Mwet/0.7.2/features/

I don’t know why this is the case, but SentimentAnalyzer() is part of GitHub - JuliaText/TextModels.jl: Neural Network based models for Natural Language Processing

julia> using TextModels
[ Info: Precompiling TextModels [77b9cbda-2a23-51df-82a3-24144d1cd378]
┌ Warning: `@get!(dict, key, default)` at C:\Users\oheil\.julia\packages\Requires\9Jse8\src\require.jl:11 is deprecated, use `get!(()->default, dict, key)` instead.
└ @ Base deprecated.jl:204
┌ Warning: CUDNN is not installed, some functionality will not be available.
└ @ Flux.CUDA C:\Users\oheil\.julia\packages\Flux\dkJUV\src\cuda\cuda.jl:9

julia> @which SentimentAnalyzer()
SentimentAnalyzer() in TextModels at C:\Users\oheil\.julia\packages\TextModels\VlYA0\src\sentiment.jl:72

I would say, these packages and their documentation need some cleaning.

Thank you… It makes sense. However, the TextModels’s documentation GitHub - JuliaText/TextModels.jl: Neural Network based models for Natural Language Processing points to the TextAnalysis.jl’s documentation !!! Definitely. These packages need some cleaning.

When installing TextModels in the last julia version 1.5.4…

Resolving package versions...
ERROR: Unsatisfiable requirements detected for package StatsBase [2913bbd2]:
 StatsBase [2913bbd2] log:
 ├─possible versions are: [0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0, 0.31.0, 0.32.0-0.32.2, 0.33.0-0.33.4] or uninstalled
 ├─restricted by compatibility requirements with Plots [91a5bcdd] to versions: [0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0, 0.31.0, 0.32.0-0.32.2, 0.33.0-0.33.4]
 │ └─Plots [91a5bcdd] log:
 │   ├─possible versions are: [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.6, 1.11.0] or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions [0.12.1-0.12.4, 0.13.0-0.13.1, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0, 0.17.0-0.17.4, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.6, 0.21.0, 0.22.0-0.22.5, 0.23.0-0.23.2, 0.24.0, 0.25.0-0.25.3, 0.26.0-0.26.3, 0.27.0-0.27.1, 0.28.0-0.28.4, 0.29.0-0.29.9, 1.0.0-1.0.14, 1.1.0-1.1.4, 1.2.0-1.2.6, 1.3.0-1.3.7, 1.4.0-1.4.4, 1.5.0-1.5.9, 1.6.0-1.6.12, 1.7.0-1.7.3, 1.8.0-1.8.1, 1.9.0-1.9.1, 1.10.0-1.10.6, 1.11.0]
 ├─restricted by compatibility requirements with TextModels [77b9cbda] to versions: 0.33.0-0.33.4
 │ └─TextModels [77b9cbda] log:
 │   ├─possible versions are: 0.1.0 or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0
 └─restricted by compatibility requirements with JuliaDB [a93385a2] to versions: [0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0, 0.31.0, 0.32.0-0.32.2] — no versions left
   └─JuliaDB [a93385a2] log:
     ├─possible versions are: [0.9.0, 0.10.0, 0.11.0-0.11.2, 0.12.0, 0.13.0-0.13.1] or uninstalled
     └─restricted to versions * by an explicit requirement, leaving only versions [0.9.0, 0.10.0, 0.11.0-0.11.2, 0.12.0, 0.13.0-0.13.1]

It seems to be all needs a bit of rework…