Package TextAnalysis, how to use most up to date version?

Hi all, I wanted to use TextAnalysis package. I added it, the version is 0.6.0. This versions is the last one according to github.

(@v1.4) pkg> update TextAnalysis
   Updating registry at `C:\Users\u\.julia\registries\General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Updating `C:\Users\u\.julia\environments\v1.4\Project.toml`
 [no changes]
   Updating `C:\Users\u\.julia\environments\v1.4\Manifest.toml`
 [no changes]

(@v1.4) pkg> status TextAnalysis
Status `C:\Users\u\.julia\environments\v1.4\Project.toml`
  [a2db99b7] TextAnalysis v0.6.0

So far, so good.

When going through doc, I struggled with some commands, so I tried to update, but with no luck. I suspect the doc is for 0.7.0, but I don’t know how to update the package to the most up-to-date version from github.

Any advices please?


example of failing command:

julia> C = CooMatrix(crps, window=1, normalize=false)
ERROR: UndefVarError: CooMatrix not defined
Stacktrace:
 [1] top-level scope at REPL[117]:1

from https://juliatext.github.io/TextAnalysis.jl/latest/features/#Co-occurrence-matrix-(COOM)-1

It looks like author of TextAnalysis didn’t registered version 0.7.0. In this case you can always use master branch, see Pkg manual for details.

pkg> add https://github.com/JuliaText/TextAnalysis.jl

When version 0.7.0 is going to be registered, you can return to the official registry using

pkg> free TextAnalysis
2 Likes

Thank you a lot. This really installs master branch.