reckart / tt4j

TreeTagger for Java
http://reckart.github.io/tt4j/
Apache License 2.0
16 stars 7 forks source link

Create a chunking example #11

Open reckart opened 9 years ago

reckart commented 9 years ago

Original issue 11 created by reckart on 2011-11-13T17:41:58.000Z:

There is an example for POS tagging on the start page, but there is not example on how to use TreeTagger with TT4J for chunking.

mhuelfen commented 6 years ago

Does this me that TT4J can do chunk already and it is just not documented? I would appreciate this very much.

reckart commented 6 years ago

TT4J can run TreeTagger in chunking mode, yes. But it requires building a pipeline of two TT4J's, one running TreeTagger in with a POS model and the second one taking the output of the first and running with a chunking model.

DKPro Core includes a tagger as well as a chunker component for TreeTagger based on TT4J:

https://github.com/dkpro/dkpro-core/tree/master/dkpro-core-treetagger-asl/src/main/java/de/tudarmstadt/ukp/dkpro/core/treetagger