
gate.creole.morph.StringSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tools Show documentation
Show all versions of tools Show documentation
A selection of processing resources commonly used to extend ANNIE
The newest version!
package gate.creole.morph;
import java.util.ArrayList;
import java.util.List;
/**
* Title: StringSet
* Description: This is one of the variable types that is allowed to define.
* It stores different possible strings for this variable
* The format of the value of this variable should be
* "string1" OR "string2" OR "string3" ...
*/
public class StringSet extends Variable {
private String varName;
private List variables;
/**
* Constructor
*/
public StringSet() {
variables = new ArrayList();
}
/**
* Tells if any value available which can be retrieved
* @return true if value available, false otherwise
*/
@Override
public boolean hasNext() {
if(pointer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy