public class LinkingMorphemes extends Object
Constructor and Description |
---|
LinkingMorphemes(BufferedReader aReader)
Create a linking morphemes object from a reader object.
|
LinkingMorphemes(File aMorphemesTextFile)
Create a linking morphemes object from a file.
|
LinkingMorphemes(InputStream aStream)
Create a linking morphemes object from a input stream
Each line in the file must contain one morpheme.
|
LinkingMorphemes(List<String> aMorphemes)
Create a linking morphemes object from a list of morphemes
|
LinkingMorphemes(String... aMorphemes)
Create a linking morphemes object from a array of morphemes
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAll()
Returns all morphemes.
|
int |
startsWith(String aWord)
Checks if the given word starts with a morpheme
|
public LinkingMorphemes(String... aMorphemes)
aMorphemes
- the morphemes.public LinkingMorphemes(List<String> aMorphemes)
aMorphemes
- the morphemes.public LinkingMorphemes(InputStream aStream) throws IOException
aStream
- the source stream.IOException
- if the data could not be read.public LinkingMorphemes(File aMorphemesTextFile) throws IOException
aMorphemesTextFile
- the source file.IOException
- if the data could not be read.public LinkingMorphemes(BufferedReader aReader) throws IOException
aReader
- the source reader.IOException
- if the data could not be read.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.