ch.uzh.ifi.attempto.base
Interface ConcreteOption

All Known Implementing Classes:
CPConcreteOption, SimpleConcreteOption

public interface ConcreteOption

This class represents an option (in a concrete way) how a partial sentence can be continued. Such a concrete option contains the specific word and may contain its category.

Author:
Tobias Kuhn
See Also:
AbstractOption, NextTokenOptions

Method Summary
 java.lang.String getCategoryName()
          Returns the name of the category of this concrete option, or null if there is no such category.
 java.lang.String getWord()
          Returns the word of this concrete option.
 

Method Detail

getWord

java.lang.String getWord()
Returns the word of this concrete option.

Returns:
The word.

getCategoryName

java.lang.String getCategoryName()
Returns the name of the category of this concrete option, or null if there is no such category.

Returns:
The category name.


Copyright 2008-2012, AceWiki developers