Document Contents
Running MMTx:
On the Unix Platform:
You have two options for running the MMTx program:- Source the ${MMTX_PATH}/mmtx/config/cshrc file and then run:
java programs.MMTx --fileName=inputfile - You can also simply run the 'mmtx' program located in the ${MMTX_PATH}/mmtx/bin directory. This automatically sources the config/cshrc file and takes the same arguments as the above example.
${MMTX_PATH}/mmtx/bin/mmtx --fileName=inputfile - You can also simply run the 'mmtx' program located in the ${MMTX_PATH}/mmtx/bin directory. This automatically sources the config/cshrc file and takes the same arguments as the above example.
On Windows®:
You have two options for running the MMTx program:
- You can run the batch script %MMTX_PATH%\mmtx\bin\mmtx.bat
with arguments from a DOS command window,
or from the Start Menu's run command:
%MMTX_PATH%\mmtx\bin\mmtx.bat --fileName=inputfile
- You can add or add to the following variables and paths into your
environment by navigating the Start Menus and options.
MMTX_PATH: ___________ CLASSPATH: %MMTX_PATH%\mmtx\classes; %MMTX_PATH%\mmtx\jdbcDrivers PATH: %MMTX_PATH%\mmtx\bin - using NT2000:
Settings->Control Panel->System->Advanced->Environment Variables->System Variables
- using NT:
Settings->Control Panel->System->Environment->System VariablesYou can then run the program from a DOS commandline window or from the Start Menu's
run command:
java programs.MMTx --fileName=inputFileHelpful Link
MMTx Usage - using NT2000:
Examples:
| MMTx with no options on a simple term from standard input |
# java programs.MMTx
About to set the outputfile to standard output
MMTX (2001)
Control options:
best_mappings_only
plain_syntax
stop_large_n
mappings
semantic_types
candidates
strict_model
Using Database: DB_01_strict
Obstructive Sleep Apnea
^D <-- This Control-d tells the program to run with text provided
Processing 00000000.tx.0: Obstructive Sleep Apnea
Phrase: "Obstructive Sleep Apnea"
Meta Candidates (7)
1000 Sleep Apnea, Obstructive [Disease or Syndrome]
901 Apnea, Sleep (Sleep Apnea Syndromes) [Disease or Syndrome]
827 Apnea [Pathologic Function,Sign or Symptom]
827 Obstructive (Obstructed) [Functional Concept]
827 Sleep [Mental Process]
755 Sleeplessness [Disease or Syndrome,Sign or Symptom]
755 Sleepy [Finding]
Meta Mapping (1000)
1000 Sleep Apnea, Obstructive [Disease or Syndrome]
|
| MMTx on a small MEDLINE Abstract to a named output file. |
# java programs.MMTx --fileName=smallMedlineCitation.txt \
--outputFileName=smallMedlineCitation.mmtx
About to set the outputfile to smallMedlineCitation.mmtx
The MMTx program will populate the
smallMedlineCitation.mmtx
file with the processed contents.
|


