Uses of Class
net.didion.jwnl.data.POS
-
Packages that use POS Package Description net.didion.jwnl.data Classes for extracting and containing data from the dictionary.net.didion.jwnl.dictionary Classes for acessing dictionary information.net.didion.jwnl.dictionary.database Classes for accessing databases that contain dictionary information.net.didion.jwnl.dictionary.file Classes for accessing files that contain dictionary information.net.didion.jwnl.dictionary.file_manager Classes used byFileBackedDictionary
to interface with the filesystem.net.didion.jwnl.dictionary.morph net.didion.jwnl.princeton.data Implementations ofDictionaryElementFactory
for Princeton's release of WordNet.net.didion.jwnl.princeton.file Implementations ofDictionaryFile
used by the various classes ofDictionary
to access dictionary files using the naming convention used in Princeton's release of WordNet.net.didion.jwnl.utilities -
-
Uses of POS in net.didion.jwnl.data
Fields in net.didion.jwnl.data declared as POS Modifier and Type Field Description private POS
Exc. _pos
The part of speech.private POS
IndexWord. _pos
This word's part-of-speech(package private) POS
Pointer.TargetIndex. _pos
protected POS
Synset. _pos
static POS
POS. ADJECTIVE
static POS
POS. ADVERB
static POS
POS. NOUN
static POS
POS. VERB
Methods in net.didion.jwnl.data that return POS Modifier and Type Method Description POS
Exc. getPOS()
Gets the part of speech.POS
IndexWord. getPOS()
Get the word's part-of-speech.abstract POS
PointerTarget. getPOS()
Return this target's POSPOS
Synset. getPOS()
POS
Word. getPOS()
Gets the part of speech of this word.static POS
POS. getPOSForKey(java.lang.String key)
Return thePOS
whose key matches key, or null if the key does not match any POS.static POS
POS. getPOSForLabel(java.lang.String label)
Return thePOS
whose key matches label, or null if the label does not match any POS.POS
Pointer. getTargetPOS()
Methods in net.didion.jwnl.data with parameters of type POS Modifier and Type Method Description boolean
PointerType. appliesTo(POS pos)
Whether or not this PointerType can be associated withpos
Exc
DatabaseDictionaryElementFactory. createExc(POS pos, java.lang.String derivation, java.sql.ResultSet rs)
Create an Exc from a row in the database.Exc
FileDictionaryElementFactory. createExc(POS pos, java.lang.String line)
Create an Exc from a line in an exception file.IndexWord
DatabaseDictionaryElementFactory. createIndexWord(POS pos, java.lang.String lemma, java.sql.ResultSet rs)
Create an IndexWord from a row in the database.IndexWord
FileDictionaryElementFactory. createIndexWord(POS pos, java.lang.String line)
Creates an IndexWord from a line in an index file.Synset
DatabaseDictionaryElementFactory. createSynset(POS pos, long offset, java.sql.ResultSet synset, java.sql.ResultSet words, java.sql.ResultSet pointers, java.sql.ResultSet verbFrames)
Create a Synset from a row in the database.Synset
FileDictionaryElementFactory. createSynset(POS pos, java.lang.String line)
Creates a synset from a line in a data file.static java.util.List
PointerType. getAllPointerTypesForPOS(POS pos)
IndexWord
IndexWordSet. getIndexWord(POS p)
Get the IndexWord associated withp
.private static int
PointerType. getPOSMask(POS pos)
int
IndexWordSet. getSenseCount(POS pos)
Find out how many senses the word with part-of-speechpos
has.boolean
IndexWordSet. isValidPOS(POS pos)
Return true if there is a word with part-of-speechpos
in this set.void
IndexWordSet. remove(POS p)
Remove the IndexWord associated withp
from this set.Constructors in net.didion.jwnl.data with parameters of type POS Constructor Description Exc(POS pos, java.lang.String lemma, java.util.List exceptions)
Creates a new exception entry.IndexWord(java.lang.String lemma, POS pos, long[] synsetOffsets)
Pointer(PointerTarget source, int index, PointerType pointerType, POS targetPOS, long targetOffset, int targetIndex)
Synset(POS pos, long offset, Word[] words, Pointer[] pointers, java.lang.String gloss, java.util.BitSet verbFrames)
Synset(POS pos, long offset, Word[] words, Pointer[] pointers, java.lang.String gloss, java.util.BitSet verbFrames, boolean isAdjectiveCluster)
SynsetProxy(POS pos)
The only value that matters is pos, since the call to getPOS is not forwarded to _sourceTargetIndex(POS pos, long offset, int index)
-
Uses of POS in net.didion.jwnl.dictionary
Fields in net.didion.jwnl.dictionary declared as POS Modifier and Type Field Description private POS
DatabaseBackedDictionary.DatabaseElementIterator. _pos
protected POS
FileBackedDictionary.FileLookaheadIterator. _pos
private POS
MapBackedDictionary.MapTableKey. _pos
private POS
POSKey. _pos
Methods in net.didion.jwnl.dictionary that return POS Modifier and Type Method Description protected POS
DatabaseBackedDictionary.DatabaseElementIterator. getPOS()
POS
POSKey. getPOS()
Methods in net.didion.jwnl.dictionary with parameters of type POS Modifier and Type Method Description Exc
DatabaseBackedDictionary. getException(POS pos, java.lang.String derivation)
abstract Exc
Dictionary. getException(POS pos, java.lang.String derivation)
Lookupderivation
in the exceptions file of part-of-speechpos
and return an Exc object containing the results.Exc
FileBackedDictionary. getException(POS pos, java.lang.String derivation)
Exc
MapBackedDictionary. getException(POS pos, java.lang.String derivation)
java.util.Iterator
DatabaseBackedDictionary. getExceptionIterator(POS pos)
abstract java.util.Iterator
Dictionary. getExceptionIterator(POS pos)
Return an Iterator over all the Exceptions in the database.java.util.Iterator
FileBackedDictionary. getExceptionIterator(POS pos)
java.util.Iterator
MapBackedDictionary. getExceptionIterator(POS pos)
IndexWord
DatabaseBackedDictionary. getIndexWord(POS pos, java.lang.String lemma)
abstract IndexWord
Dictionary. getIndexWord(POS pos, java.lang.String lemma)
Look up a word in the database.IndexWord
FileBackedDictionary. getIndexWord(POS pos, java.lang.String lemma)
IndexWord
MapBackedDictionary. getIndexWord(POS pos, java.lang.String lemma)
java.util.Iterator
DatabaseBackedDictionary. getIndexWordIterator(POS pos)
java.util.Iterator
DatabaseBackedDictionary. getIndexWordIterator(POS pos, java.lang.String substring)
abstract java.util.Iterator
Dictionary. getIndexWordIterator(POS pos)
Return an Iterator over all the IndexWords of part-of-speech pos in the database.abstract java.util.Iterator
Dictionary. getIndexWordIterator(POS pos, java.lang.String substring)
Return an Iterator over all the IndexWords of part-of-speech pos whose lemmas contain substring as a substring.java.util.Iterator
FileBackedDictionary. getIndexWordIterator(POS pos)
java.util.Iterator
FileBackedDictionary. getIndexWordIterator(POS pos, java.lang.String substring)
java.util.Iterator
MapBackedDictionary. getIndexWordIterator(POS pos)
java.util.Iterator
MapBackedDictionary. getIndexWordIterator(POS pos, java.lang.String substring)
IndexWord
DatabaseBackedDictionary. getRandomIndexWord(POS pos)
abstract IndexWord
Dictionary. getRandomIndexWord(POS pos)
IndexWord
FileBackedDictionary. getRandomIndexWord(POS pos)
IndexWord
MapBackedDictionary. getRandomIndexWord(POS pos)
private Synset
FileBackedDictionary. getSynset(POS pos, long offset, java.lang.String line)
Synset
DatabaseBackedDictionary. getSynsetAt(POS pos, long offset)
abstract Synset
Dictionary. getSynsetAt(POS pos, long offset)
Return theSynset
at offsetoffset
from the database.Synset
FileBackedDictionary. getSynsetAt(POS pos, long offset)
Synset
MapBackedDictionary. getSynsetAt(POS pos, long offset)
java.util.Iterator
DatabaseBackedDictionary. getSynsetIterator(POS pos)
abstract java.util.Iterator
Dictionary. getSynsetIterator(POS pos)
Return an Iterator over all the Synsets of part-of-speech pos in the database.java.util.Iterator
FileBackedDictionary. getSynsetIterator(POS pos)
java.util.Iterator
MapBackedDictionary. getSynsetIterator(POS pos)
private java.util.Map
MapBackedDictionary. getTable(POS pos, DictionaryFileType fileType)
java.util.List
MorphologicalProcessor. lookupAllBaseForms(POS pos, java.lang.String derivation)
Return all the base forms of derivationIndexWord
MorphologicalProcessor. lookupBaseForm(POS pos, java.lang.String derivation)
Try to turn derivation into a word that is found in the index file for pos.IndexWord
Dictionary. lookupIndexWord(POS pos, java.lang.String lemma)
Main word lookup procedure.private Exc
FileBackedDictionary. parseAndCacheExceptionLine(POS pos, long offset, java.lang.String line)
private IndexWord
FileBackedDictionary. parseAndCacheIndexWordLine(POS pos, long offset, java.lang.String line)
protected abstract java.lang.Object
FileBackedDictionary.FileLookaheadIterator. parseLine(POS pos, long offset, java.lang.String line)
protected java.lang.Object
FileBackedDictionary.IndexFileLookaheadIterator. parseLine(POS pos, long offset, java.lang.String line)
private void
MapBackedDictionary. putTable(POS pos, DictionaryFileType fileType, java.util.Map table)
Use table for lookups to the file represented by pos and fileType.private void
AbstractCachingDictionary.DictionaryCacheSet. removeLemma(DictionaryElementType fileType, java.lang.String lemma, POS pos)
Constructors in net.didion.jwnl.dictionary with parameters of type POS Constructor Description DatabaseElementIterator(POS pos, Query query)
ExceptionIterator(POS pos, Query query)
FileLookaheadIterator(POS pos, DictionaryFileType fileType)
IndexFileLookaheadIterator(POS pos)
IndexWordIterator(POS pos, Query query)
MapTableKey(POS pos, DictionaryFileType fileType)
POSKey(POS pos, long offset)
POSKey(POS pos, java.lang.Object key)
POSKey(POS pos, java.lang.String lemma)
SubstringIndexFileLookaheadIterator(POS pos, java.lang.String substring)
SynsetIterator(POS pos, Query query)
-
Uses of POS in net.didion.jwnl.dictionary.database
Methods in net.didion.jwnl.dictionary.database with parameters of type POS Modifier and Type Method Description protected Query
DatabaseManagerImpl. createPOSIdQuery(POS pos, int id, java.lang.String sql)
protected Query
DatabaseManagerImpl. createPOSOffsetQuery(POS pos, long offset, java.lang.String sql)
protected Query
DatabaseManagerImpl. createPOSQuery(POS pos, java.lang.String sql)
protected Query
DatabaseManagerImpl. createPOSStringQuery(POS pos, java.lang.String str, java.lang.String sql)
Query
DatabaseManager. getExceptionQuery(POS pos, java.lang.String derivation)
Query
DatabaseManagerImpl. getExceptionQuery(POS pos, java.lang.String derivation)
Query
DatabaseManager. getExceptionsQuery(POS pos)
Query
DatabaseManagerImpl. getExceptionsQuery(POS pos)
Query
DatabaseManager. getIndexWordLemmasQuery(POS pos)
Query
DatabaseManager. getIndexWordLemmasQuery(POS pos, java.lang.String substring)
Query
DatabaseManagerImpl. getIndexWordLemmasQuery(POS pos)
Query
DatabaseManagerImpl. getIndexWordLemmasQuery(POS pos, java.lang.String substring)
Query
DatabaseManager. getIndexWordSynsetsQuery(POS pos, java.lang.String lemma)
Query
DatabaseManagerImpl. getIndexWordSynsetsQuery(POS pos, java.lang.String lemma)
Query
DatabaseManager. getPointerQuery(POS pos, long offset)
Query
DatabaseManagerImpl. getPointerQuery(POS pos, long offset)
Query
DatabaseManager. getRandomIndexWordQuery(POS pos)
Query
DatabaseManagerImpl. getRandomIndexWordQuery(POS pos)
Query
DatabaseManager. getSynsetQuery(POS pos, long offset)
Query
DatabaseManagerImpl. getSynsetQuery(POS pos, long offset)
Query
DatabaseManager. getSynsetsQuery(POS pos)
Query
DatabaseManagerImpl. getSynsetsQuery(POS pos)
Query
DatabaseManager. getSynsetWordQuery(POS pos, long offset)
Query
DatabaseManagerImpl. getSynsetWordQuery(POS pos, long offset)
Query
SenseAndUsageDatabaseManager. getSynsetWordQuery(POS pos, long offset)
Query
DatabaseManager. getVerbFrameQuery(POS pos, long offset)
Query
DatabaseManagerImpl. getVerbFrameQuery(POS pos, long offset)
-
Uses of POS in net.didion.jwnl.dictionary.file
Fields in net.didion.jwnl.dictionary.file declared as POS Modifier and Type Field Description private POS
AbstractDictionaryFile. _pos
Methods in net.didion.jwnl.dictionary.file that return POS Modifier and Type Method Description POS
AbstractDictionaryFile. getPOS()
The POS associated with this file.POS
DictionaryFile. getPOS()
The POS associated with this file.Methods in net.didion.jwnl.dictionary.file with parameters of type POS Modifier and Type Method Description DictionaryFile
DictionaryCatalog. get(POS pos)
DictionaryFile
DictionaryCatalogSet. getDictionaryFile(POS pos, DictionaryFileType fileType)
DictionaryFile
DictionaryFile. newInstance(java.lang.String path, POS pos, DictionaryFileType fileType)
Create a new instance of the dictionary fileConstructors in net.didion.jwnl.dictionary.file with parameters of type POS Constructor Description AbstractDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType)
-
Uses of POS in net.didion.jwnl.dictionary.file_manager
Methods in net.didion.jwnl.dictionary.file_manager with parameters of type POS Modifier and Type Method Description DictionaryFile
FileManagerImpl. getFile(POS pos, DictionaryFileType fileType)
Gets the file from a part of speech and file type (ie data.noun).long
FileManager. getFirstLinePointer(POS pos, DictionaryFileType fileType)
Return the first valid line pointer in the specified file.long
FileManagerImpl. getFirstLinePointer(POS pos, DictionaryFileType fileType)
Return the first valid line pointer in the specified file.long
FileManager. getIndexedLinePointer(POS pos, DictionaryFileType fileType, java.lang.String index)
Search for the line whose first word is index (that is, that begins with index followed by a space or tab).long
FileManagerImpl. getIndexedLinePointer(POS pos, DictionaryFileType fileType, java.lang.String target)
Get indexed line pointer is typically used to find a word within an index file matching a given part of speech.long
FileManager. getMatchingLinePointer(POS pos, DictionaryFileType fileType, long offset, java.lang.String substring)
Search for a line whose index word contains substring, starting at offset.long
FileManagerImpl. getMatchingLinePointer(POS pos, DictionaryFileType fileType, long offset, java.lang.String substring)
Search for a line whose index word contains substring, starting at offset.long
FileManager. getNextLinePointer(POS pos, DictionaryFileType fileType, long offset)
Search for the line following the line that begins at offset.long
FileManagerImpl. getNextLinePointer(POS pos, DictionaryFileType fileType, long offset)
Search for the line following the line that begins at offset.long
FileManager. getRandomLinePointer(POS pos, DictionaryFileType index)
Return a randomly-chosen line pointer (offset of the beginning of a line).long
FileManagerImpl. getRandomLinePointer(POS pos, DictionaryFileType fileType)
Return a randomly-chosen line pointer (offset of the beginning of a line).java.lang.String
FileManager. readLineAt(POS pos, DictionaryFileType fileType, long offset)
Read the line that begins at file offset offset.java.lang.String
FileManagerImpl. readLineAt(POS pos, DictionaryFileType fileType, long offset)
Read the line that begins at file offset offset. -
Uses of POS in net.didion.jwnl.dictionary.morph
Fields in net.didion.jwnl.dictionary.morph declared as POS Modifier and Type Field Description private POS
DefaultMorphologicalProcessor.LookupInfo. _pos
Methods in net.didion.jwnl.dictionary.morph with parameters of type POS Modifier and Type Method Description protected boolean
AbstractDelegatingOperation. delegate(POS pos, java.lang.String lemma, BaseFormSet forms, java.lang.String key)
boolean
DetachSuffixesOperation. execute(POS pos, java.lang.String derivation, BaseFormSet forms)
boolean
LookupExceptionsOperation. execute(POS pos, java.lang.String derivation, BaseFormSet form)
boolean
LookupIndexWordOperation. execute(POS pos, java.lang.String lemma, BaseFormSet baseForms)
boolean
Operation. execute(POS pos, java.lang.String lemma, BaseFormSet baseForms)
Execute the operation.boolean
RemovePrepPhrasesOperation. execute(POS pos, java.lang.String lemma, BaseFormSet baseForm)
boolean
TokenizerOperation. execute(POS pos, java.lang.String lemma, BaseFormSet forms)
java.util.List
DefaultMorphologicalProcessor. lookupAllBaseForms(POS pos, java.lang.String derivation)
IndexWord
DefaultMorphologicalProcessor. lookupBaseForm(POS pos, java.lang.String derivation)
Lookup the base form of a word.private IndexWord
DefaultMorphologicalProcessor. lookupNextBaseForm(POS pos, java.lang.String derivation, DefaultMorphologicalProcessor.LookupInfo info)
Lookup the next base form of a pos/word pair.private boolean
TokenizerOperation. tryAllCombinations(POS pos, java.lang.String[] tokens, java.lang.String delimiter, BaseFormSet forms)
private boolean
TokenizerOperation. tryAllCombinations(POS pos, BaseFormSet[] tokenForms, int startIndex, int endIndex, BaseFormSet forms)
Constructors in net.didion.jwnl.dictionary.morph with parameters of type POS Constructor Description LookupInfo(POS pos, java.lang.String derivation, Operation[] operations)
-
Uses of POS in net.didion.jwnl.princeton.data
Methods in net.didion.jwnl.princeton.data with parameters of type POS Modifier and Type Method Description Exc
AbstractPrincetonDatabaseDictionaryElementFactory. createExc(POS pos, java.lang.String derivation, java.sql.ResultSet rs)
Exc
AbstractPrincetonFileDictionaryElementFactory. createExc(POS pos, java.lang.String line)
IndexWord
AbstractPrincetonDatabaseDictionaryElementFactory. createIndexWord(POS pos, java.lang.String lemma, java.sql.ResultSet rs)
IndexWord
AbstractPrincetonFileDictionaryElementFactory. createIndexWord(POS pos, java.lang.String line)
Synset
AbstractPrincetonDatabaseDictionaryElementFactory. createSynset(POS pos, long offset, java.sql.ResultSet synset, java.sql.ResultSet words, java.sql.ResultSet pointers, java.sql.ResultSet verbFrames)
Synset
AbstractPrincetonFileDictionaryElementFactory. createSynset(POS pos, java.lang.String line)
Synset
PrincetonWN30DatabaseDictionaryElementFactory. createSynset(POS pos, long offset, java.sql.ResultSet synset, java.sql.ResultSet words, java.sql.ResultSet pointers, java.sql.ResultSet verbFrames)
Create a synset. -
Uses of POS in net.didion.jwnl.princeton.file
Methods in net.didion.jwnl.princeton.file with parameters of type POS Modifier and Type Method Description private java.lang.String
AbstractPrincetonDictionaryFile. getExtension(POS pos)
DictionaryFile
PrincetonChannelDictionaryFile. newInstance(java.lang.String path, POS pos, DictionaryFileType fileType)
DictionaryFile
PrincetonObjectDictionaryFile. newInstance(java.lang.String path, POS pos, DictionaryFileType fileType)
DictionaryFile
PrincetonRandomAccessDictionaryFile. newInstance(java.lang.String path, POS pos, DictionaryFileType fileType)
Constructors in net.didion.jwnl.princeton.file with parameters of type POS Constructor Description AbstractPrincetonDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType)
AbstractPrincetonRandomAccessDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType)
PrincetonChannelDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType)
PrincetonObjectDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType)
PrincetonRandomAccessDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType)
PrincetonRandomAccessDictionaryFile(java.lang.String path, POS pos, DictionaryFileType fileType, java.lang.String permissions)
-
Uses of POS in net.didion.jwnl.utilities
Methods in net.didion.jwnl.utilities with parameters of type POS Modifier and Type Method Description private java.util.Iterator
DictionaryToMap. getIterator(POS pos, DictionaryFileType fileType)
private void
DictionaryToMap. serialize(POS pos, DictionaryFileType fileType)
-