class PCMBase.EvImpl extends Object implements Ev
Modifier and Type | Field and Description |
---|---|
(package private) se.sics.prologbeans.PBTerm |
evTerm |
Constructor and Description |
---|
EvImpl(se.sics.prologbeans.PBTerm newEvTerm) |
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()
This returns a recursive list of objects where the elements can
be Integer classes or List classes containing Lists or Integers.
|
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()
get underlying Prolog Term
|
boolean |
isHead()
Returns true if the concept is part of the head of the phrase.
|
boolean |
isNegated() |
boolean |
isOvermatch()
returns true if the concept match is an overmatch.
|
String |
toString() |
public int getScore() throws Exception
Ev
public String getConceptId() throws Exception
Ev
getConceptId
in interface Ev
Exception
public String getConceptName() throws Exception
Ev
getConceptName
in interface Ev
Exception
public String getPreferredName() throws Exception
Ev
getPreferredName
in interface Ev
Exception
public List<String> getMatchedWords() throws Exception
Ev
getMatchedWords
in interface Ev
Exception
public List<String> getSemanticTypes() throws Exception
Ev
getSemanticTypes
in interface Ev
Exception
public List<Object> getMatchMap() throws Exception
getMatchMap
in interface Ev
Exception
public List<MatchMap> getMatchMapList() throws Exception
getMatchMapList
in interface Ev
Exception
public boolean isHead() throws Exception
Ev
public boolean isOvermatch() throws Exception
Ev
isOvermatch
in interface Ev
Exception
public List<String> getSources() throws Exception
Ev
getSources
in interface Ev
Exception
public List<Position> getPositionalInfo() throws Exception
Ev
getPositionalInfo
in interface Ev
Exception
public int getPruningStatus() throws Exception
Ev
getPruningStatus
in interface Ev
Exception
public int getNegationStatus() throws Exception
Ev
getNegationStatus
in interface Ev
Exception
public se.sics.prologbeans.PBTerm getTerm()
Copyright © 2016. All rights reserved.