# PoSTagger on other languages than English

**URL:** <https://discourse.julialang.org/t/postagger-on-other-languages-than-english/53385>\
**Category:** Data\
**Tags:** question\
**Created:** [January 15, 2021, 2:35pm UTC](https://discourse.julialang.org/t/postagger-on-other-languages-than-english/53385 "2021-01-15T14:35:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tencnivel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tencnivel/32/8662_2.png) [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Post date:** [January 15, 2021, 2:35pm UTC](https://discourse.julialang.org/t/postagger-on-other-languages-than-english/53385/1 "2021-01-15T14:35:12Z")

</div>

Has anyone manage to use TextModels PoSTagger on another language than English?

The following does not work, everything gets tagged as ‘NNP’:

```julia
using TextModels
using TextAnalysis
using Languages

str = "André trouve cette maison très belle" 
sd = StringDocument(str)
pos = PoSTagger()
language!(sd,Languages.French())
pos(sd)

```

The doc is here  
[https://juliatext.github.io/TextAnalysis.jl/dev/features/#Neural-Model-for-Part-of-Speech-tagging-using-LSTMs,-CNN-and-CRF](https://juliatext.github.io/TextAnalysis.jl/dev/features/#Neural-Model-for-Part-of-Speech-tagging-using-LSTMs,-CNN-and-CRF)

---

<div class="post-metadata">

**Author:** ![avik](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/avik/32/17_2.png) [@avik](https://discourse.julialang.org/u/avik)\
**Post date:** [January 15, 2021, 6:53pm UTC](https://discourse.julialang.org/t/postagger-on-other-languages-than-english/53385/2 "2021-01-15T18:53:27Z")

</div>

I _think_ that model was only trained on English, unfortunately. Would be great to get models for other languages. Maybe we should document this better.

---

<div class="post-metadata">

**Author:** ![tencnivel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tencnivel/32/8662_2.png) [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Post date:** [January 16, 2021, 5:00pm UTC](https://discourse.julialang.org/t/postagger-on-other-languages-than-english/53385/3 "2021-01-16T17:00:22Z")

</div>

In `.julia/datadeps/POS Model Dicts/word_to_embed_idx.json` there are French words as well.

I thought that this meant that a pretrained model was available for French as well.

@avik, what would you recommend between these following options:

- Run an external command to PoS tagger that supports French (eg. [The Stanford Natural Language Processing Group](https://nlp.stanford.edu/software/tagger.html))
- Build a native Julia PoS tagging model for French

In the second case, some guidance or links to some resources would be very welcome.
