org.daisy.pipeline.nlp.impl.IStringFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nlp-common Show documentation
Show all versions of nlp-common Show documentation
Common API for NLP functionality and XProc steps
The newest version!
package org.daisy.pipeline.nlp.impl;
import java.util.Collection;
/**
* Find a string in a provided collection. The implementations define the
* matching strategy (full, prefix, suffix...)
*/
public interface IStringFinder {
void compile(Collection matchable);
/**
* @param input the string to find
* @return null if not found, the matched substring of @param input
* otherwise
*/
String find(String input);
boolean threadsafe();
}