public class EngLemmatiser extends Object implements Lemmatiser
English lemmatiser which is adapted from WordNet
Copyright: Copyright (c) 2005
Company: IST, Drexel University
FIRSTPOS, LASTPOS| Constructor and Description |
|---|
EngLemmatiser() |
EngLemmatiser(boolean indexLookupOption,
boolean disableVerbAdjective) |
EngLemmatiser(String directory,
boolean indexLookupOption,
boolean disableVerbAdjective) |
| Modifier and Type | Method and Description |
|---|---|
String |
lemmatize(String derivation)
Gets the base form of the word.
|
String |
lemmatize(String derivation,
int POS)
Gets the base form of the word
|
static void |
main(String[] args) |
String |
stem(String derivation)
Gets the stem of the word.
|
public EngLemmatiser()
public EngLemmatiser(boolean indexLookupOption,
boolean disableVerbAdjective)
public EngLemmatiser(String directory, boolean indexLookupOption, boolean disableVerbAdjective)
public static void main(String[] args)
public String lemmatize(String derivation, int POS)
Lemmatiserlemmatize in interface Lemmatiserderivation - the word for lemmatisingPOS - the part of speech of the wordpublic String lemmatize(String derivation)
Lemmatiserlemmatize in interface Lemmatiserderivation - the word for lemmatisingpublic String stem(String derivation)
Lemmatiserstem in interface Lemmatiserderivation - the word for processingCopyright © 2018 JULIE Lab, Germany. All rights reserved.