edu.mit.jwi.item
Interface ILexFile

All Superinterfaces:
IHasPOS, java.io.Serializable
All Known Implementing Classes:
LexFile, UnknownLexFile

public interface ILexFile
extends IHasPOS, java.io.Serializable

A description of a Wordnet lexical file. This interface does not give access to the actual lexicographer's file, but rather is a description, giving the name of the file, it's assigned number, and a brief description.

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

Method Summary
 java.lang.String getDescription()
          Returns a description of the lexicographer file contents.
 java.lang.String getName()
          Returns the name of the lexicographer file.
 int getNumber()
          Returns the number of the lexicographer file.
 
Methods inherited from interface edu.mit.jwi.item.IHasPOS
getPOS
 

Method Detail

getNumber

int getNumber()
Returns the number of the lexicographer file. This is used in sense keys and the data files. A lexical file number is always in the closed range [0, 99].

Returns:
the lexicograph file number, between 0 and 99, inclusive.
Since:
JWI 2.1.0

getName

java.lang.String getName()
Returns the name of the lexicographer file. The string will not be null, empty, or all whitespace.

Returns:
the lexicographer file name
Since:
JWI 2.1.0

getDescription

java.lang.String getDescription()
Returns a description of the lexicographer file contents. The string will not be null, empty, or all whitespace.

Returns:
a description of the lexicographer file contents
Since:
JWI 2.1.0


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