tt4j icon indicating copy to clipboard operation
tt4j copied to clipboard

Create a chunking example

Open reckart opened this issue 10 years ago • 2 comments

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.

reckart avatar Mar 14 '15 19:03 reckart

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

mhuelfen avatar Oct 04 '17 08:10 mhuelfen

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

reckart avatar Oct 04 '17 08:10 reckart