Class StanfordParser::StandoffToken
In: lib/stanfordparser.rb
Parent: Struct.new(:current, :word, :before, :after, :begin_position, :end_position)

A text token that contains raw and normalized token identity (.e.g "(" and "-LRB-"), an offset span, and the characters immediately preceding and following the token. Given a list of these objects it is possible to recreate the text from which they came verbatim.

Methods

to_s  

Public Instance methods

[Source]

# File lib/stanfordparser.rb, line 263
    def to_s
      "#{current} [#{begin_position},#{end_position}]"
    end

[Validate]