public class NounPhraseExtractor extends AbstractStage
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
processOnlyNull
Constructor and Description |
---|
NounPhraseExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
String |
getPeopleField() |
String |
getPersonModelFile() |
String |
getPosTextField() |
String |
getSentenceModelFile() |
String |
getTextField() |
String |
getTokenModelFile() |
List<Document> |
processDocument(Document doc) |
void |
setPeopleField(String peopleField) |
void |
setPersonModelFile(String personModelFile) |
void |
setPostTextField(String posTextField) |
void |
setSentenceModelFile(String sentenceModelFile) |
void |
setTextField(String textField) |
void |
setTokenModelFile(String tokenModelFile) |
void |
startStage(StageConfiguration config) |
void |
stopStage() |
public void startStage(StageConfiguration config)
startStage
in class AbstractStage
public List<Document> processDocument(Document doc)
processDocument
in class AbstractStage
public void stopStage()
stopStage
in class AbstractStage
public void flush()
flush
in class AbstractStage
public String getPersonModelFile()
public void setPersonModelFile(String personModelFile)
public String getSentenceModelFile()
public void setSentenceModelFile(String sentenceModelFile)
public String getTokenModelFile()
public void setTokenModelFile(String tokenModelFile)
public String getTextField()
public void setTextField(String textField)
public String getPeopleField()
public void setPeopleField(String peopleField)
public String getPosTextField()
public void setPostTextField(String posTextField)
Copyright © 2020 myrobotlab. All rights reserved.