-
Notifications
You must be signed in to change notification settings - Fork 4
RmrsDmrsComparison
The RmrsDmrsComparison tool uses a packed version of the DMRS framework to perform operations and analysis of parses. The tool provides functionality to covert between packed and unpacked representations as well as several analysis tools.
Source code and a ready to run .jar file can be downloaded from the google code repository.
http://code.google.com/p/cstitproject/
Complete implementation details and framework explanations can be also be found under the repository download section in thesis.pdf. A brief explanation of functionality will be given here for convenience.
The tool has 5 different functions triggered by command line tags. A brief reminder of these usages can be found by running the tool with no arguments.
USAGE 1: -compare [options] DMRS1in DMRS2in USAGE 2: -pack [options] DMRSin out USAGE 3: -unpack [options] DMRSin out USAGE 4: -parseSim [options] DMRS1in DMRS2in pairFile USAGE 5: -duplicate [options] DMRS1in
Each of these usages are defined below.
The input format is flexible. The command line input source paths can point to a single file or a directory of related files. These files can be either packed or unpacked in either the the standard or alternative DMRS formats. Files can also optionally be gzipped. A file ending in .gz is assumed to be gzipped.
The XML specifications for the original and alternative versions of the unpacked and packed DMRS representations can be downloaded from the downloads section of the code hosting.
http://cstitproject.googlecode.com/files/xml%20descriptions.zip
The tool accepts several options that can be passed with the command line arguments.
OPTIONS: -o out Output File -gzip Output files using GZip -s Do not use sortinfo in node comparison -sh Output to shell ON -alt Output alternative XML format
-o and its argument 'out' specify the file where results will be output. -gzip forces all output files to be gxzipped. -s ignores the 'sortinfo' fields in the DMRS node structures during comparison. This field cannot be set when packing or unpacking. -sh prints results to the shell as well as to any specified file. -alt changes the DMRS output format to the alternative format. This is only applicable for functions that output XML files.
The packing function
Home | Forum | Discussions | Events