public class Example extends Object
Modifier and Type | Field and Description |
---|---|
(package private) MetaMapApi |
api
MetaMap api instance
|
Constructor and Description |
---|
Example()
Creates a new
Example instance. |
Modifier and Type | Method and Description |
---|---|
static String |
join(List<String> stringList,
String joinString) |
static void |
main(String[] args) |
(package private) String |
pprintBracketedList(List<String> stringList,
String joinString) |
void |
process(String infilename,
String outfilename)
Column 1: File name
Column 2: Phrase the CUI came from.
|
MetaMapApi api
public void process(String infilename, String outfilename) throws IOException, Exception
Column 1: File name Column 2: Phrase the CUI came from. Column 3: The first number is the character index in the line which the phrase starts. The second number is the length of the phrase. There is not a line number which the phrase came from. Column 4: Confidence Score Column 5: CUI ID Column 6: Positive/Negated Column 7: CUI Name Column 8: Semantic types Column 10: CUI preferred name Column 11: Words matched to the CUI. For example if the CUI C0205164(Major) was found in the phrase "major resection" the matched word would be "major". Column 12: Sources the CUI came from (MESH, ...)
infilename
- input filenameoutfilename
- output filenameException
- throws general exceptionIOException
- throws input/output exceptionpublic static void main(String[] args) throws IOException, Exception
args
- - Arguments passed from the command lineException
- throws general exceptionIOException
- throws input/output exceptionCopyright © 2016. All rights reserved.