A B C D E G H I J L N R S T U V W

A

AbstractCategorizedTrainableClassifier - class net.sf.classifier4J.AbstractCategorizedTrainableClassifier.
 
AbstractCategorizedTrainableClassifier() - Constructor for class net.sf.classifier4J.AbstractCategorizedTrainableClassifier
 
AbstractClassifier - class net.sf.classifier4J.AbstractClassifier.
Implementaion of the IClassifier.setMatchCutoff(double) and IClassifier.isMatch(java.lang.String) methods.
AbstractClassifier() - Constructor for class net.sf.classifier4J.AbstractClassifier
 
addMatch(String) - Method in class net.sf.classifier4J.bayesian.SimpleWordsDataSource
 
addMatch(String) - Method in class net.sf.classifier4J.bayesian.JDBCWordsDataSource
 
addMatch(String) - Method in interface net.sf.classifier4J.bayesian.IWordsDataSource
Add a matching word to the data source
addMatch(String, String) - Method in class net.sf.classifier4J.bayesian.JDBCWordsDataSource
 
addMatch(String, String) - Method in interface net.sf.classifier4J.bayesian.ICategorisedWordsDataSource
Add a matching word to the data source
addNonMatch(String) - Method in class net.sf.classifier4J.bayesian.SimpleWordsDataSource
 
addNonMatch(String) - Method in class net.sf.classifier4J.bayesian.JDBCWordsDataSource
 
addNonMatch(String) - Method in interface net.sf.classifier4J.bayesian.IWordsDataSource
Add a non-matching word to the data source
addNonMatch(String, String) - Method in class net.sf.classifier4J.bayesian.JDBCWordsDataSource
 
addNonMatch(String, String) - Method in interface net.sf.classifier4J.bayesian.ICategorisedWordsDataSource
Add a non-matching word to the data source
addTermVector(String, TermVector) - Method in interface net.sf.classifier4J.vector.TermVectorStorage
 
addTermVector(String, TermVector) - Method in class net.sf.classifier4J.vector.HashMapTermVectorStorage
 
append(boolean) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a boolean.
append(boolean[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a boolean array.
append(boolean[], boolean[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of boolean.
append(boolean[], boolean[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two boolean arrays.
append(boolean, boolean) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two booleanss are equal.
append(boolean, boolean) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two booleanss.
append(byte) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a byte.
append(byte[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a byte array.
append(byte[], byte[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of byte.
append(byte[], byte[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two byte arrays.
append(byte, byte) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two bytes are equal.
append(byte, byte) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two bytes.
append(char) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a char.
append(char[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a char array.
append(char[], char[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of char.
append(char[], char[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two char arrays.
append(char, char) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two chars are equal.
append(char, char) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two chars.
append(double) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a double.
append(double[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a double array.
append(double[], double[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of double.
append(double[], double[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two double arrays.
append(double, double) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two doubles are equal by testing that the pattern of bits returned by doubleToLong are equal.
append(double, double) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two doubles.
append(float) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a float.
append(float[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a float array.
append(float[], float[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of float.
append(float[], float[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two float arrays.
append(float, float) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two floats are equal byt testing that the pattern of bits returned by doubleToLong are equal.
append(float, float) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two floats.
append(int) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for an int.
append(int[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for an int array.
append(int[], int[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of int.
append(int[], int[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two int arrays.
append(int, int) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two ints are equal.
append(int, int) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two ints.
append(long) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a long.
append(long[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a long array.
append(long[], long[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of long.
append(long[], long[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two long arrays.
append(long, long) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two longs are equal.
append(long, long) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two longs.
append(Object) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for an Object.
append(Object[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for an Object array.
append(Object[], Object[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Performs a deep comparison of two Object arrays.
append(Object[], Object[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two Object arrays.
append(Object[], Object[], Comparator) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two Object arrays.
append(Object, Object) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two Objects are equal using their equals method.
append(Object, Object) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two Objects.
append(Object, Object, Comparator) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two Objects.
append(short) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a short.
append(short[]) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Append a hashCode for a short array.
append(short[], short[]) - Method in class net.sf.classifier4J.util.EqualsBuilder
Deep comparison of array of short.
append(short[], short[]) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the deep comparison of two short arrays.
append(short, short) - Method in class net.sf.classifier4J.util.EqualsBuilder
Test if two shorts are equal.
append(short, short) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the comparison of two shorts.
append(String, double) - Method in class net.sf.classifier4J.util.ToStringBuilder
 
append(String, Object) - Method in class net.sf.classifier4J.util.ToStringBuilder
 
appendSuper(boolean) - Method in class net.sf.classifier4J.util.EqualsBuilder
Adds the result of super.equals() to this builder.
appendSuper(int) - Method in class net.sf.classifier4J.util.HashCodeBuilder
Adds the result of super.hashCode() to this builder.
appendSuper(int) - Method in class net.sf.classifier4J.util.CompareToBuilder
Appends to the builder the compareTo(Object) result of the superclass.

B

BayesianClassifier - class net.sf.classifier4J.bayesian.BayesianClassifier.
A implementation of IClassifier based on Bayes' theorem (see http://www.wikipedia.org/wiki/Bayes_theorem).
BayesianClassifier() - Constructor for class net.sf.classifier4J.bayesian.BayesianClassifier
Default constructor that uses the SimpleWordsDataSource & a DefaultTokenizer (set to BREAK_ON_WORD_BREAKS).
BayesianClassifier(IWordsDataSource) - Constructor for class net.sf.classifier4J.bayesian.BayesianClassifier
Constructor for BayesianClassifier that specifies a datasource.
BayesianClassifier(IWordsDataSource, ITokenizer) - Constructor for class net.sf.classifier4J.bayesian.BayesianClassifier
Constructor for BayesianClassifier that specifies a datasource & tokenizer
BayesianClassifier(IWordsDataSource, ITokenizer, IStopWordProvider) - Constructor for class net.sf.classifier4J.bayesian.BayesianClassifier
Constructor for BayesianClassifier that specifies a datasource, tokenizer and stop words provider
BREAK_ON_WHITESPACE - Static variable in class net.sf.classifier4J.DefaultTokenizer
Use a the "\s" (whitespace) regexp to split the string passed to classify
BREAK_ON_WORD_BREAKS - Static variable in class net.sf.classifier4J.DefaultTokenizer
Use a the "\W" (non-word characters) regexp to split the string passed to classify

C

calculateOverallProbability(WordProbability[]) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
NOTE: Override this method with care.
ClassifierException - exception net.sf.classifier4J.ClassifierException.
A classifier exception
ClassifierException(String) - Constructor for class net.sf.classifier4J.ClassifierException
 
ClassifierException(String, Throwable) - Constructor for class net.sf.classifier4J.ClassifierException
 
classify(String) - Method in class net.sf.classifier4J.SimpleClassifier
 
classify(String) - Method in interface net.sf.classifier4J.IClassifier
Function to determine the probability string matches a criteria.
classify(String) - Method in class net.sf.classifier4J.AbstractCategorizedTrainableClassifier
 
classify(String, String) - Method in interface net.sf.classifier4J.ICategorisedClassifier
Function to determine the probability string matches a criteria for a given category.
classify(String, String) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
classify(String, String) - Method in class net.sf.classifier4J.vector.VectorClassifier
 
classify(String, String[]) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
compare(double, double) - Static method in class net.sf.classifier4J.util.CompareToBuilder
 
compareTo(Object) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
CompareToBuilder - class net.sf.classifier4J.util.CompareToBuilder.
Assists in implementing Comparable.compareTo(Object) methods.
CompareToBuilder() - Constructor for class net.sf.classifier4J.util.CompareToBuilder
Constructor for CompareToBuilder.
cosineOfVectors(int[], int[]) - Static method in class net.sf.classifier4J.vector.VectorUtils
 
countWords(String, String[]) - Static method in class net.sf.classifier4J.Utilities
Count how many times a word appears in an array of words
CustomizableStopWordProvider - class net.sf.classifier4J.CustomizableStopWordProvider.
 
CustomizableStopWordProvider() - Constructor for class net.sf.classifier4J.CustomizableStopWordProvider
 
CustomizableStopWordProvider(String) - Constructor for class net.sf.classifier4J.CustomizableStopWordProvider
 
cutoff - Variable in class net.sf.classifier4J.AbstractClassifier
 

D

DataSourceJDBCConnectionManager - class net.sf.classifier4J.bayesian.DataSourceJDBCConnectionManager.
 
DataSourceJDBCConnectionManager(String) - Constructor for class net.sf.classifier4J.bayesian.DataSourceJDBCConnectionManager
 
DEFAULT_CATEGORY - Static variable in interface net.sf.classifier4J.ICategorisedClassifier
 
DEFAULT_CUTOFF - Static variable in interface net.sf.classifier4J.IClassifier
Default cutoff value used by defautl implmentation of isMatch.
DEFAULT_STOPWORD_PROVIDER_RESOURCENAME - Static variable in class net.sf.classifier4J.CustomizableStopWordProvider
 
DEFAULT_VECTORCLASSIFIER_CUTOFF - Static variable in class net.sf.classifier4J.vector.VectorClassifier
 
DefaultStopWordsProvider - class net.sf.classifier4J.DefaultStopWordsProvider.
 
DefaultStopWordsProvider() - Constructor for class net.sf.classifier4J.DefaultStopWordsProvider
 
DefaultTokenizer - class net.sf.classifier4J.DefaultTokenizer.
 
DefaultTokenizer() - Constructor for class net.sf.classifier4J.DefaultTokenizer
Constructor that using the BREAK_ON_WORD_BREAKS tokenizer config by default
DefaultTokenizer(int) - Constructor for class net.sf.classifier4J.DefaultTokenizer
 
DefaultTokenizer(String) - Constructor for class net.sf.classifier4J.DefaultTokenizer
 
DriverMangerJDBCConnectionManager - class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager.
 
DriverMangerJDBCConnectionManager(String, String, String) - Constructor for class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 

E

equals(Object) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
EqualsBuilder - class net.sf.classifier4J.util.EqualsBuilder.
Assists in implementing Object.equals(Object) methods.
EqualsBuilder() - Constructor for class net.sf.classifier4J.util.EqualsBuilder
Constructor for EqualsBuilder.

G

generateTermValuesVector(String[], Map) - Method in class net.sf.classifier4J.vector.VectorClassifier
 
getAll() - Method in class net.sf.classifier4J.bayesian.SimpleWordsDataSource
 
getCategory() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
getConnection() - Method in interface net.sf.classifier4J.bayesian.IJDBCConnectionManager
 
getConnection() - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
getConnection() - Method in class net.sf.classifier4J.bayesian.DataSourceJDBCConnectionManager
 
getCustomTokenizerRegExp() - Method in class net.sf.classifier4J.DefaultTokenizer
 
getDatasourceContext() - Method in class net.sf.classifier4J.bayesian.DataSourceJDBCConnectionManager
 
getDbPassword() - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
getDbURL() - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
getDbUser() - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
getDirectory() - Method in class net.sf.classifier4J.util.Resource
Returns the directory containing the resource, or null if the resource isn't directly available on the filesystem.
getInputStream() - Method in class net.sf.classifier4J.util.Resource
Returns an input stream to read the resource contents
getMatchCutoff() - Method in class net.sf.classifier4J.AbstractClassifier
 
getMatchingCount() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
getMostFrequentWords(int, Map) - Static method in class net.sf.classifier4J.Utilities
 
getMostFrequentWords(int, Map) - Method in class net.sf.classifier4J.summariser.SimpleSummariser
 
getName() - Method in class net.sf.classifier4J.util.Resource
Returns the resource name, as passed to the constructor
getNonMatchingCount() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
getProbability() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
getSearchWord() - Method in class net.sf.classifier4J.SimpleClassifier
 
getSentences(String) - Static method in class net.sf.classifier4J.Utilities
 
getStopWordProvider() - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
getStopWords() - Method in class net.sf.classifier4J.DefaultStopWordsProvider
getter method which can be overridden to supply the stop words.
getString(InputStream) - Static method in class net.sf.classifier4J.Utilities
Given an inputStream, this method returns a String.
getTerms() - Method in class net.sf.classifier4J.vector.TermVector
 
getTermVector(String) - Method in interface net.sf.classifier4J.vector.TermVectorStorage
 
getTermVector(String) - Method in class net.sf.classifier4J.vector.HashMapTermVectorStorage
 
getTokenizer() - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
getTokenizerConfig() - Method in class net.sf.classifier4J.DefaultTokenizer
 
getUniqueWords(String[]) - Static method in class net.sf.classifier4J.Utilities
Find all unique words in an array of words
getValues() - Method in class net.sf.classifier4J.vector.TermVector
 
getWord() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
getWordFrequency(String) - Static method in class net.sf.classifier4J.Utilities
 
getWordFrequency(String, boolean) - Static method in class net.sf.classifier4J.Utilities
 
getWordFrequency(String, boolean, ITokenizer, IStopWordProvider) - Static method in class net.sf.classifier4J.Utilities
Get a Map of words and Integer representing the number of each word
getWordProbability(String) - Method in class net.sf.classifier4J.bayesian.SimpleWordsDataSource
 
getWordProbability(String) - Method in class net.sf.classifier4J.bayesian.JDBCWordsDataSource
 
getWordProbability(String) - Method in interface net.sf.classifier4J.bayesian.IWordsDataSource
 
getWordProbability(String, String) - Method in class net.sf.classifier4J.bayesian.JDBCWordsDataSource
 
getWordProbability(String, String) - Method in interface net.sf.classifier4J.bayesian.ICategorisedWordsDataSource
 
getWordsDataSource() - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 

H

hashCode() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
HashCodeBuilder - class net.sf.classifier4J.util.HashCodeBuilder.
Assists in implementing Object.hashCode() methods.
HashCodeBuilder() - Constructor for class net.sf.classifier4J.util.HashCodeBuilder
Constructor.
HashCodeBuilder(int, int) - Constructor for class net.sf.classifier4J.util.HashCodeBuilder
Constructor.
HashMapTermVectorStorage - class net.sf.classifier4J.vector.HashMapTermVectorStorage.
 
HashMapTermVectorStorage() - Constructor for class net.sf.classifier4J.vector.HashMapTermVectorStorage
 

I

ICategorisedClassifier - interface net.sf.classifier4J.ICategorisedClassifier.
 
ICategorisedWordsDataSource - interface net.sf.classifier4J.bayesian.ICategorisedWordsDataSource.
Interface used by BayesianClassifier to determine the probability of each word based on a particular category.
IClassifier - interface net.sf.classifier4J.IClassifier.
Defines an interface for the classification of Strings.
IJDBCConnectionManager - interface net.sf.classifier4J.bayesian.IJDBCConnectionManager.
 
init() - Method in class net.sf.classifier4J.CustomizableStopWordProvider
 
isCaseSensitive() - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
isEquals() - Method in class net.sf.classifier4J.util.EqualsBuilder
Return true if the fields that have been checked are all equal.
isMatch(double) - Method in interface net.sf.classifier4J.IClassifier
Convenience method which takes a match probability (calculated by IClassifier.classify(java.lang.String)) and checks if it would be classified as a match or not
isMatch(double) - Method in class net.sf.classifier4J.AbstractClassifier
 
isMatch(String) - Method in interface net.sf.classifier4J.IClassifier
Function to determine if a string matches a criteria.
isMatch(String) - Method in class net.sf.classifier4J.AbstractClassifier
Implementation of IClassifier.isMatch(java.lang.String) method.
isMatch(String, String) - Method in interface net.sf.classifier4J.ICategorisedClassifier
Function to determine if a string matches a criteria for a given category
isMatch(String, String) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
isMatch(String, String) - Method in class net.sf.classifier4J.vector.VectorClassifier
 
isMatch(String, String[]) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
isStopWord(String) - Method in interface net.sf.classifier4J.IStopWordProvider
Check if a word is a stop word
isStopWord(String) - Method in class net.sf.classifier4J.DefaultStopWordsProvider
 
isStopWord(String) - Method in class net.sf.classifier4J.CustomizableStopWordProvider
 
IStopWordProvider - interface net.sf.classifier4J.IStopWordProvider.
 
ISummariser - interface net.sf.classifier4J.summariser.ISummariser.
An interface for doing text summarisation
ITokenizer - interface net.sf.classifier4J.ITokenizer.
 
ITrainable - interface net.sf.classifier4J.ITrainable.
 
ITrainableClassifier - interface net.sf.classifier4J.ITrainableClassifier.
 
IWordsDataSource - interface net.sf.classifier4J.bayesian.IWordsDataSource.
Interface used by BayesianClassifier to determine the probability of each word.

J

JDBCWordsDataSource - class net.sf.classifier4J.bayesian.JDBCWordsDataSource.
A JDBC based datasource.
JDBCWordsDataSource(IJDBCConnectionManager) - Constructor for class net.sf.classifier4J.bayesian.JDBCWordsDataSource
Create a JDBCWordsDataSource using the DEFAULT_CATEGORY ("DEFAULT")

L

lastModified() - Method in class net.sf.classifier4J.util.Resource
Returns when the resource was last modified.
LOWER_BOUND - Static variable in interface net.sf.classifier4J.IClassifier
The minimum likelyhood that a string matches

N

net.sf.classifier4J - package net.sf.classifier4J
 
net.sf.classifier4J.bayesian - package net.sf.classifier4J.bayesian
 
net.sf.classifier4J.summariser - package net.sf.classifier4J.summariser
 
net.sf.classifier4J.util - package net.sf.classifier4J.util
 
net.sf.classifier4J.vector - package net.sf.classifier4J.vector
 
NEUTRAL_PROBABILITY - Static variable in interface net.sf.classifier4J.IClassifier
Default value to use if the implementation cannot work out how well a string matches.
normaliseSignificance(double) - Static method in class net.sf.classifier4J.bayesian.BayesianClassifier
 

R

reflectionCompare(Object, Object) - Static method in class net.sf.classifier4J.util.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, boolean) - Static method in class net.sf.classifier4J.util.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, boolean, Class) - Static method in class net.sf.classifier4J.util.CompareToBuilder
Compares two Objects via reflection.
reflectionEquals(Object, Object) - Static method in class net.sf.classifier4J.util.EqualsBuilder
This method uses reflection to determine if the two Objects are equal.
reflectionEquals(Object, Object, boolean) - Static method in class net.sf.classifier4J.util.EqualsBuilder
This method uses reflection to determine if the two Objects are equal.
reflectionEquals(Object, Object, boolean, Class) - Static method in class net.sf.classifier4J.util.EqualsBuilder
This method uses reflection to determine if the two Objects are equal.
reflectionHashCode(int, int, Object) - Static method in class net.sf.classifier4J.util.HashCodeBuilder
This method uses reflection to build a valid hash code.
reflectionHashCode(int, int, Object, boolean) - Static method in class net.sf.classifier4J.util.HashCodeBuilder
This method uses reflection to build a valid hash code.
reflectionHashCode(int, int, Object, boolean, Class) - Static method in class net.sf.classifier4J.util.HashCodeBuilder
This method uses reflection to build a valid hash code.
reflectionHashCode(Object) - Static method in class net.sf.classifier4J.util.HashCodeBuilder
This method uses reflection to build a valid hash code.
reflectionHashCode(Object, boolean) - Static method in class net.sf.classifier4J.util.HashCodeBuilder
This method uses reflection to build a valid hash code.
registerMatch() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
registerNonMatch() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
resolveEntities(String) - Method in class net.sf.classifier4J.SimpleHTMLTokenizer
Replaces entity references with spaces
Resource - class net.sf.classifier4J.util.Resource.
A class to locate resources, retrieve their contents, and determine their last modified time.
Resource(String) - Constructor for class net.sf.classifier4J.util.Resource
 
returnConnection(Connection) - Method in interface net.sf.classifier4J.bayesian.IJDBCConnectionManager
 
returnConnection(Connection) - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
returnConnection(Connection) - Method in class net.sf.classifier4J.bayesian.DataSourceJDBCConnectionManager
 

S

scalarProduct(int[], int[]) - Static method in class net.sf.classifier4J.vector.VectorUtils
 
setCaseSensitive(boolean) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
setCategory(String) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
setCustomTokenizerRegExp(String) - Method in class net.sf.classifier4J.DefaultTokenizer
Allows the use of custom regular expressions to split up the input to IClassifier.classify(java.lang.String).
setDbPassword(String) - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
setDbURL(String) - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
setDbUser(String) - Method in class net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
 
setMatchCutoff(double) - Method in interface net.sf.classifier4J.IClassifier
Sets the cutoff below which the input is not considered a match
setMatchCutoff(double) - Method in class net.sf.classifier4J.AbstractClassifier
This implementation throws an IllegalArgumentException if cutoff is greater than 1 or less than 0.
setMatchingCount(long) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
setNonMatchingCount(long) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
setProbability(double) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
setSearchWord(String) - Method in class net.sf.classifier4J.SimpleClassifier
 
setTokenizerConfig(int) - Method in class net.sf.classifier4J.DefaultTokenizer
 
setWord(String) - Method in class net.sf.classifier4J.bayesian.WordProbability
 
setWordProbability(WordProbability) - Method in class net.sf.classifier4J.bayesian.SimpleWordsDataSource
 
SimpleClassifier - class net.sf.classifier4J.SimpleClassifier.
Very basic implemntation of the IClassifier interface.
SimpleClassifier() - Constructor for class net.sf.classifier4J.SimpleClassifier
 
SimpleHTMLTokenizer - class net.sf.classifier4J.SimpleHTMLTokenizer.
Simple HTML Tokenizer.
SimpleHTMLTokenizer() - Constructor for class net.sf.classifier4J.SimpleHTMLTokenizer
Constructor that using the BREAK_ON_WORD_BREAKS tokenizer config by default
SimpleHTMLTokenizer(int) - Constructor for class net.sf.classifier4J.SimpleHTMLTokenizer
 
SimpleHTMLTokenizer(String) - Constructor for class net.sf.classifier4J.SimpleHTMLTokenizer
 
SimpleSummariser - class net.sf.classifier4J.summariser.SimpleSummariser.
 
SimpleSummariser() - Constructor for class net.sf.classifier4J.summariser.SimpleSummariser
 
SimpleWordsDataSource - class net.sf.classifier4J.bayesian.SimpleWordsDataSource.
 
SimpleWordsDataSource() - Constructor for class net.sf.classifier4J.bayesian.SimpleWordsDataSource
 
summarise(String, int) - Method in class net.sf.classifier4J.summariser.SimpleSummariser
 
summarise(String, int) - Method in interface net.sf.classifier4J.summariser.ISummariser
Extract a summary from a string

T

teachMatch(String) - Method in interface net.sf.classifier4J.ITrainable
 
teachMatch(String) - Method in class net.sf.classifier4J.AbstractCategorizedTrainableClassifier
 
teachMatch(String, String) - Method in interface net.sf.classifier4J.ITrainable
 
teachMatch(String, String) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
teachMatch(String, String) - Method in class net.sf.classifier4J.vector.VectorClassifier
 
teachMatch(String, String[]) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
teachNonMatch(String) - Method in interface net.sf.classifier4J.ITrainable
 
teachNonMatch(String) - Method in class net.sf.classifier4J.AbstractCategorizedTrainableClassifier
 
teachNonMatch(String, String) - Method in interface net.sf.classifier4J.ITrainable
 
teachNonMatch(String, String) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
teachNonMatch(String, String) - Method in class net.sf.classifier4J.vector.VectorClassifier
 
teachNonMatch(String, String[]) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
TermVector - class net.sf.classifier4J.vector.TermVector.
 
TermVector(String[], int[]) - Constructor for class net.sf.classifier4J.vector.TermVector
 
TermVectorStorage - interface net.sf.classifier4J.vector.TermVectorStorage.
 
toComparison() - Method in class net.sf.classifier4J.util.CompareToBuilder
Returns a negative integer, a positive integer, or zero as the builder has judged the "left-hand" side as less than, greater than, or equal to the "right-hand" side.
toHashCode() - Method in class net.sf.classifier4J.util.HashCodeBuilder
Return the computed hashCode.
tokenize(String) - Method in class net.sf.classifier4J.SimpleHTMLTokenizer
 
tokenize(String) - Method in interface net.sf.classifier4J.ITokenizer
Splits up the string passed into the tokens which have individual probabilities.
tokenize(String) - Method in class net.sf.classifier4J.DefaultTokenizer
 
toString() - Method in class net.sf.classifier4J.DefaultTokenizer
 
toString() - Method in class net.sf.classifier4J.DefaultStopWordsProvider
 
toString() - Method in class net.sf.classifier4J.bayesian.WordProbability
 
toString() - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
 
toString() - Method in class net.sf.classifier4J.util.ToStringBuilder
 
toString() - Method in class net.sf.classifier4J.util.Resource
 
toString() - Method in class net.sf.classifier4J.vector.TermVector
 
ToStringBuilder - class net.sf.classifier4J.util.ToStringBuilder.
 
ToStringBuilder(Object) - Constructor for class net.sf.classifier4J.util.ToStringBuilder
 
transformWord(String) - Method in class net.sf.classifier4J.bayesian.BayesianClassifier
Allows transformations to be done to word.

U

UPPER_BOUND - Static variable in interface net.sf.classifier4J.IClassifier
The maximum likelyhood that a string matches
Utilities - class net.sf.classifier4J.Utilities.
 
Utilities() - Constructor for class net.sf.classifier4J.Utilities
 

V

VectorClassifier - class net.sf.classifier4J.vector.VectorClassifier.
 
VectorClassifier() - Constructor for class net.sf.classifier4J.vector.VectorClassifier
 
VectorClassifier(TermVectorStorage) - Constructor for class net.sf.classifier4J.vector.VectorClassifier
 
vectorLength(int[]) - Static method in class net.sf.classifier4J.vector.VectorUtils
 
VectorUtils - class net.sf.classifier4J.vector.VectorUtils.
 
VectorUtils() - Constructor for class net.sf.classifier4J.vector.VectorUtils
 

W

WordProbability - class net.sf.classifier4J.bayesian.WordProbability.
Represents the probability of a particular word.
WordProbability() - Constructor for class net.sf.classifier4J.bayesian.WordProbability
 
WordProbability(String) - Constructor for class net.sf.classifier4J.bayesian.WordProbability
 
WordProbability(String, double) - Constructor for class net.sf.classifier4J.bayesian.WordProbability
 
WordProbability(String, long, long) - Constructor for class net.sf.classifier4J.bayesian.WordProbability
 
WordProbability(String, String) - Constructor for class net.sf.classifier4J.bayesian.WordProbability
 
WordsDataSourceException - exception net.sf.classifier4J.bayesian.WordsDataSourceException.
 
WordsDataSourceException(String) - Constructor for class net.sf.classifier4J.bayesian.WordsDataSourceException
 
WordsDataSourceException(String, Throwable) - Constructor for class net.sf.classifier4J.bayesian.WordsDataSourceException
 

A B C D E G H I J L N R S T U V W

Copyright © 2003-2005 Nick Lothian. All Rights Reserved.