POS tagging in German

Viewed 20847

I am using NLTK to extract nouns from a text-string starting with the following command:

tagged_text = nltk.pos_tag(nltk.Text(nltk.word_tokenize(some_string)))

It works fine in English. Is there an easy way to make it work for German as well?

(I have no experience with natural language programming, but I managed to use the python nltk library which is great so far.)

6 Answers

I have written a blog-post about how to convert the German annotated TIGER Corpus in order to use it with the NLTK. Have a look at it here.

It seems to be a little late to answer the question, but it might be helpful for anyone who finds this question by googling like i did. So i'd like to share the things I found out.

The HannoverTagger might be a useful tool for this Task. You can find tutorials here and here(german), but the second one is in german.

The Tagger seems to use the STTS Tagset, if you need a complete list of all Tags.

Related