Uses of Class
net.didion.jwnl.dictionary.file.DictionaryFileType
-
Packages that use DictionaryFileType Package Description 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.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. -
-
Uses of DictionaryFileType in net.didion.jwnl.dictionary.file
Fields in net.didion.jwnl.dictionary.file declared as DictionaryFileType Modifier and Type Field Description static DictionaryFileType
DictionaryFileType. DATA
static DictionaryFileType
DictionaryFileType. EXCEPTION
static DictionaryFileType
DictionaryFileType. INDEX
Methods in net.didion.jwnl.dictionary.file that return DictionaryFileType Modifier and Type Method Description DictionaryFileType
AbstractDictionaryFile. getFileType()
The file type associated with this file.DictionaryFileType
DictionaryCatalog. getFileType()
DictionaryFileType
DictionaryFile. getFileType()
The file type associated with this file.Methods in net.didion.jwnl.dictionary.file with parameters of type DictionaryFileType Modifier and Type Method Description DictionaryCatalog
DictionaryCatalogSet. get(DictionaryFileType fileType)
DictionaryFile
DictionaryCatalogSet. getDictionaryFile(POS pos, DictionaryFileType fileType)
DictionaryFile
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 DictionaryFileType Constructor Description AbstractDictionaryFile(String path, POS pos, DictionaryFileType fileType)
DictionaryCatalog(String path, DictionaryFileType fileType, Class dictionaryFileType)
-
Uses of DictionaryFileType in net.didion.jwnl.dictionary.file_manager
Methods in net.didion.jwnl.dictionary.file_manager with parameters of type DictionaryFileType 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, 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).String
FileManager. readLineAt(POS pos, DictionaryFileType fileType, long offset)
Read the line that begins at file offset offset.String
FileManagerImpl. readLineAt(POS pos, DictionaryFileType fileType, long offset)
Read the line that begins at file offset offset. -
Uses of DictionaryFileType in net.didion.jwnl.princeton.file
Methods in net.didion.jwnl.princeton.file with parameters of type DictionaryFileType Modifier and Type Method Description DictionaryFile
PrincetonChannelDictionaryFile. newInstance(String path, POS pos, DictionaryFileType fileType)
DictionaryFile
PrincetonObjectDictionaryFile. newInstance(String path, POS pos, DictionaryFileType fileType)
DictionaryFile
PrincetonRandomAccessDictionaryFile. newInstance(String path, POS pos, DictionaryFileType fileType)
Constructors in net.didion.jwnl.princeton.file with parameters of type DictionaryFileType Constructor Description AbstractPrincetonDictionaryFile(String path, POS pos, DictionaryFileType fileType)
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)
-