
it.unitn.disi.nlptools.data.MultiWord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of s-match Show documentation
Show all versions of s-match Show documentation
A version of S-Match semantic matching framework for Open Data
The newest version!
package it.unitn.disi.nlptools.data;
import java.util.Collections;
import java.util.List;
/**
* Container for multiwords.
*
* @author Aliaksandr Autayeu
*/
public class MultiWord extends Token implements IMultiWord {
private List tokenIndexes = Collections.emptyList();
private List tokens = Collections.emptyList();
public MultiWord(String text) {
super(text);
}
public List getTokenIndexes() {
return tokenIndexes;
}
public void setTokenIndexes(List tokenIndexes) {
this.tokenIndexes = tokenIndexes;
}
public List getTokens() {
return tokens;
}
public void setTokens(List tokens) {
this.tokens = tokens;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy