Is it possible to apply pos-tagging to a list of words, which was already tokenized?
ichiroex opened this issue Β· 4 comments
ichiroex commented
Is it possible to apply pos-tagging to a list of words, which was already tokenized?
taishi-i commented
Hi @ichiroex
Yes, it is possibile to apply pos-tagging to a list of tokenized words.
However, I need to rewrite some existing codes.
I will inform you after rewriting the codes. Please wait a few days.
ichiroex commented
Thank you for your quick reply.
I'm looking forward to the function π
taishi-i commented
Hi @ichiroex
I released nagisa 0.1.2, which provides the pos-tagging method.
If you want to apply pos-tagging to a list of tokenized words, please refer to the following code.
Don't forget update the latest version of nagisa sudo pip install -U nagisa
.
import nagisa # version 0.1.2
tokenized_words = [" (δΊΊβ’α΄β’β‘)","γγγ°γγ―","βͺ"]
postags = nagisa.postagging(tokenized_words)
print(postags) #=> ['θ£ε©θ¨ε·', 'ζεθ©', 'θ£ε©θ¨ε·']
Thanks
ichiroex commented
Thank you for your prompt attention to this matter.
It's very nice! I'll use this wonderful function π―