public interface Ev extends MetaMapElement
for (Utterance utterance: result.getUtteranceList()) { for (PCM pcm: utterance.getPCMList()) { for (Mapping map: pcm.getMappingList()) { for (Ev mapEv: map.getEvList()) { System.out.println(" Score: " + mapEv.getScore()); System.out.println(" Concept Id: " + mapEv.getConceptId()); System.out.println(" Concept Name: " + mapEv.getConceptName()); System.out.println(" Preferred Name: " + mapEv.getPreferredName()); System.out.println(" Matched Words: " + mapEv.getMatchedWords()); System.out.println(" Semantic Types: " + mapEv.getSemanticTypes()); System.out.println(" MatchMap: " + mapEv.getMatchMap()); System.out.println(" is Head?: " + mapEv.isHead()); System.out.println(" is Overmatch?: " + mapEv.isOvermatch()); System.out.println(" Sources: " + mapEv.getSources()); System.out.println(" Positional Info: " + mapEv.getPositionalInfo()); System.out.println(" Pruning Status: " + mapEv.getPruningStatus()); } } } }
Created: Wed Apr 29 16:01:18 2009
Modifier and Type | Method and Description |
---|---|
String |
getConceptId()
Returns the UMLS Metathesaurus CUI of the UMLS string identifed.
|
String |
getConceptName()
Returns the Metathesaurus string matched by MetaMap.
|
List<String> |
getMatchedWords()
Returns lowercased list of the words in the input text licensing the concept.
|
List<Object> |
getMatchMap()
MatchMap is a list representing (1) the correspondence of words
in the candidate concept and words in the original phrase, and
(2) any lexical variation in the matching.
|
List<MatchMap> |
getMatchMapList()
This returns a list of MatchMap objects
|
int |
getNegationStatus()
Get negation status of ev term.
|
List<Position> |
getPositionalInfo()
Returns a list of position instances representing terms of the
form StartPos/Length , identifying the starting character position
within the input text and and character length of each word in the
string.
|
String |
getPreferredName()
Returns the preferred name of the concept, (which may be the same
as the Metathe- saurus string).
|
int |
getPruningStatus()
Get pruning status of ev term.
|
int |
getScore()
The score is an integer equal to -1 times the concept's MetaMap score.
|
List<String> |
getSemanticTypes()
Returns a list of the short forms of the Semantic Types of the concept.
|
List<String> |
getSources()
Returns a list of the short forms (RSAB) of the UMLS source
vocabularies in which the concept appears.
|
se.sics.prologbeans.PBTerm |
getTerm()
Return ev instance as a PrologBeans term to allow greater processing.
|
boolean |
isHead()
Returns true if the concept is part of the head of the phrase.
|
boolean |
isOvermatch()
returns true if the concept match is an overmatch.
|
int getScore() throws Exception
Exception
String getConceptId() throws Exception
Exception
String getConceptName() throws Exception
Exception
String getPreferredName() throws Exception
Exception
List<String> getMatchedWords() throws Exception
Exception
List<String> getSemanticTypes() throws Exception
Exception
List<Object> getMatchMap() throws Exception
Exception
List<MatchMap> getMatchMapList() throws Exception
Exception
boolean isHead() throws Exception
Exception
boolean isOvermatch() throws Exception
Exception
List<String> getSources() throws Exception
Exception
List<Position> getPositionalInfo() throws Exception
Exception
se.sics.prologbeans.PBTerm getTerm() throws Exception
Exception
int getPruningStatus() throws Exception
Exception
Copyright © 2016. All rights reserved.