Uses of Class
net.didion.jwnl.data.POS
Packages that use POS
Package
Description
Classes for extracting and containing data from the dictionary.
Classes for acessing dictionary information.
Classes for accessing databases that contain dictionary information.
Classes for accessing files that contain dictionary information.
Classes used by
FileBackedDictionary
to interface with the filesystem.Implementations of
DictionaryElementFactory
for Princeton's release of WordNet.Implementations of
DictionaryFile
used by the various classes of Dictionary
to access dictionary files using the naming convention used in Princeton's release of WordNet.-
Uses of POS in net.didion.jwnl.data
Fields in net.didion.jwnl.data declared as POSModifier and TypeFieldDescriptionprivate 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 final POS
POS.ADJECTIVE
static final POS
POS.ADVERB
static final POS
POS.NOUN
static final POS
POS.VERB
Methods in net.didion.jwnl.data that return POSModifier and TypeMethodDescriptionExc.getPOS()
Gets the part of speech.IndexWord.getPOS()
Get the word's part-of-speech.abstract POS
PointerTarget.getPOS()
Return this target's POSSynset.getPOS()
Word.getPOS()
Gets the part of speech of this word.static POS
POS.getPOSForKey
(String key) Return thePOS
whose key matches key, or null if the key does not match any POS.static POS
POS.getPOSForLabel
(String label) Return thePOS
whose key matches label, or null if the label does not match any POS.Pointer.getTargetPOS()
Methods in net.didion.jwnl.data with parameters of type POSModifier and TypeMethodDescriptionboolean
Whether or not this PointerType can be associated withpos
Create an Exc from a row in the database.Create an Exc from a line in an exception file.DatabaseDictionaryElementFactory.createIndexWord
(POS pos, String lemma, ResultSet rs) Create an IndexWord from a row in the database.FileDictionaryElementFactory.createIndexWord
(POS pos, String line) Creates an IndexWord from a line in an index file.DatabaseDictionaryElementFactory.createSynset
(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) Create a Synset from a row in the database.FileDictionaryElementFactory.createSynset
(POS pos, String line) Creates a synset from a line in a data file.static List
PointerType.getAllPointerTypesForPOS
(POS pos) 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
Remove the IndexWord associated withp
from this set.Constructors in net.didion.jwnl.data with parameters of type POSModifierConstructorDescriptionCreates a new exception entry.Pointer
(PointerTarget source, int index, PointerType pointerType, POS targetPOS, long targetOffset, int targetIndex) Synset
(POS pos, long offset, Word[] words, Pointer[] pointers, String gloss, BitSet verbFrames, boolean isAdjectiveCluster) SynsetProxy
(POS pos) The only value that matters is pos, since the call to getPOS is not forwarded to _source(package private)
TargetIndex
(POS pos, long offset, int index) -
Uses of POS in net.didion.jwnl.dictionary
Fields in net.didion.jwnl.dictionary declared as POSModifier and TypeFieldDescriptionprivate 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 POSModifier and TypeMethodDescriptionprotected POS
DatabaseBackedDictionary.DatabaseElementIterator.getPOS()
POSKey.getPOS()
Methods in net.didion.jwnl.dictionary with parameters of type POSModifier and TypeMethodDescriptionDatabaseBackedDictionary.getException
(POS pos, String derivation) abstract Exc
Dictionary.getException
(POS pos, String derivation) Lookupderivation
in the exceptions file of part-of-speechpos
and return an Exc object containing the results.FileBackedDictionary.getException
(POS pos, String derivation) MapBackedDictionary.getException
(POS pos, String derivation) DatabaseBackedDictionary.getExceptionIterator
(POS pos) abstract Iterator
Dictionary.getExceptionIterator
(POS pos) Return an Iterator over all the Exceptions in the database.FileBackedDictionary.getExceptionIterator
(POS pos) MapBackedDictionary.getExceptionIterator
(POS pos) DatabaseBackedDictionary.getIndexWord
(POS pos, String lemma) abstract IndexWord
Dictionary.getIndexWord
(POS pos, String lemma) Look up a word in the database.FileBackedDictionary.getIndexWord
(POS pos, String lemma) MapBackedDictionary.getIndexWord
(POS pos, String lemma) DatabaseBackedDictionary.getIndexWordIterator
(POS pos) DatabaseBackedDictionary.getIndexWordIterator
(POS pos, String substring) abstract Iterator
Dictionary.getIndexWordIterator
(POS pos) Return an Iterator over all the IndexWords of part-of-speech pos in the database.abstract Iterator
Dictionary.getIndexWordIterator
(POS pos, String substring) Return an Iterator over all the IndexWords of part-of-speech pos whose lemmas contain substring as a substring.FileBackedDictionary.getIndexWordIterator
(POS pos) FileBackedDictionary.getIndexWordIterator
(POS pos, String substring) MapBackedDictionary.getIndexWordIterator
(POS pos) MapBackedDictionary.getIndexWordIterator
(POS pos, String substring) DatabaseBackedDictionary.getRandomIndexWord
(POS pos) abstract IndexWord
Dictionary.getRandomIndexWord
(POS pos) FileBackedDictionary.getRandomIndexWord
(POS pos) MapBackedDictionary.getRandomIndexWord
(POS pos) private Synset
DatabaseBackedDictionary.getSynsetAt
(POS pos, long offset) abstract Synset
Dictionary.getSynsetAt
(POS pos, long offset) Return theSynset
at offsetoffset
from the database.FileBackedDictionary.getSynsetAt
(POS pos, long offset) MapBackedDictionary.getSynsetAt
(POS pos, long offset) DatabaseBackedDictionary.getSynsetIterator
(POS pos) abstract Iterator
Dictionary.getSynsetIterator
(POS pos) Return an Iterator over all the Synsets of part-of-speech pos in the database.FileBackedDictionary.getSynsetIterator
(POS pos) MapBackedDictionary.getSynsetIterator
(POS pos) private Map
MapBackedDictionary.getTable
(POS pos, DictionaryFileType fileType) MorphologicalProcessor.lookupAllBaseForms
(POS pos, String derivation) Return all the base forms of derivationMorphologicalProcessor.lookupBaseForm
(POS pos, String derivation) Try to turn derivation into a word that is found in the index file for pos.Dictionary.lookupIndexWord
(POS pos, String lemma) Main word lookup procedure.private Exc
FileBackedDictionary.parseAndCacheExceptionLine
(POS pos, long offset, String line) private IndexWord
FileBackedDictionary.parseAndCacheIndexWordLine
(POS pos, long offset, String line) protected abstract Object
protected Object
private void
MapBackedDictionary.putTable
(POS pos, DictionaryFileType fileType, Map table) Use table for lookups to the file represented by pos and fileType.private void
AbstractCachingDictionary.DictionaryCacheSet.removeLemma
(DictionaryElementType fileType, String lemma, POS pos) Constructors in net.didion.jwnl.dictionary with parameters of type POSModifierConstructorDescriptionprotected
DatabaseElementIterator
(POS pos, Query query) ExceptionIterator
(POS pos, Query query) FileLookaheadIterator
(POS pos, DictionaryFileType fileType) IndexWordIterator
(POS pos, Query query) private
MapTableKey
(POS pos, DictionaryFileType fileType) private
SubstringIndexFileLookaheadIterator
(POS pos, 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 POSModifier and TypeMethodDescriptionprotected Query
DatabaseManagerImpl.createPOSIdQuery
(POS pos, int id, String sql) protected Query
DatabaseManagerImpl.createPOSOffsetQuery
(POS pos, long offset, String sql) protected Query
DatabaseManagerImpl.createPOSQuery
(POS pos, String sql) protected Query
DatabaseManagerImpl.createPOSStringQuery
(POS pos, String str, String sql) DatabaseManager.getExceptionQuery
(POS pos, String derivation) DatabaseManagerImpl.getExceptionQuery
(POS pos, String derivation) DatabaseManager.getExceptionsQuery
(POS pos) DatabaseManagerImpl.getExceptionsQuery
(POS pos) DatabaseManager.getIndexWordLemmasQuery
(POS pos) DatabaseManager.getIndexWordLemmasQuery
(POS pos, String substring) DatabaseManagerImpl.getIndexWordLemmasQuery
(POS pos) DatabaseManagerImpl.getIndexWordLemmasQuery
(POS pos, String substring) DatabaseManager.getIndexWordSynsetsQuery
(POS pos, String lemma) DatabaseManagerImpl.getIndexWordSynsetsQuery
(POS pos, String lemma) DatabaseManager.getPointerQuery
(POS pos, long offset) DatabaseManagerImpl.getPointerQuery
(POS pos, long offset) DatabaseManager.getRandomIndexWordQuery
(POS pos) DatabaseManagerImpl.getRandomIndexWordQuery
(POS pos) DatabaseManager.getSynsetQuery
(POS pos, long offset) DatabaseManagerImpl.getSynsetQuery
(POS pos, long offset) DatabaseManager.getSynsetsQuery
(POS pos) DatabaseManagerImpl.getSynsetsQuery
(POS pos) DatabaseManager.getSynsetWordQuery
(POS pos, long offset) DatabaseManagerImpl.getSynsetWordQuery
(POS pos, long offset) SenseAndUsageDatabaseManager.getSynsetWordQuery
(POS pos, long offset) DatabaseManager.getVerbFrameQuery
(POS pos, long offset) DatabaseManagerImpl.getVerbFrameQuery
(POS pos, long offset) -
Uses of POS in net.didion.jwnl.dictionary.file
Fields in net.didion.jwnl.dictionary.file declared as POSMethods in net.didion.jwnl.dictionary.file that return POSModifier and TypeMethodDescriptionAbstractDictionaryFile.getPOS()
The POS associated with this file.DictionaryFile.getPOS()
The POS associated with this file.Methods in net.didion.jwnl.dictionary.file with parameters of type POSModifier and TypeMethodDescriptionDictionaryCatalogSet.getDictionaryFile
(POS pos, DictionaryFileType fileType) DictionaryFile.newInstance
(String path, POS pos, DictionaryFileType fileType) Create a new instance of the dictionary fileConstructors in net.didion.jwnl.dictionary.file with parameters of type POSModifierConstructorDescriptionprotected
AbstractDictionaryFile
(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 POSModifier and TypeMethodDescriptionFileManagerImpl.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, 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, 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, String substring) Search for a line whose index word contains substring, starting at offset.long
FileManagerImpl.getMatchingLinePointer
(POS pos, DictionaryFileType fileType, long offset, 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).FileManager.readLineAt
(POS pos, DictionaryFileType fileType, long offset) Read the line that begins at file offset offset.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 POSMethods in net.didion.jwnl.dictionary.morph with parameters of type POSModifier and TypeMethodDescriptionprotected boolean
AbstractDelegatingOperation.delegate
(POS pos, String lemma, BaseFormSet forms, String key) boolean
DetachSuffixesOperation.execute
(POS pos, String derivation, BaseFormSet forms) boolean
LookupExceptionsOperation.execute
(POS pos, String derivation, BaseFormSet form) boolean
LookupIndexWordOperation.execute
(POS pos, String lemma, BaseFormSet baseForms) boolean
Operation.execute
(POS pos, String lemma, BaseFormSet baseForms) Execute the operation.boolean
RemovePrepPhrasesOperation.execute
(POS pos, String lemma, BaseFormSet baseForm) boolean
TokenizerOperation.execute
(POS pos, String lemma, BaseFormSet forms) DefaultMorphologicalProcessor.lookupAllBaseForms
(POS pos, String derivation) DefaultMorphologicalProcessor.lookupBaseForm
(POS pos, String derivation) Lookup the base form of a word.private IndexWord
DefaultMorphologicalProcessor.lookupNextBaseForm
(POS pos, String derivation, DefaultMorphologicalProcessor.LookupInfo info) Lookup the next base form of a pos/word pair.private boolean
TokenizerOperation.tryAllCombinations
(POS pos, String[] tokens, 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 -
Uses of POS in net.didion.jwnl.princeton.data
Methods in net.didion.jwnl.princeton.data with parameters of type POSModifier and TypeMethodDescriptionAbstractPrincetonDatabaseDictionaryElementFactory.createExc
(POS pos, String derivation, ResultSet rs) AbstractPrincetonDatabaseDictionaryElementFactory.createIndexWord
(POS pos, String lemma, ResultSet rs) AbstractPrincetonFileDictionaryElementFactory.createIndexWord
(POS pos, String line) AbstractPrincetonDatabaseDictionaryElementFactory.createSynset
(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) AbstractPrincetonFileDictionaryElementFactory.createSynset
(POS pos, String line) PrincetonWN30DatabaseDictionaryElementFactory.createSynset
(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, 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 POSModifier and TypeMethodDescriptionprivate String
AbstractPrincetonDictionaryFile.getExtension
(POS pos) PrincetonChannelDictionaryFile.newInstance
(String path, POS pos, DictionaryFileType fileType) PrincetonObjectDictionaryFile.newInstance
(String path, POS pos, DictionaryFileType fileType) PrincetonRandomAccessDictionaryFile.newInstance
(String path, POS pos, DictionaryFileType fileType) Constructors in net.didion.jwnl.princeton.file with parameters of type POSModifierConstructorDescriptionAbstractPrincetonDictionaryFile
(String path, POS pos, DictionaryFileType fileType) protected
AbstractPrincetonRandomAccessDictionaryFile
(String path, POS pos, DictionaryFileType fileType) PrincetonChannelDictionaryFile
(String path, POS pos, DictionaryFileType fileType) PrincetonObjectDictionaryFile
(String path, POS pos, DictionaryFileType fileType) PrincetonRandomAccessDictionaryFile
(String path, POS pos, DictionaryFileType fileType) PrincetonRandomAccessDictionaryFile
(String path, POS pos, DictionaryFileType fileType, String permissions) -
Uses of POS in net.didion.jwnl.utilities
Methods in net.didion.jwnl.utilities with parameters of type POSModifier and TypeMethodDescriptionprivate Iterator
DictionaryToMap.getIterator
(POS pos, DictionaryFileType fileType) private void
DictionaryToMap.serialize
(POS pos, DictionaryFileType fileType)