class ResultImpl.UtteranceImpl extends Object implements Utterance
Modifier and Type | Field and Description |
---|---|
(package private) int |
mmoListPosition |
private ResultImpl |
result |
(package private) se.sics.prologbeans.PBTerm |
utteranceTerm |
Constructor and Description |
---|
UtteranceImpl(se.sics.prologbeans.PBTerm newUtteranceTerm,
int listPosition,
ResultImpl theResult) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get id of utterance.
|
int |
getMMOPosition() |
List<PCM> |
getPCMList()
Return a list of
PCM (Phrase/Candidate/Mapping)
objects associated with the utterance. |
Position |
getPosition()
Get character position of utterance input text.
|
String |
getString()
Get content of utterance.
|
String |
toString() |
se.sics.prologbeans.PBTerm utteranceTerm
int mmoListPosition
private ResultImpl result
public UtteranceImpl(se.sics.prologbeans.PBTerm newUtteranceTerm, int listPosition, ResultImpl theResult) throws Exception
newUtteranceTerm
- PrologBeans term representation of utterance term.listPosition
- position of term in machine output term list.theResult
- the MetaMap result.Exception
public String getId() throws Exception
Utterance
public String getString() throws Exception
Utterance
public Position getPosition() throws Exception
Utterance
getPosition
in interface Utterance
Exception
public List<PCM> getPCMList() throws Exception
PCM
(Phrase/Candidate/Mapping)
objects associated with the utterance.getPCMList
in interface Utterance
PCM
(Phrase/Candidate/Mapping) objects.Exception
Copyright © 2016. All rights reserved.