
fr.univnantes.julestar.tokensner.IsInPersonTitlesLexicon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of uima-tokens-ner Show documentation
Show all versions of uima-tokens-ner Show documentation
Uploads all artifacts belonging to configuration ':archives'
The newest version!
package fr.univnantes.julestar.tokensner;
import fr.univnantes.julestar.uima.resources.MapResource;
import fr.univnantes.lina.uima.tkregex.matchers.CoveredTextMatcher;
public class IsInPersonTitlesLexicon extends CoveredTextMatcher {
private MapResource titles;
public IsInPersonTitlesLexicon(MapResource titles) {
super();
this.titles = titles;
}
@Override
protected boolean match(String text) {
return titles.getValueUnchecked(text) != null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy