- data(CharSequence) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Constructs a builder over some character data.
- data() - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Returns the current character data.
- detect(byte[]) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Run RLI to detect the language, script, and encoding of an array of bytes.
- detect(ByteBuffer) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Run RLI to detect the language, script, and encoding of a ByteBuffer.
- detect(char[]) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Run RLI to detect the language, script, and encoding of data represented as a char[].
- detect(char[], int, int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Run RLI to detect the language, script, and encoding of a portion of a char[].
- detect(CharBuffer) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Run RLI to detect the language, script, and encoding of a CharBuffer.
- detect(String) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Run RLI to detect the language, script, and encoding of data of a String.
- documentMetadata(String, List<String>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Adds an entry to the document metadata.
- documentMetadata(Map<String, List<String>>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Add all of the contents of a map of metadata to the document metadata.
- documentMetadata(String, String) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Adds an entry to the document metadata.
- documentMetadata() - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Returns the current document metadata.
- get(int) - Method in class com.basistech.rosette.dm.ListAttribute
-
- getAmbiguityThreshold() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the N-gram distance ambiguity threshold, value range [0-100].
- getAmbiguityThreshold() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- getAttributes() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns all of the annotations on this text.
- getBaseNounPhrases() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of base noun phrases.
- getCategorizerResults() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of categorizer results.
- getCharCount() - Method in class com.basistech.rosette.languageidentifier.Result
-
- getConfidence() - Method in class com.basistech.rosette.dm.LanguageDetection.DetectionResult
-
Returns the confidence of this detection.
- getCount() - Static method in enum com.basistech.rosette.util.EncodingCode
-
- getData() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the character data for this text.
- getData() - Method in class com.basistech.rosette.dm.RawData
-
Returns the raw data.
- getDefaultEncodingHintWeight() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the Encoding hint weight factor.
- getDefaultFineAmbiguityThreshold() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the default N-gram distance ambiguity threshold.
- getDefaultInvalidityThreshold() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the default N-gram distance invalidity threshold, value range [0-100].
- getDefaultLanguageHintWeight() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Return the default weight for the hint used to help resolve ambiguous results.
- getDefaultMinValidChars() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the default minimum number of valid characters required for identification.
- getDefaultProfileDepth() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Returns the default number of most frequent ngrams to consider in detection.
- getDefaultScript() - Method in enum com.basistech.util.LanguageCode
-
Returns the default script attribute.
- getDemotionTypeName() - Method in enum com.basistech.rosette.util.EncodingCode
-
Get the demotion type name code for this encoding.
- getDescription() - Method in enum com.basistech.rosette.languageidentifier.ReturnCode
-
Deprecated.
Get the human-readable description of this return code.
- getDetectionResults() - Method in class com.basistech.rosette.dm.LanguageDetection
-
Returns the detection results, in order from best to worst confidence.
- getDistance() - Method in class com.basistech.rosette.languageidentifier.Result
-
Returns the distance metric for this Result as a number
such that lower indicates a closer match to a fundamental
profile.
- getDocumentMetadata() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns document-level metadata.
- getEncoding() - Method in class com.basistech.rosette.dm.LanguageDetection.DetectionResult
-
Returns the detected encoding.
- getEncoding() - Method in class com.basistech.rosette.languageidentifier.Result
-
Returns the determined MIME encoding in this Result.
- getEncodingHint() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the EncodingCode used to help resolve ambiguous results, results
matching the hint encoding will be favored.
- getEncodingHintWeight() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the weight used to help resolve ambiguous results.
- getEndOffset() - Method in class com.basistech.rosette.dm.Attribute
-
Return the end character offset.
- getEntities() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of entities.
- getEntityMentions() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Deprecated.
this constructs a list of the old objects for compatibility, the supported
item is Mention
.
- getErrorCode() - Method in exception com.basistech.rosette.languageidentifier.LanguageIdentificationException
-
Deprecated.
- getErrorString() - Method in exception com.basistech.rosette.languageidentifier.LanguageIdentificationException
-
Deprecated.
- getExtendedProperties() - Method in class com.basistech.rosette.dm.BaseAttribute
-
Returns the extended properties.
- getGramCount() - Method in class com.basistech.rosette.languageidentifier.Result
-
- getGramMatchCount() - Method in class com.basistech.rosette.languageidentifier.Result
-
- getHighBitCount() - Method in class com.basistech.rosette.languageidentifier.Result
-
- getInvalidByteCount() - Method in class com.basistech.rosette.languageidentifier.Result
-
- getInvalidityThreshold() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get N-gram distance invalidity threshold, value range [0-100].
- getInvalidityThreshold() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- getItemClass() - Method in class com.basistech.rosette.dm.ListAttribute
-
Internal use method for Jackson/Json serialization.
- getItems() - Method in class com.basistech.rosette.dm.ListAttribute
-
Internal use API used in Jackson serialization.
- getLanguage() - Method in class com.basistech.rosette.dm.LanguageDetection.DetectionResult
-
Returns the detected language.
- getLanguage() - Method in class com.basistech.rosette.languageidentifier.Result
-
Returns the determined language for this result as a LanguageCode.
- getLanguage() - Method in exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
Returns the language associated with this exception.
- getLanguageDetectionRegions() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of language regions.
- getLanguageHint() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Return the current LanguageCode for the hint used to help resolve ambiguous results.
- getLanguageHintWeight() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Return the current weight for the hint used to help resolve ambiguous results.
- getLanguageWeightAdjustments() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- getMaxRegion() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- getMetadata() - Method in class com.basistech.rosette.dm.RawData
-
Returns the metadata.
- getMimeName() - Method in enum com.basistech.rosette.util.EncodingCode
-
Get the mime name for this encoding.
- getMinRegion() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- getMinValidChars() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the minimum number of valid characters required for identification.
- getNativeCode() - Method in enum com.basistech.rosette.languageidentifier.ReturnCode
-
Deprecated.
Get the numeric ID for this return code.
- getNumProfiles() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Get the number of language/script/encoding profiles supported by LanguageIdentifier.
- getProfileDepth() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Returns the current number of most frequent ngrams to consider in detection.
- getProfileDepth() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- getRelationshipMentions() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of relationship mentions.
- getResolvedEntities() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Deprecated.
this constructs a list of the old objects for compatibility, the supported item
is Entity
.
- getScript() - Method in class com.basistech.rosette.dm.LanguageDetection.DetectionResult
-
Returns the script.
- getScript() - Method in class com.basistech.rosette.dm.ScriptRegion
-
Returns the script for this region.
- getScript() - Method in class com.basistech.rosette.languageidentifier.Result
-
Returns the encoding script for this result.
This is useful for languages and encodings that have multiple
script implementations.
- getScriptRegions() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of script regions.
- getSentences() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of sentences.
- getSentimentResults() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of sentiment results.
- getShortcutEncoding() - Method in class com.basistech.rosette.languageidentifier.Result
-
- getStartOffset() - Method in class com.basistech.rosette.dm.Attribute
-
Returns the start character offset.
- getSupportedProfiles() - Static method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
- getTokens() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the list of tokens.
- getTranslatedData() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the translations for the text.
- getTranslatedTokens() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the translated tokens.
- getTypeName() - Method in enum com.basistech.rosette.util.EncodingCode
-
Get the type name for this encoding.
- getWeightAdjustments() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
For testing, allow a test to fish these back out.
- getWholeTextLanguageDetection() - Method in class com.basistech.rosette.dm.AnnotatedText
-
Returns the language results for the entire text.
- language(LanguageCode) - Method in class com.basistech.rosette.dm.LanguageDetection.DetectionResult.Builder
-
Specifies the language.
- language() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder.WeightAdjustmentKey
-
- LanguageCode - Enum in com.basistech.util
-
Enumeration for a set of ISO 639-based language codes used in Basis products.
LanguageCodes
are based on the Feb 10, 2009 version of ISO 639-3.
- LanguageDetection - Class in com.basistech.rosette.dm
-
The results of running language detection on a region of text.
- LanguageDetection.Builder - Class in com.basistech.rosette.dm
-
A builder for language detection results.
- LanguageDetection.Builder(int, int, List<LanguageDetection.DetectionResult>) - Constructor for class com.basistech.rosette.dm.LanguageDetection.Builder
-
Constructs a builder from the required properties.
- LanguageDetection.Builder(LanguageDetection) - Constructor for class com.basistech.rosette.dm.LanguageDetection.Builder
-
Constructs a builder by copying the values from an existing language detection.
- LanguageDetection.DetectionResult - Class in com.basistech.rosette.dm
-
A single result from language detection.
- LanguageDetection.DetectionResult.Builder - Class in com.basistech.rosette.dm
-
Builder for detection results.
- LanguageDetection.DetectionResult.Builder(LanguageCode) - Constructor for class com.basistech.rosette.dm.LanguageDetection.DetectionResult.Builder
-
Constructs a builder with default values.
- LanguageDetection.DetectionResult.Builder(LanguageDetection.DetectionResult) - Constructor for class com.basistech.rosette.dm.LanguageDetection.DetectionResult.Builder
-
Constructs a builder initialized from an existing detection result.
- languageDetectionRegions(ListAttribute<LanguageDetection>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Attaches a list of language detections.
- languageHint(LanguageCode, Double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Deprecated.
- languageHint() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Deprecated.
- languageHintWeight() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Deprecated.
- languageID() - Method in enum com.basistech.util.LanguageCode
-
Returns the numeric ID attribute.
- LanguageIdentificationAnnotator - Interface in com.basistech.rosette.languageidentifier
-
Interface to language identification that supports byte input for encoding detection
as well as character input.
- LanguageIdentificationException - Exception in com.basistech.rosette.languageidentifier
-
Deprecated.
- LanguageIdentificationException(ReturnCode) - Constructor for exception com.basistech.rosette.languageidentifier.LanguageIdentificationException
-
Deprecated.
- LanguageIdentificationException(String, ReturnCode) - Constructor for exception com.basistech.rosette.languageidentifier.LanguageIdentificationException
-
Deprecated.
- LanguageIdentifier - Class in com.basistech.rosette.languageidentifier
-
Deprecated.
Use the LanguageIdentifierBuilder
to create an
Annotator
.
Rosette Language Identifier - the starting point for identification of
language + encoding + script .
You can obtain a LanguageIdentifier instance from a
LanguageIdentifierFactory instance. Once that is done, LanguageIdentifier
settings can be configured on a per-instance basis.
LanguageIdentifier instances cannot be shared by different threads.
Typical Usage:
LanguageIdentifierFactory lif = new LanguageIdentifierFactory(validLicense);
LanguageIdentifier LanguageId = lif.create();
Result[] results = languageId.detect("Data string");
The return value of any of the detect methods is an ordered array of Result objects.
Each Result represents a possibility for the detected language and encoding.
(see
com.basistech.rli.Result
)
Any call to a detect method takes the given input and forms an InputProfile.
Characteristics of the InputProfile and Results may be set within the LanguageIdentifier
using set methods before calling detect:
- ProfileDepth - the number of most frequent ngrams to consider for detection.
Smaller depth results in faster operation but lower detection accuracy.
- MinValidChars - the minimum number of valid chars needed to perform detection.
- Ambiguity - N-gram distance ambiguity threshold, value range [0-100].
Input profile distances closer to each other than this threshold will be deemed
ambiguous.
- Invalidity - N-gram distance invalidity threshold, value range [0-100]. Input profile
distance exceeding this threshold will be deemed invalid.
- LanguageHint - a LanguageCode and weight are used to help resolve ambiguous results,
results matching the hint language will be favored. (The Language should be one
of the supported LanguageCodes) Weight of language hint has a value range [1-99].
A value of N reduces the distance of correctly hinted ambiguous result to by N%.
A value of 1 is the lightest hint, value of 99 the strongest.
- EncodingHint - a encoding and weight used to help resolve ambiguous results, results
matching the hint encoding will be favored. The name should be one of the supported
encoding MIME names. The weight of encoding hint, has a value in the range [1-100].
A value of N reduces the distance of correctly hinted result by N%.
A value of 1 is the lightest hint, value of 100 forces the detector to consider
only the results with the hinted encoding.
- LanguageIdentifierBuilder - Class in com.basistech.rosette.languageidentifier
-
Builder for language identifier objects.
- LanguageIdentifierBuilder(File) - Constructor for class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Constructs a builder from a directory.
- LanguageIdentifierBuilder(String) - Constructor for class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Constructs a builder using a license from an XML-formatted string.
- LanguageIdentifierBuilder.WeightAdjustmentKey - Class in com.basistech.rosette.languageidentifier
-
A pair, consisting of a language and (optional) script, used for language hints.
- LanguageIdentifierBuilder.WeightAdjustmentKey(LanguageCode, ISO15924) - Constructor for class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder.WeightAdjustmentKey
-
- LanguageIdentifierFactory - Class in com.basistech.rosette.languageidentifier
-
Deprecated.
Use the LanguageIdentifierBuilder
to create an
Annotator
.
Factory to create LanguageIdentifier instances.
Set the license with the factory, and set LanguageIdentifier
options within the instance.
- LanguageIdentifierFactory(InputStream) - Constructor for class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Construct a factory using a license from an InputStream.
- LanguageIdentifierFactory(String) - Constructor for class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Construct a factory using a license from an XML-formatted String.
- LanguageIdentifierFactory(File) - Constructor for class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Construct a factory using a license from a File.
- LanguageIDIsValid(int) - Static method in enum com.basistech.util.LanguageCode
-
Returns whether there is a LanguageCode
with ID languageID
.
- languageName() - Method in enum com.basistech.util.LanguageCode
-
Returns the name attribute.
- languageWeightAdjustment(LanguageCode, ISO15924, int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Set a hint value for a language, or a language and a script.
- languageWeightAdjustments() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
- lastIndexOf(Object) - Method in class com.basistech.rosette.dm.ListAttribute
-
- license(byte[]) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Supply a license, overriding any license file in the rootDirectory/licenses directory.
- license(String) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Supply a license, overriding any license file in the rootDirectory/licenses directory..
- license() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
- ListAttribute<Item extends BaseAttribute> - Class in com.basistech.rosette.dm
-
A container for an ordered collection of attributes of a type.
- ListAttribute.Builder<Item extends BaseAttribute> - Class in com.basistech.rosette.dm
-
A builder for lists.
- ListAttribute.Builder(Class<? extends BaseAttribute>) - Constructor for class com.basistech.rosette.dm.ListAttribute.Builder
-
Constructs an empty builder.
- listIterator() - Method in class com.basistech.rosette.dm.ListAttribute
-
- listIterator(int) - Method in class com.basistech.rosette.dm.ListAttribute
-
- lookupByCode4(String) - Static method in enum com.basistech.util.ISO15924
-
Locate a script by 4-character code value.
- lookupByISO639(String) - Static method in enum com.basistech.util.LanguageCode
-
Returns the LanguageCode
with ISO code attribute iso639
.
- lookupByLanguageID(int) - Static method in enum com.basistech.util.LanguageCode
-
Returns the LanguageCode
with ID languageID
.
- lookupByMimeName(String) - Static method in enum com.basistech.rosette.util.EncodingCode
-
Take a mime name and return an enumerator.
- lookupByNativeCode(int) - Static method in enum com.basistech.rosette.languageidentifier.ReturnCode
-
Deprecated.
Return an enumeration for this return code.
- lookupByNumeric(int) - Static method in enum com.basistech.util.ISO15924
-
Locate a script by numeric code value.
- lookupByTypeName(String) - Static method in enum com.basistech.rosette.util.EncodingCode
-
Take a encoding name and return an enumerator.
- RawData - Class in com.basistech.rosette.dm
-
A container for incoming raw data (bytes).
- RawData(ByteBuffer, Map<String, List<String>>) - Constructor for class com.basistech.rosette.dm.RawData
-
Constructs from a buffer of data and some metadata.
- relationshipMentions(ListAttribute<RelationshipMention>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Attaches a list of relationship mentions.
- remove(Object) - Method in class com.basistech.rosette.dm.ListAttribute
-
- remove(int) - Method in class com.basistech.rosette.dm.ListAttribute
-
- removeAll(Collection<?>) - Method in class com.basistech.rosette.dm.ListAttribute
-
- resolvedEntities(ListAttribute<ResolvedEntity>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
- Result - Class in com.basistech.rosette.languageidentifier
-
A call to a detect
method of a LanguageIdentifier
generates packaged results in an array of Result
objects.
- Result() - Constructor for class com.basistech.rosette.languageidentifier.Result
-
- retainAll(Collection<?>) - Method in class com.basistech.rosette.dm.ListAttribute
-
- ReturnCode - Enum in com.basistech.rosette.languageidentifier
-
Deprecated.
- RLICmd - Class in com.basistech.rosette.languageidentifier
-
A command-line utility for RLI-JE.
- RLICmd() - Constructor for class com.basistech.rosette.languageidentifier.RLICmd
-
- RLICmd.LanguageWeightAdjustmentOptionHandler - Class in com.basistech.rosette.languageidentifier
-
Deprecated.
- RLICmd.LanguageWeightAdjustmentOptionHandler(CmdLineParser, OptionDef, <any>) - Constructor for class com.basistech.rosette.languageidentifier.RLICmd.LanguageWeightAdjustmentOptionHandler
-
Deprecated.
- rootDirectory(File) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Specify the root directory.
- rootDirectory() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
- RosetteConfiguration - Interface in com.basistech.rosette
-
This is a marker interface to mark classes that provide configuration
for factories and components.
- RosetteConfigurationKey - Interface in com.basistech.rosette
-
This is a marker interface for enums used
as configuration keys for Rosette factories
and components.
- RosetteCorruptLicenseException - Exception in com.basistech.rosette
-
Indicates that a license is corrupt, e.g.
- RosetteCorruptLicenseException() - Constructor for exception com.basistech.rosette.RosetteCorruptLicenseException
-
- RosetteCorruptLicenseException(String) - Constructor for exception com.basistech.rosette.RosetteCorruptLicenseException
-
- RosetteCorruptLicenseException(Throwable) - Constructor for exception com.basistech.rosette.RosetteCorruptLicenseException
-
- RosetteCorruptLicenseException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteCorruptLicenseException
-
- RosetteException - Exception in com.basistech.rosette
-
Base exception class for checked errors in Rosette.
- RosetteException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteException
-
- RosetteException(String) - Constructor for exception com.basistech.rosette.RosetteException
-
- RosetteException(Throwable) - Constructor for exception com.basistech.rosette.RosetteException
-
- RosetteException() - Constructor for exception com.basistech.rosette.RosetteException
-
- RosetteExpiredLicenseException - Exception in com.basistech.rosette
-
Attempt to use a Rosette feature for which the license has expired.
- RosetteExpiredLicenseException() - Constructor for exception com.basistech.rosette.RosetteExpiredLicenseException
-
- RosetteExpiredLicenseException(String) - Constructor for exception com.basistech.rosette.RosetteExpiredLicenseException
-
- RosetteExpiredLicenseException(Throwable) - Constructor for exception com.basistech.rosette.RosetteExpiredLicenseException
-
- RosetteExpiredLicenseException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteExpiredLicenseException
-
- RosetteIllegalArgumentException - Exception in com.basistech.rosette
-
Thrown to indicate that a Rosette component has been passed an illegal or
inappropriate argument, for example, if a component requires tokens but
no tokens were supplied.
- RosetteIllegalArgumentException() - Constructor for exception com.basistech.rosette.RosetteIllegalArgumentException
-
Constructs a RosetteIllegalArgumentException
with no
detail message.
- RosetteIllegalArgumentException(String) - Constructor for exception com.basistech.rosette.RosetteIllegalArgumentException
-
Constructs a RosetteIllegalArgumentException
with the
specified detail message.
- RosetteIllegalArgumentException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteIllegalArgumentException
-
Constructs a RosetteIllegalArgumentException
with the specified
detail message and cause.
- RosetteIllegalArgumentException(Throwable) - Constructor for exception com.basistech.rosette.RosetteIllegalArgumentException
-
Constructs a RosetteIllegalArgumentException
with the specified
cause and a default detail message based on the cause.
- RosetteInterruptedException - Exception in com.basistech.rosette
-
- RosetteInterruptedException() - Constructor for exception com.basistech.rosette.RosetteInterruptedException
-
- RosetteInterruptedException(String) - Constructor for exception com.basistech.rosette.RosetteInterruptedException
-
- RosetteInterruptedException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteInterruptedException
-
- RosetteInterruptedException(Throwable) - Constructor for exception com.basistech.rosette.RosetteInterruptedException
-
- RosetteNoLicenseException - Exception in com.basistech.rosette
-
Attempt to use a Rosette feature for which there is no license.
- RosetteNoLicenseException() - Constructor for exception com.basistech.rosette.RosetteNoLicenseException
-
- RosetteNoLicenseException(String) - Constructor for exception com.basistech.rosette.RosetteNoLicenseException
-
- RosetteNoLicenseException(Throwable) - Constructor for exception com.basistech.rosette.RosetteNoLicenseException
-
- RosetteNoLicenseException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteNoLicenseException
-
- RosetteRuntimeException - Exception in com.basistech.rosette
-
Base class for unchecked Rosette exceptions.
- RosetteRuntimeException() - Constructor for exception com.basistech.rosette.RosetteRuntimeException
-
- RosetteRuntimeException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteRuntimeException
-
- RosetteRuntimeException(String) - Constructor for exception com.basistech.rosette.RosetteRuntimeException
-
- RosetteRuntimeException(Throwable) - Constructor for exception com.basistech.rosette.RosetteRuntimeException
-
- RosetteSystemBundlePackage - Annotation Type in com.basistech.rosette
-
Mark a package for inclusion in the system bundle
when Rosette is deployed in an embedded OSGi container..
- RosetteUnsupportedLanguageException - Exception in com.basistech.rosette
-
Exception resulting from attempting to use an unsupported language.
- RosetteUnsupportedLanguageException() - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
- RosetteUnsupportedLanguageException(String, Throwable) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
- RosetteUnsupportedLanguageException(String) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
- RosetteUnsupportedLanguageException(Throwable) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
- RosetteUnsupportedLanguageException(LanguageCode) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
Constructs an RosetteUnsupportedLanguageException
with the
specified language.
- RosetteUnsupportedLanguageException(LanguageCode, String) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
Constructs an RosetteUnsupportedLanguageException
with the
specified language and detail message.
- RosetteUnsupportedLanguageException(LanguageCode, Throwable) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
Constructs an RosetteUnsupportedLanguageException
with the
specified language and cause.
- RosetteUnsupportedLanguageException(LanguageCode, String, Throwable) - Constructor for exception com.basistech.rosette.RosetteUnsupportedLanguageException
-
Constructs an RosetteUnsupportedLanguageException
with the
specified language, detail message, and cause.
- run(String[]) - Method in class com.basistech.rosette.languageidentifier.RLICmd
-
- script(ISO15924) - Method in class com.basistech.rosette.dm.LanguageDetection.DetectionResult.Builder
-
Specifies the script.
- script() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder.WeightAdjustmentKey
-
- ScriptRegion - Class in com.basistech.rosette.dm
-
A script region.
- ScriptRegion.Builder - Class in com.basistech.rosette.dm
-
Builder for script regions.
- ScriptRegion.Builder(int, int, ISO15924) - Constructor for class com.basistech.rosette.dm.ScriptRegion.Builder
-
Constructs a script region builder from the required values.
- ScriptRegion.Builder(ScriptRegion) - Constructor for class com.basistech.rosette.dm.ScriptRegion.Builder
-
Constructs a builder from an existing script region.
- scriptRegions(ListAttribute<ScriptRegion>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Attaches a list of script regions.
- sentences(ListAttribute<Sentence>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Attaches a list of sentences.
- sentimentResults(ListAttribute<CategorizerResult>) - Method in class com.basistech.rosette.dm.AnnotatedText.Builder
-
Attaches a list of sentiment results.
- set(int, Item) - Method in class com.basistech.rosette.dm.ListAttribute
-
- setActive(boolean) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setAllUppercase(boolean) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setAmbiguityThreshold(double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the N-gram distance ambiguity threshold.
- setAmbiguityThreshold(double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Set the ambiguity threshold used by the region locator.
- setBreakRegionOnScriptBoundary(boolean) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
- setCharCount(int) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setDistance(double) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setEncodingHint(EncodingCode) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the EncodingCode used to help resolve ambiguous results, results
matching the hint encoding will be favored.
- setEncodingHint(EncodingCode, double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the EncodingCode and weight used to help resolve ambiguous results, results
matching the hint encoding will be favored.
- setEndOffset(int) - Method in class com.basistech.rosette.dm.Attribute.Builder
-
- setGramCount(int) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setGramMatchCount(int) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setHighBitCount(int) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setInvalidByteCount(int) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setInvalidityThreshold(double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set N-gram distance invalidity threshold, value range [0-100].
- setInvalidityThreshold(double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Set the invalidity threshold used by the region locator.
- setItems(List<Item>) - Method in class com.basistech.rosette.dm.ListAttribute.Builder
-
Specifies the complete list of items.
- setLanguageHint(LanguageCode) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the LanguageCode for the hint used to help resolve ambiguous results.
- setLanguageHint(LanguageCode, double) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the LanguageCode and weight for the hint used to help resolve ambiguous results.
- setLanguageWeightAdjustment(LanguageCode, int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Specifies a language weight adjustment.
- setLanguageWeightAdjustment(LanguageCode, ISO15924, int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Specifies a language and script weight adjustment.
- setMaxRegion(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
set the maximum region length (amount of text examined in a script region)
for the language region detector.
- setMaxResults(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the maximum number of results to return.
- setMinRegion(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Set the minimum length for a region.
- setMinValidChars(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Set the minimum number of valid characters required for identification.
- setProfileDepth(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifier
-
Deprecated.
Sets the current number of most frequent ngrams to consider in detection.
- setProfileDepth(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierFactory
-
Deprecated.
Set the profile depth used for the region detector.
- setShortcutEncoding(EncodingCode) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setUnambiguous(boolean) - Method in class com.basistech.rosette.languageidentifier.Result
-
- setValid(boolean) - Method in class com.basistech.rosette.languageidentifier.Result
-
- shortStringThreshold(int) - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
Set the threshold for short string processing.
- shortStringThreshold() - Method in class com.basistech.rosette.languageidentifier.LanguageIdentifierBuilder
-
- size() - Method in class com.basistech.rosette.dm.ListAttribute
-
- startOffset(int) - Method in class com.basistech.rosette.dm.Attribute.Builder
-
Specifies the start character offset.
- subList(int, int) - Method in class com.basistech.rosette.dm.ListAttribute
-