我使用NLTK从文本字符串中提取名词,从以下命令开始:
tagged_text = nltk.pos_tag(nltk.Text(nltk.word_tokenize(some_string)))
它在英语中运行良好.还有一种简单的方法可以让它适用于德语吗?
(我没有自然语言编程的经验,但我设法使用到目前为止很棒的python nltk库.)
python nlp nltk
nlp ×1
nltk ×1
python ×1