Package | Description |
---|---|
edu.ucla.sspace.dependency | |
edu.ucla.sspace.text |
Constructor and Description |
---|
CoNLLDependencyExtractor(String configFile,
TokenFilter filter,
Stemmer stemmer)
Creates a new
CoNLLDependencyExtractor by parsing a Malt
configuration file, which specifies the order in which the output is
formatted and uses the given TokenFilter and Stemmer . |
CoNLLDependencyExtractor(TokenFilter filter,
Stemmer stemmer)
Creates a new
CoNLLDependencyExtractor that assumes the default
ordering for Malt dependency parses and uses the given TokenFilter and Stemmer . |
CoNLLDependencyExtractor(TokenFilter filter,
Stemmer stemmer,
int idIndex,
int formIndex,
int lemmaIndex,
int posIndex,
int parentIndex,
int relationIndex)
Creates a new
CoNLLDependencyExtractor that assumes the default
ordering for Malt dependency parses and uses the given TokenFilter and Stemmer and the given indices for each feature. |
WaCKyDependencyExtractor(TokenFilter filter,
Stemmer stemmer)
Creates a new
WaCKyDependencyExtractor that assumes the default
ordering for Malt dependency parses and uses the given TokenFilter and Stemmer . |
Modifier and Type | Class and Description |
---|---|
class |
EnglishStemmer
A wrapper for the english Snowball
Stemmer.
|
class |
GermanStemmer
A wrapper for the german Snowball
Stemmer.
|
class |
ItalianStemmer
A wrapper for the italian Snowball
Stemmer.
|
class |
PorterStemmer
This is an implementation of the Porter stemmer in Java.
|
class |
SnowballPorterStemmer
A wrapper for the porter Snowball
Stemmer.
|
Constructor and Description |
---|
StemmingIterator(BufferedReader br,
Stemmer stemmer)
Constructs an iterator to stem all the tokens in the reader.
|
StemmingIterator(Iterator<String> tokens,
Stemmer stemmer)
Constructors an iterator that stems all of the provided tokens
|
StemmingIterator(String str,
Stemmer stemmer)
Constructs an iterator to stem all the tokens in the string.
|
Copyright © 2012. All Rights Reserved.