MetaMap 2008 ReadMe for Linux |
Home | NLM » LHNCBC » MetaMap » MetaMap 2008 Readme for Linux |
|
Running MetaMap: To run the MetaMap program from the Linux command line, you have two options: 1. Put the directory containing the MetaMap program in the PATH environment variable and then you can run MetaMap from any directory.
# in C Shell (csh or tcsh)
2. You can simply run the MetaMap command by specifying the full
path to the command.setenv PATH <parent dir>/public_mm/bin:$PATH # in Bourne Again Shell (bash) export PATH=<parent dir>/public_mm/bin:$PATH # Bourne Shell (sh) PATH=<parent dir>/public_mm/bin:$PATH export PATH
<parent dir>/public_mm/bin/metamap08
Whichever option you decide on, the command line statement to run
MetaMap is:
% metamap08 [Options] [InputFile] [OutputFile]
For more information on MetaMap usage, please refer to
MetaMap 2008 Usage
(HTML), or use the MetaMap help command:
% metamap08 --help
Examples: Note: The pathnames in the examples below are those from the NLM site; your pathnames will differ. More examples are available in MetaMap Options and Examples (PDF - 50 kb)
|
Last Modified: September 19, 2008 | ii-public | |||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
![]() |
Lister Hill National Center for Biomedical Communications |
![]() |
U.S. National Library of Medicine |
![]() |
National Institutes of Health | |||||||||||||||||||||||
![]() |
Department of Health and Human Services | |||||||||||||||||||||||||||
|