gov.sandia.cognition.text.term
Interface TermFactory


public interface TermFactory

A factory for Term objects.

Since:
3.0
Author:
Justin Basilico

Method Summary
 Term createTerm(String term)
          Creates a new term from the given string.
 Term createTerm(Token token)
          Creates a new term from the given token.
 

Method Detail

createTerm

Term createTerm(Token token)
Creates a new term from the given token.

Parameters:
token - The token from which to create the term.
Returns:
The new term.

createTerm

Term createTerm(String term)
Creates a new term from the given string.

Parameters:
term - The string from which to create the term.
Returns:
The new term.