org.annolab.tt4j
Interface TokenAdapter<O>

Type Parameters:
O - the type of object containing the token information.

public interface TokenAdapter<O>

Adapter to extract a token from the list of objects passed to TreeTaggerWrapper.process(java.util.Collection).

Author:
Richard Eckart de Castilho

Method Summary
 java.lang.String getText(O object)
          Extract the token string from the given object.
 

Method Detail

getText

java.lang.String getText(O object)
Extract the token string from the given object.

Parameters:
object - and object containing token information.
Returns:
the token string.


Copyright © 2012. All Rights Reserved.