Skip navigation links
A C D E F G I J L M O P R S T U V W _ 

A

add(String) - Method in class org.annolab.tt4j.RingBuffer
 
ARCH_PPC - Static variable in class org.annolab.tt4j.PlatformDetector
 
ARCH_SPARC - Static variable in class org.annolab.tt4j.PlatformDetector
 
ARCH_X86_32 - Static variable in class org.annolab.tt4j.PlatformDetector
 
ARCH_X86_64 - Static variable in class org.annolab.tt4j.PlatformDetector
 
available() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 

C

close() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
close(Closeable) - Static method in class org.annolab.tt4j.Util
Close the given Closeable.

D

decodeVersion(TreeTaggerModel, int, ByteOrder) - Method in class org.annolab.tt4j.TreeTaggerModelReader
 
DEFAULT_FLUSH_SEQUENCE - Static variable in class org.annolab.tt4j.DefaultModel
 
DefaultExecutableResolver - Class in org.annolab.tt4j
Assume that TreeTagger is installed and available in the path.
DefaultExecutableResolver() - Constructor for class org.annolab.tt4j.DefaultExecutableResolver
 
DefaultModel - Class in org.annolab.tt4j
 
DefaultModel(String, File, String) - Constructor for class org.annolab.tt4j.DefaultModel
 
DefaultModel(String, File, String, String) - Constructor for class org.annolab.tt4j.DefaultModel
 
DefaultModelResolver - Class in org.annolab.tt4j
Simple model provider.
DefaultModelResolver() - Constructor for class org.annolab.tt4j.DefaultModelResolver
 
destroy() - Method in class org.annolab.tt4j.DefaultExecutableResolver
 
destroy() - Method in class org.annolab.tt4j.DefaultModel
 
destroy() - Method in interface org.annolab.tt4j.ExecutableResolver
Destroy transient resources for the executable file.
destroy() - Method in interface org.annolab.tt4j.Model
Destroy transient resources for the model.
destroy() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Stop the TreeTagger process and clean up the model and executable.

E

ExecutableResolver - Interface in org.annolab.tt4j
Resolve the location of the TreeTagger executable.

F

finalize() - Method in class org.annolab.tt4j.TreeTaggerWrapper
 

G

getAdapter() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the current token adapter.
getArch() - Method in class org.annolab.tt4j.PlatformDetector
Get the platform architecture.
getArguments() - Method in class org.annolab.tt4j.TreeTaggerWrapper
 
getByteOrder() - Method in class org.annolab.tt4j.PlatformDetector
Get the byte order.
getByteOrder() - Method in class org.annolab.tt4j.TreeTaggerModel
 
getChmodCmd() - Method in class org.annolab.tt4j.PlatformDetector
Get the chmod (change permissions) command for the current platform (if one is necessary).
getEncoding() - Method in class org.annolab.tt4j.DefaultModel
 
getEncoding() - Method in interface org.annolab.tt4j.Model
Get the model encoding.
getEncoding() - Method in class org.annolab.tt4j.TreeTaggerModelReader
Get the encoding used for reading the dictionary.
getEpsilon() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get minimal tag frequency.
getExecutable() - Method in class org.annolab.tt4j.DefaultExecutableResolver
 
getExecutable() - Method in interface org.annolab.tt4j.ExecutableResolver
Get the executable file.
getExecutableProvider() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the current executable resolver.
getExecutableSuffix() - Method in class org.annolab.tt4j.PlatformDetector
Get the file suffix used for executable files on the currently configured platform.
getFile() - Method in class org.annolab.tt4j.DefaultModel
 
getFile() - Method in interface org.annolab.tt4j.Model
Get the location of the model.
getFlushSequence() - Method in class org.annolab.tt4j.DefaultModel
 
getFlushSequence() - Method in interface org.annolab.tt4j.Model
The the token sequence used to flush the TreeTagger state for the given model.
getHandler() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the current token handler.
getHyphenHeuristics() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get hyphen heuristics mode setting.
getLemmas() - Method in class org.annolab.tt4j.TreeTaggerModel
 
getMaximumTokenLength() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the maximum number of bytes allowed in a token.
getModel(String) - Method in class org.annolab.tt4j.DefaultModelResolver
 
getModel(String, String, String) - Method in class org.annolab.tt4j.DefaultModelResolver
 
getModel(String) - Method in interface org.annolab.tt4j.ModelResolver
Load the model with the given name.
getModel() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the currently set model.
getModelResolver() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the current model resolver.
getName() - Method in class org.annolab.tt4j.DefaultModel
 
getName() - Method in interface org.annolab.tt4j.Model
Get the name of the model.
getOs() - Method in class org.annolab.tt4j.PlatformDetector
Get the operating system.
getPerformanceMode() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get performance mode state.
getPlatformDetector() - Method in class org.annolab.tt4j.DefaultModelResolver
Get platform information.
getPlatformDetector() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get platform information.
getPlatformId() - Method in class org.annolab.tt4j.PlatformDetector
Get the platform ID which is PlatformDetector.getOs() and PlatformDetector.getArch() separated by a "-" (dash).
getProbabilityThreshold() - Method in class org.annolab.tt4j.TreeTaggerWrapper
 
getRestartCount() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the number of times a TreeTagger process was started.
getSearchPaths(List<String>, String) - Static method in class org.annolab.tt4j.Util
Get the search paths for a model or executable.
getSource() - Method in class org.annolab.tt4j.TreeTaggerModel
 
getStatus() - Method in class org.annolab.tt4j.TreeTaggerWrapper
 
getTags() - Method in class org.annolab.tt4j.TreeTaggerModel
 
getTagset(File, String) - Static method in class org.annolab.tt4j.TreeTaggerModelUtil
Read the tagset from a model.
getTagset(InputStream, String) - Static method in class org.annolab.tt4j.TreeTaggerModelUtil
Read the tagset from a model.
getText(O) - Method in interface org.annolab.tt4j.TokenAdapter
Extract the token string from the given object.
getTokens() - Method in class org.annolab.tt4j.TreeTaggerModel
 
getVersion() - Method in class org.annolab.tt4j.TreeTaggerModel
 

I

install() - Method in class org.annolab.tt4j.DefaultModel
 
install() - Method in interface org.annolab.tt4j.Model
Install the model to the file system (if necessary).
isReadDictionary() - Method in class org.annolab.tt4j.TreeTaggerModelReader
Check if the dictionary is read or skipped.
isStrictMode() - Method in class org.annolab.tt4j.TreeTaggerWrapper
Get the strict mode state.

J

join(String[], String) - Static method in class org.annolab.tt4j.Util
Join the given strings into a single string separated by the given separator.
join(Collection<String>, String) - Static method in class org.annolab.tt4j.Util
Join the given strings into a single string separated by the given separator.

L

LittleEndianDataInputStream - Class in org.annolab.tt4j
 
LittleEndianDataInputStream(InputStream) - Constructor for class org.annolab.tt4j.LittleEndianDataInputStream
 

M

matches(String, String) - Static method in class org.annolab.tt4j.Util
Checks if a token returned by TreeTagger corresponds to the token sent to TreeTagger.
MAX_POSSIBLE_TOKEN_LENGTH - Static variable in class org.annolab.tt4j.TreeTaggerWrapper
This is the maximal token size that TreeTagger on OS X supports (empirically determined).
Model - Interface in org.annolab.tt4j
A TreeTagger model.
ModelResolver - Interface in org.annolab.tt4j
Resolve the location of the TreeTagger model.

O

org.annolab.tt4j - package org.annolab.tt4j
 
OS_LINUX - Static variable in class org.annolab.tt4j.PlatformDetector
 
OS_OSX - Static variable in class org.annolab.tt4j.PlatformDetector
 
OS_SOLARIS - Static variable in class org.annolab.tt4j.PlatformDetector
 
OS_WINDOWS - Static variable in class org.annolab.tt4j.PlatformDetector
 

P

PlatformDetector - Class in org.annolab.tt4j
Detect platform information and normalize it.
PlatformDetector() - Constructor for class org.annolab.tt4j.PlatformDetector
 
probability(String, String, double) - Method in interface org.annolab.tt4j.ProbabilityHandler
Process the probabilities for the last token provided to TokenHandler.token(O, java.lang.String, java.lang.String).
ProbabilityHandler<O> - Interface in org.annolab.tt4j
A TokenHandler can implement this interface to get probability information when TreeTaggerWrapper.setProbabilityThreshold(Double) is used.
process(O[]) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Process the given array of token objects.
process(Collection<O>) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Process the given list of token objects.

R

read(byte[], int, int) - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
read() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
read(InputStream) - Method in class org.annolab.tt4j.TreeTaggerModelReader
Read the model from a stream.
readBoolean() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readByte() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readChar() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
like DataInputStream.readChar except little endian.
readDouble() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readFile(File, String) - Static method in class org.annolab.tt4j.Util
For tests only.
readFloat() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readFully(byte[]) - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readFully(byte[], int, int) - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readInt() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
like DataInputStream.readInt except little endian.
readLine() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
Deprecated.
readLong() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
like DataInputStream.readLong except little endian.
readModel(File, String) - Static method in class org.annolab.tt4j.TreeTaggerModelUtil
Read a model from a file.
readModel(URL, String) - Static method in class org.annolab.tt4j.TreeTaggerModelUtil
Read a model from an URL.
readModel(InputStream, String) - Static method in class org.annolab.tt4j.TreeTaggerModelUtil
Read a model.
readShort() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readStrings(int) - Method in class org.annolab.tt4j.TreeTaggerModelReader
 
readUnsignedByte() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readUnsignedShort() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
Note, returns int even though it reads a short.
readUTF() - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 
readZeroTerminatedByteArray() - Method in class org.annolab.tt4j.TreeTaggerModelReader
 
readZeroTerminatedString(String) - Method in class org.annolab.tt4j.TreeTaggerModelReader
 
removeProblematicTokens(Collection<O>) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Filter out tokens that cause problems when communicating with the TreeTagger process.
RingBuffer - Class in org.annolab.tt4j
 
RingBuffer(int) - Constructor for class org.annolab.tt4j.RingBuffer
 

S

setAdapter(TokenAdapter<O>) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set a TokenAdapter used to extract the token string from a token objects passed to TreeTaggerWrapper.process(Collection).
setAdditionalPaths(List<String>) - Method in class org.annolab.tt4j.DefaultExecutableResolver
Set additional paths that will be used for searching the TreeTagger executable.
setAdditionalPaths(List<String>) - Method in class org.annolab.tt4j.DefaultModelResolver
Set additional paths that will be used for searching the TreeTagger executable.
setArch(String) - Method in class org.annolab.tt4j.PlatformDetector
Override the architecture.
setArguments(String[]) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set the arguments that are passed to the TreeTagger executable.
setByteOrder(ByteOrder) - Method in class org.annolab.tt4j.PlatformDetector
Set the byte order.
setByteOrder(ByteOrder) - Method in class org.annolab.tt4j.TreeTaggerModel
 
setEncoding(String) - Method in class org.annolab.tt4j.TreeTaggerModelReader
Set the encoding used by the dictionary.
setEpsilon(Double) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set minimal tag frequency to epsilon
setExecutableProvider(ExecutableResolver) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set a custom executable resolver.
setHandler(TokenHandler<O>) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set a TokenHandler to receive the analyzed tokens.
setHyphenHeuristics(boolean) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Turn on the heuristics fur guessing the parts of speech of unknown hyphenated words.
setLemmas(List<String>) - Method in class org.annolab.tt4j.TreeTaggerModel
 
setMaximumTokenLength(int) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set the maximal number of characters allowed in a token.
setModel(String) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Load the model with the given name.
setModel(Model) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Load the given model.
setModelProvider(ModelResolver) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set a custom model resolver.
setOs(String) - Method in class org.annolab.tt4j.PlatformDetector
Override the operating system name.
setPerformanceMode(boolean) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Disable some sanity checks, e.g.
setPlatformDetector(PlatformDetector) - Method in class org.annolab.tt4j.DefaultExecutableResolver
Set platform information.
setPlatformDetector(PlatformDetector) - Method in class org.annolab.tt4j.DefaultModelResolver
 
setPlatformDetector(PlatformDetector) - Method in interface org.annolab.tt4j.ExecutableResolver
Set platform information.
setPlatformDetector(PlatformDetector) - Method in interface org.annolab.tt4j.ModelResolver
Set platform information.
setPlatformDetector(PlatformDetector) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set platform information.
setProbabilityThreshold(Double) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Print all tags of a word with a probability higher than X times the largest probability.
setReadDictionary(boolean) - Method in class org.annolab.tt4j.TreeTaggerModelReader
Set if the dictionary is read or skipped.
setSource(String) - Method in class org.annolab.tt4j.TreeTaggerModel
 
setStrictMode(boolean) - Method in class org.annolab.tt4j.TreeTaggerWrapper
Set the strict mode.
setTags(List<String>) - Method in class org.annolab.tt4j.TreeTaggerModel
 
setTokens(List<String>) - Method in class org.annolab.tt4j.TreeTaggerModel
 
setVersion(int) - Method in class org.annolab.tt4j.TreeTaggerModel
 
size() - Method in class org.annolab.tt4j.RingBuffer
 
skipBytes(int) - Method in class org.annolab.tt4j.LittleEndianDataInputStream
 

T

token(O, String, String) - Method in interface org.annolab.tt4j.TokenHandler
Process a token that TreeTagger has analyzed.
TokenAdapter<O> - Interface in org.annolab.tt4j
Adapter to extract a token from the list of objects passed to TreeTaggerWrapper.process(java.util.Collection).
TokenHandler<O> - Interface in org.annolab.tt4j
A token handler receives a notification for each tagged token.
tokenize(String, Locale) - Static method in class org.annolab.tt4j.Util
For tests only.
toString() - Method in class org.annolab.tt4j.RingBuffer
 
TRACE - Static variable in class org.annolab.tt4j.TreeTaggerWrapper
 
TreeTaggerException - Exception in org.annolab.tt4j
Exception throw if an error occurs while tagging is in process.
TreeTaggerException(String) - Constructor for exception org.annolab.tt4j.TreeTaggerException
New exception.
TreeTaggerException(Throwable) - Constructor for exception org.annolab.tt4j.TreeTaggerException
New exception.
TreeTaggerException(String, Throwable) - Constructor for exception org.annolab.tt4j.TreeTaggerException
New exception.
TreeTaggerModel - Class in org.annolab.tt4j
TreeTagger model data.
TreeTaggerModel() - Constructor for class org.annolab.tt4j.TreeTaggerModel
 
TreeTaggerModelReader - Class in org.annolab.tt4j
Reader for TreeTagger model files.
TreeTaggerModelReader() - Constructor for class org.annolab.tt4j.TreeTaggerModelReader
 
TreeTaggerModelUtil - Class in org.annolab.tt4j
 
TreeTaggerModelUtil() - Constructor for class org.annolab.tt4j.TreeTaggerModelUtil
 
TreeTaggerWrapper<O> - Class in org.annolab.tt4j
Main TreeTagger wrapper class.
TreeTaggerWrapper() - Constructor for class org.annolab.tt4j.TreeTaggerWrapper
 

U

updatePlatform(String, String, ByteOrder) - Method in class org.annolab.tt4j.PlatformDetector
Updates the platform-specific settings and normalizes them.
Util - Class in org.annolab.tt4j
Utility functions.

V

VERSION_3_1 - Static variable in class org.annolab.tt4j.TreeTaggerModel
 
VERSION_3_2 - Static variable in class org.annolab.tt4j.TreeTaggerModel
 

W

writeFile(String, File, String) - Static method in class org.annolab.tt4j.Util
For tests only.

_

_additionalPaths - Variable in class org.annolab.tt4j.DefaultExecutableResolver
 
_additionalPaths - Variable in class org.annolab.tt4j.DefaultModelResolver
 
_platform - Variable in class org.annolab.tt4j.DefaultExecutableResolver
 
_platform - Variable in class org.annolab.tt4j.DefaultModelResolver
 
A C D E F G I J L M O P R S T U V W _ 
Skip navigation links

Copyright © 2014. All Rights Reserved.