edu.mit.jwi.item
Interface IExceptionEntryProxy

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IExceptionEntry
All Known Implementing Classes:
ExceptionEntry, ExceptionEntryProxy

public interface IExceptionEntryProxy
extends java.io.Serializable

The data that can be obtained from a line in an exception entry file. Because each exception entry does not specify its associated part of speech, this object is just a proxy and must be supplemented by the part of speech at some point to make a full IExceptionEntry object.

Since:
JWI 1.0
Version:
2.4.0
Author:
Mark A. Finlayson

Method Summary
 java.util.List<java.lang.String> getRootForms()
          Returns an unmodifiable list of cceptable root forms for the surface form.
 java.lang.String getSurfaceForm()
          Returns the surface form (i.e., not the root form) of the word for this exception entry.
 

Method Detail

getSurfaceForm

java.lang.String getSurfaceForm()
Returns the surface form (i.e., not the root form) of the word for this exception entry. Because all surface forms in the exception files are lower case, the string returned by this call is also lower case.

Returns:
the lowercase surface form of the exception entry
Since:
JWI 1.0

getRootForms

java.util.List<java.lang.String> getRootForms()
Returns an unmodifiable list of cceptable root forms for the surface form.

Returns:
A non-null, non-empty, unmodifiable list of root forms
Since:
JWI 2.0.0


Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.