class StanfordCombinedNN extends ANounCombiner
| Modifier and Type | Field and Description |
|---|---|
private static StanfordCombinedNN |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
StanfordCombinedNN() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
combineNouns(HAWKQuestion q)
This sets compound nouns as Entity in question.
|
private void |
convert(MutableTreeNode parentNode,
HAWKQuestion q) |
(package private) static StanfordCombinedNN |
getInstance() |
processTree, setEntityprivate static StanfordCombinedNN instance
static StanfordCombinedNN 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 processprivate void convert(MutableTreeNode parentNode, HAWKQuestion q)
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.