class SentenceToSequenceStanford extends ANounCombiner
| Modifier and Type | Field and Description |
|---|---|
private static SentenceToSequenceStanford |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
SentenceToSequenceStanford() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
combineNouns(HAWKQuestion q)
This sets compound nouns as Entity in question.
|
(package private) static SentenceToSequenceStanford |
getInstance() |
processTree, setEntityprivate static SentenceToSequenceStanford instance
static SentenceToSequenceStanford getInstance()
protected void combineNouns(HAWKQuestion q)
ANounCombinerNote: This expects expects HAWKquestion already to be dependency parsed, e.g. a MutableTree with annotated Nodes is set. Use#combineNounsOnNew(HAWKQuestion)to get a new processed tree, without affecting HAWKQuestion UseANounCombiner.processTree(HAWKQuestion)to prune all found CombinedNNs in MutbaleTree directly in HAWKQuestion
combineNouns in class ANounCombinerq - HAwkquestion to processCopyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.