lib/anystyle/parser/parser.rb
# Expands the passed-in token string by appending a space separated list
# of all features for the token.
Expands the passed-in token string by appending a space separated list
of all features for the token.
Expands the passed - in token string by appending a space separated list of all features for the token .
def expand(token, sequence = [], offset = 0, label = nil)
        f = features_for(token, strip(token), sequence, offset)
        f.unshift(token)
        f.push(label) unless label.nil?
        f.join(' ')
      end
def expand ( token , sequence = [ ] , offset = 0 , label = nil ) f = features_for ( token , strip ( token ) , sequence , offset ) f . unshift ( token ) f . push ( label ) unless label . nil? f . join ( ' ' ) end
Expands the passed-in token string by appending a space separated list
of all features for the token.
Expands the passed - in token string by appending a space separated list of all features for the token .
token
<not_specific>
sequence
<not_specific>
offset
<not_specific>
label
<not_specific>