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

**URL:** https://discourse.julialang.org/t/package-textanalysis-how-to-use-most-up-to-date-version/41983
**Category:** New to Julia
**Tags:** package
**Created:** [June 24, 2020, 2:14pm UTC](https://discourse.julialang.org/t/package-textanalysis-how-to-use-most-up-to-date-version/41983 "2020-06-24T14:14:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stej](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@stej](https://discourse.julialang.org/u/stej)
#### Post date: [June 24, 2020, 2:14pm UTC](https://discourse.julialang.org/t/package-textanalysis-how-to-use-most-up-to-date-version/41983/1 "2020-06-24T14:14:43Z")

</div>

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.

```julia
(@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
julia> C = CooMatrix(crps, window=1, normalize=false)
ERROR: UndefVarError: CooMatrix not defined
Stacktrace:
 [1] top-level scope at REPL[117]:1

```

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

---

<div class="post-metadata">

### Author: ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)
#### Post date: [June 24, 2020, 2:32pm UTC](https://discourse.julialang.org/t/package-textanalysis-how-to-use-most-up-to-date-version/41983/2 "2020-06-24T14:32:58Z")

</div>

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](https://julialang.github.io/Pkg.jl/v1/managing-packages/#Adding-unregistered-packages-1) for details.

```julia
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

```julia
pkg> free TextAnalysis

```

---

<div class="post-metadata">

### Author: ![stej](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@stej](https://discourse.julialang.org/u/stej)
#### Post date: [June 24, 2020, 3:38pm UTC](https://discourse.julialang.org/t/package-textanalysis-how-to-use-most-up-to-date-version/41983/3 "2020-06-24T15:38:45Z")

</div>

Thank you a lot. This really installs master branch.
