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

This class handles generic parsing of tagger-chunker outputs.

Methods

new   parse  

Attributes

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.

  TaggerChunker.new("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.

[Validate]