Class TreeTagger::TaggerChunker
In: lib/mirimiri/ttagger.rb
Parent: Object

This class handles generic parsing of tagger-chunker outputs.


new   parse  


chunks  [R] 
file  [R] 

Public Class methods

Initializes parsing. chunk_file is the output of tagger-chunker- and must be a valid path to the file."ttout/2010020") #=> #<RIR::TreeTagger::TaggerChunker:0x92fd088 @chunks=[#<RIR::TreeTagger::Chunk:0x8ec5a10 @words=["robert", "schumann"], @tag="NC">, ...] ...>

Parses a tagger-chunker output and returns an Array of Chunk.