osyvokon/awesome-ukrainian-nlp

[Question] POS Tagger for Ukrainian language

cidrugHug8 opened this issue · 2 comments

Hi.

I intend to create a natural language processing tool for Ukrainian. I am looking for POS Tagger for Ukrainian language. Could you please let me know if you have any recommendations for a Tagger?

Thank you.

Hi @cidrugHug8,

One option is to use Stanza. For example:

import stanza
stanza.download("uk")
nlp = stanza.Pipeline("uk")
[w.upos for w in nlp("На дереві висить червоне яблуко смачне").sentences[0].words]

# Output: ['ADP', 'NOUN', 'VERB', 'ADJ', 'NOUN', 'ADJ']

Thank you. I'll give it a try.