MontyLingua-Doc /

Filename Size Date modified Message
128 B
201 B
1.6 KB
3.7 KB
34.3 KB
422 B
226.9 KB
58 B
2.4 MB
1.5 MB
1018.6 KB
1018.6 KB
1018.6 KB
1018.6 KB
32 B
3.0 KB
65.0 KB
3.1 KB
4.2 MB
1.1 KB
1.6 MB
6.3 KB
5.9 KB
17.1 KB
65.6 KB
4.0 KB
1.2 KB
9.3 KB
8.4 KB
363 B
17.5 KB
12.5 KB
39 B
6.3 KB
7.4 KB
1.0 KB
2.5 KB
0 B
21 B

  About MontyLingua:
  - MontyTokenizer
    - normalizes punctuation, spacing and
      contractions, with sensitivity to abbrevs.
  - MontyTagger
    - Part-of-speech tagging using PENN TREEBANK tagset
    - enriched with "Common Sense" from the Open Mind
      Common Sense project
    - exceeds accuracy of Brill94 tbl tagger
      using default training files
  - MontyREChunker
    - chunks tagged text into verb, noun, and adjective
      chunks (VX,NX, and AX respectively)
    - incredible speed and accuracy improvement over
      previous MontyChunker
  - MontyExtractor
    - extracts verb-argument structures, phrases, and
      other semantically valuable information
      from sentences and returns sentences as "digests"
  - MontyLemmatiser
    - part-of-speech sensitive lemmatisation
    - strips plurals (geese-->goose) and
      tense (were-->be, had-->have)
    - includes regexps from Humphreys and Carroll's
      morph.lex, and UPENN's XTAG corpus
  - MontyNLGenerator
    - generates summaries
    - generates surface form sentences
    - determines and numbers NPs and tenses verbs
    - accounts for sentence_type

 - the "datafiles" include all files ending in *.MDF
 - the best solution is to create an environment variable called
   "MONTYLINGUA" and put the path to the datafiles there
 - alternatively, MontyLingua can find the datafiles if they are 
   in the operating system "PATH" variable, or in the current
   working directory
    The MontyLingua Python API is MontyLingua.html
    The MontyLingua Java API is JMontyLingua.html

    MontyLingua can be called from Python, Java,
    or run at the command line.
    A. From Python, import the file
    B. From your Java code:
      1. make sure "montylingua.jar" is
        in your class path, in addition to
        associated subdirectories and data files
      2. in your code, you need something like:

      import montylingua.JMontyLingua; // loads namespace
      public class YourClassHere {
        public static JMontyLingua j = new JMontyLingua();
        public yourFunction(String raw, String toked) {
           jisted = j.jist_predicates(raw); // an example function

      3. For a good use case example, see
    C. From the command line:
      1. if you have python installed and in your path:
         type "run.bat"
      2. if you have java installed and in your path:
         type "runJavaCommandline.bat"