edu.mit.jwi.item
Class UnknownLexFile
java.lang.Object
edu.mit.jwi.item.LexFile
edu.mit.jwi.item.UnknownLexFile
- All Implemented Interfaces:
- IHasPOS, ILexFile
public class UnknownLexFile
- extends LexFile
Represents 'unknown' lexical files. This class implements internal caching,
much like the Integer class. Clients should use the static
getUnknownLexicalFile(int) method to retrieve instances of this
class.
- Since:
- JWI 2.1.4
- Version:
- 2.2.2
- Author:
- Mark A. Finlayson
| Fields inherited from class edu.mit.jwi.item.LexFile |
ADJ_ALL, ADJ_PERT, ADJ_PPL, ADV_ALL, NOUN_ACT, NOUN_ANIMAL, NOUN_ARTIFACT, NOUN_ATTRIBUTE, NOUN_BODY, NOUN_COGNITION, NOUN_COMMUNICATION, NOUN_EVENT, NOUN_FEELING, NOUN_FOOD, NOUN_GROUP, NOUN_LOCATION, NOUN_MOTIVE, NOUN_OBJECT, NOUN_PERSON, NOUN_PHENOMENON, NOUN_PLANT, NOUN_POSSESSION, NOUN_PROCESS, NOUN_QUANTITY, NOUN_RELATION, NOUN_SHAPE, NOUN_STATE, NOUN_SUBSTANCE, NOUN_TIME, NOUN_TOPS, VERB_BODY, VERB_CHANGE, VERB_COGNITION, VERB_COMMUNICATION, VERB_COMPETITION, VERB_CONSUMPTION, VERB_CONTACT, VERB_CREATION, VERB_EMOTION, VERB_MOTION, VERB_PERCEPTION, VERB_POSESSION, VERB_SOCIAL, VERB_STATIVE, VERB_WEATHER |
| Methods inherited from class edu.mit.jwi.item.LexFile |
checkLexicalFileNumber, checkString, equals, getDescription, getLexicalFile, getLexicalFileNumberString, getName, getNumber, getPOS, hashCode, isIllegalLexicalFileNumber, toString, values |
UnknownLexFile
protected UnknownLexFile(int num)
- Obtain instances of this class via the static
getUnknownLexicalFile(int) method. This constructor is marked
protected so that the class may be sub-classed, but not directly
instantiated.
- Parameters:
num - the number of the lexcial file- Since:
- JWI 2.1.4
getUnknownLexicalFile
public static UnknownLexFile getUnknownLexicalFile(int num)
- Allows retrieval of an unknown lexical file object given the number.
- Returns:
- UnknownLexFile the unknown lexical file object corresponding to
the specified number
- Throws:
IllegalArgumentException - if the specified integer is not a valid lexical file number- Since:
- JWI 2.1.4
Copyright © 2011. All Rights Reserved.