edu.mit.jmwe.data
Interface IMWEDescID
- All Superinterfaces:
- Comparable<IMWEDescID>, IHasForm, IHasMWEPOS
- All Known Implementing Classes:
- MWEDescID
public interface IMWEDescID
- extends IHasForm, IHasMWEPOS, Comparable<IMWEDescID>
A MWE description ID that can be used to retrieve the MWE's lemma, part of
speech, and inflected form.
- Since:
- jMWE 1.0.0
- Version:
- $Id: IMWEDescID.java 572 2011-05-05 19:40:35Z markaf $
- Author:
- M.A. Finlayson
Field Summary |
static Pattern |
formPattern
Captures the format of a well-formed form associated with this ID. |
formPattern
static final Pattern formPattern
- Captures the format of a well-formed form associated with this ID. The
form must have its parts delimited by underscores.
- Since:
- jMWE 1.0.0
getRootID
IMWEDescID getRootID()
- Returns the root ID of this decription ID. The root ID contains the MWE's
lemma and part of speech.
- Returns:
- the root ID of this decription ID
- Since:
- jMWE 1.0.0
getInflectedForm
String getInflectedForm()
- Returns an inflected form of the MWE associated with this ID.
- Returns:
- the inflected form of this MWE.
- Since:
- jMWE 1.0.0
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.