![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.tokenizer.TokenizerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleyparser Show documentation
Show all versions of berkeleyparser Show documentation
The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).
The newest version!
/**
*
*/
package edu.berkeley.nlp.tokenizer;
import java.io.Reader;
import java.util.Iterator;
/** A TokenizerFactory is used to convert a java.io.Reader
* into a Tokenizer (or an Iterator) over the Objects represented by the text
* in the java.io.Reader. It's mainly a convenience, since you could cast
* down anyway.
*
* @author Christopher Manning
*/
public interface TokenizerFactory {
public Iterator getIterator (java.io.Reader r) ;
public Tokenizer getTokenizer (Reader r);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy