opennlp.grok.preprocess.mwe
Class FixedMWEModelReader
java.lang.Object
|
+--opennlp.grok.preprocess.mwe.FixedMWEModelReader
- public class FixedMWEModelReader
- extends java.lang.Object
A reads a model holding the Fixed Lexicon Multi-Word Expressions.
The model should consist of line containing the MWE which should be expressions
which do not change in any way in English (e.g. "ad hoc").
Anything after a '#' character is a comment. Lines are trimmed of whitespace
at their beginning and end.
- Version:
- $Revision: 1.1 $, $Date: 2002/03/12 12:51:20 $
- Author:
- Mike Atkinson
Constructor Summary |
FixedMWEModelReader(java.io.Reader reader)
Constructor for the MWEModelReader object |
Method Summary |
MWEModel |
getModel()
Gets the Model which the MWEModelReader has read from store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIXED_LEXICAL
public static final int FIXED_LEXICAL
- See Also:
- Constant Field Values
VARIABLE_LEXICAL
public static final int VARIABLE_LEXICAL
- See Also:
- Constant Field Values
FixedMWEModelReader
public FixedMWEModelReader(java.io.Reader reader)
- Constructor for the MWEModelReader object
- Parameters:
reader
- Source of the model data.
getModel
public MWEModel getModel()
- Gets the Model which the MWEModelReader has read from store.
- Returns:
- The Model value
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.