A B C D E F G H I J K L M N O P R S T U V W X

A

accept(File) - Method in class mark.core.files.SuffixFilter
Overrides the method in java.io.FileFilter.
accept(File) - Method in class mark.core.files.PrefixFilter
Overrides the method in java.io.FileFilter.
accept(File) - Method in class mark.core.files.ContainsFilter
Overrides the method in java.io.FileFilter.
add_escapes(String) - Method in class mark.core.text.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add(Array) - Method in class mark.core.math.Array
Performs vector addition.
add(Array, Array) - Static method in class mark.core.math.Array
Performs vector addition.
add(Object) - Method in class mark.core.util.ObjectMap
If a mapping for the given object does not exist, adds one.
addEscapes(String) - Static method in class mark.core.text.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addFile(String, FileFilter, boolean, boolean, boolean, boolean, Collection) - Static method in class mark.core.files.Util
Given a filename and a collection, performs a number of tests on the file, and if the file passes all of the tests, adds a java.io.File java.io.File object corresponding to the filename to the collection.
addFiles(Collection, FileFilter, boolean, boolean, boolean, boolean, Collection) - Static method in class mark.core.files.Util
Calls addFile on each filename in the given collection.
addFiles(String[], FileFilter, boolean, boolean, boolean, boolean, Collection) - Static method in class mark.core.files.Util
Calls addFile on each filename in the given array.
addPrefix(String, String) - Static method in class mark.core.args.ArgUtil
Constructs a new string from the given arg string as follows: capitalizes the second character and inserts the prefix string between the first and second characters.
addPrefix(String, String[]) - Static method in class mark.core.args.ArgUtil
Replaces each arg string in the given array with a new arg string constructed by calling addPrefix (String, String).
adjustBeginLineColumn(int, int) - Method in class mark.core.text.ASCII_CharStream
Method to adjust line and column numbers for the start of a token.
AgglomerativeClusterer - class mark.nlp.clusterers.AgglomerativeClusterer.
 
AgglomerativeClusterer() - Constructor for class mark.nlp.clusterers.AgglomerativeClusterer
 
Alarm - class mark.core.apps.Alarm.
Sounds an alarm every n seconds.
Alarm() - Constructor for class mark.core.apps.Alarm
 
ArgHelper - class mark.core.args.ArgHelper.
An ArgHelper assists an application in handling command-line arguments.
ArgHelper(String[], String) - Constructor for class mark.core.args.ArgHelper
Initializes the ArgHelper.
Argmax - class mark.core.math.Argmax.
An Argmax accepts (argument, number) pairs and remembers the k pairs that have the greatest numbers.
argmax() - Method in class mark.core.math.Table
Returns the (X1, X2) value of the largest count in the table.
argmax() - Method in class mark.core.math.Array
Returns the X value of the largest count in the Array.
argmax() - Method in class mark.core.math.Argmax
Returns the argument corresponding to the largest number yet seen (starting at zero).
Argmax() - Constructor for class mark.core.math.Argmax
Initializes the Argmax with k = 1.
Argmax(double[]) - Constructor for class mark.core.math.Argmax
Initializes the Argmax with k = 1 and causes it to consider a number of pairs.
argmax(int) - Method in class mark.core.math.Argmax
Returns the argument corresponding to the nth largest number yet seen.
Argmax(int) - Constructor for class mark.core.math.Argmax
Initializes the Argmax with the given k.
Argmax(int, double[]) - Constructor for class mark.core.math.Argmax
Initializes the Argmax with the given k and causes it to consider a number of pairs.
argmin() - Method in class mark.core.math.Table
Returns the (X1, X2) value of the smallest count in the table.
argmin() - Method in class mark.core.math.Array
Returns the X value of the smallest value in the Array.
ArgUtil - class mark.core.args.ArgUtil.
Provides a number of routines that help manage specific arguments in an ArgHelper.
ArgUtil() - Constructor for class mark.core.args.ArgUtil
 
Array - class mark.core.math.Array.
Maintains a (dense) count array and totals for a one dimensional random variable.
Array(double[]) - Constructor for class mark.core.math.Array
Initializes all counts with the values in the given array.
Array(int) - Constructor for class mark.core.math.Array
Initializes all counts to zero.
Array(int, boolean) - Constructor for class mark.core.math.Array
Initializes all counts to zero if not laplace and to one if laplace.
ArrayBag - class mark.nlp.data.ArrayBag.
A bag implemented with an array.
ArrayBag(ObjectMap) - Constructor for class mark.nlp.data.ArrayBag
 
ASCII_CharStream - class mark.core.text.ASCII_CharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
ASCII_CharStream(InputStream, int, int) - Constructor for class mark.core.text.ASCII_CharStream
 
ASCII_CharStream(InputStream, int, int, int) - Constructor for class mark.core.text.ASCII_CharStream
 
ASCII_CharStream(Reader, int, int) - Constructor for class mark.core.text.ASCII_CharStream
 
ASCII_CharStream(Reader, int, int, int) - Constructor for class mark.core.text.ASCII_CharStream
 
AsciiReader - class mark.core.text.AsciiReader.
A java.io.Reader that converts each character outside (>127) of the Ascii character set into a space (0x20).
AsciiReader(Reader) - Constructor for class mark.core.text.AsciiReader
Initializes the AsciiReader.
augmentUsage(String, boolean) - Method in class mark.core.args.ArgHelper
Appends an option to the usage string.

B

backup(int) - Method in class mark.core.text.ASCII_CharStream
 
Bag - interface mark.nlp.data.Bag.
An interface for a bag of objects.
bag() - Method in class mark.nlp.data.SparseBagInstance
Returns the instance's bag.
BagCorpusCounter - class mark.nlp.features.BagCorpusCounter.
A corpus counter implemented as a collection of bags.
BagCorpusCounter(Bag, Bag[]) - Constructor for class mark.nlp.features.BagCorpusCounter
Initializes the BagCorpusCounter with the given bags.
bagize(TextInstance[], ObjectMap, String) - Static method in class mark.nlp.data.DataSet
Generates a list of bags from a list of text instances.
beginColumn - Variable in class mark.core.text.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class mark.core.text.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class mark.core.text.ASCII_CharStream
 
bigBag() - Method in class mark.nlp.features.BagCorpusCounter
Returns the big bag.
bufpos - Variable in class mark.core.text.ASCII_CharStream
 
buildClassifier(Instances) - Method in class mark.nlp.weka.NaiveBayes
 
buildClassifier(Instances) - Method in class mark.nlp.weka.Sahami
Trains the classifier.

C

calcSimilarity(ArrayList, ArrayList, SimilarityMeasure) - Method in class mark.nlp.clusterers.SingleLinkClusterer
 
calcSimilarity(ArrayList, ArrayList, SimilarityMeasure) - Method in class mark.nlp.clusterers.CompleteLinkClusterer
 
calcSimilarity(ArrayList, ArrayList, SimilarityMeasure) - Method in class mark.nlp.clusterers.AgglomerativeClusterer
 
calcSimilarity(Object, Object) - Method in interface mark.nlp.clusterers.SimilarityMeasure
 
category() - Method in class mark.nlp.data.Instance
Returns the instance's category.
cBag(int) - Method in class mark.nlp.features.BagCorpusCounter
Returns a c bag.
checkForUnderflow(double[]) - Static method in class mark.nlp.weka.Sahami
 
ChiSquared - class mark.nlp.features.ChiSquared.
A SimpleOrderer that orders according to Pearson's Chi-Squared test.
chiSquared() - Method in class mark.core.math.Table
Returns the chi-squared value of the given table.
ChiSquared() - Constructor for class mark.nlp.features.ChiSquared
 
ClassificationOrderer - class mark.nlp.features.ClassificationOrderer.
An Orderer that orders according to usefullness during classification.
ClassificationOrderer() - Constructor for class mark.nlp.features.ClassificationOrderer
 
Classifier - interface mark.nlp.classifiers.Classifier.
Interface for classifiers.
classify(Object) - Method in class mark.nlp.classifiers.HierarchicalClassifier
 
classify(Object) - Method in interface mark.nlp.classifiers.Classifier
Classifies a single instance as returned from mark.nlp.classifiers.InstanceFactory.
classify(Object) - Method in class mark.nlp.weka.WekaClassifier
 
classifyInstance(Instance) - Method in class mark.nlp.weka.NaiveBayes
Calculates the most likely class for the given test instance.
CLength() - Method in class mark.nlp.features.CorpusCounter
Returns the number of values C can assume.
CLength() - Method in class mark.nlp.features.BagCorpusCounter
Returns the number of values C can assume.
clone() - Method in class mark.core.math.Table
Clones the Table.
clone() - Method in class mark.core.math.Cube
Clones the Cube.
clone() - Method in class mark.core.math.Array
Clones the Array.
close() - Method in class mark.core.text.AsciiReader
Overrides java.io.Reader.close ().
combine(int, double, double[]) - Method in class mark.nlp.features.Method0
 
combine(int, double, double[]) - Method in class mark.nlp.features.Method3
 
combine(int, double, double[]) - Method in class mark.nlp.features.TwoLevelOrderer
 
compare(Object, Object) - Method in class mark.nlp.features.TwoLevelScore.ReverseScore1
 
CompleteLinkClusterer - class mark.nlp.clusterers.CompleteLinkClusterer.
 
CompleteLinkClusterer() - Constructor for class mark.nlp.clusterers.CompleteLinkClusterer
 
computeJustScores() - Method in class mark.nlp.features.SimpleOrderer
 
computeJustScores(BagCorpusCounter, BagCorpusCounter[], ObjectMap) - Method in class mark.nlp.features.SimpleOrderer
 
computeScores() - Method in class mark.nlp.features.ClassificationOrderer
Subclasses implement the following function which returns a Score for each potential feature in the set of potential features.
computeScores() - Method in class mark.nlp.features.TwoLevelOrderer
 
computeScores() - Method in class mark.nlp.features.SimpleOrderer
 
consider(double[]) - Method in class mark.core.math.Argmax
Causes the Argmax to consider a number of pairs.
consider(int, double) - Method in class mark.core.math.Argmax
Causes the Argmax to consider the given pair.
consider(Object, double) - Method in class mark.core.math.Objmax
Causes the Objmax to consider the given pair.
constrain(double, double, double) - Static method in class mark.core.math.Util
Constrains a double.
ContainsFilter - class mark.core.files.ContainsFilter.
A ContainsFilter is a java.io.FileFilter that either: (1) accepts files that contain a certain string or (2) accepts files that do not contain a certain string.
ContainsFilter(String, boolean) - Constructor for class mark.core.files.ContainsFilter
Initializes the filter.
CorpusCounter - class mark.nlp.features.CorpusCounter.
Assume a sampling process, where each sample determines two discrete random variables, C and W.
CorpusCounter() - Constructor for class mark.nlp.features.CorpusCounter
 
correctPercentage(Table) - Static method in class mark.nlp.classifiers.Util
Given a confusion matrix, generates a percentage correct score.
countTable(int, Object) - Method in class mark.nlp.features.CorpusCounter
Return (smoothed) counts in a 2-by-2 contingency table.
countTable(Object) - Method in class mark.nlp.features.CorpusCounter
Return (smoothed) counts in a l(C)-by-2 contingency table.
Cube - class mark.core.math.Cube.
Assume a sampling process, where each sample determines three discrete random variables, X1, X2, and X3.
Cube(double[][][]) - Constructor for class mark.core.math.Cube
Initializes all counts with the values in the given array.
Cube(int, int, int) - Constructor for class mark.core.math.Cube
Initializes all counts to zero.
Cube(int, int, int, boolean) - Constructor for class mark.core.math.Cube
Initializes all counts to zero if not laplace and to one if laplace.
curChar - Variable in class mark.core.text.ParameterParserTokenManager
 
curChar - Variable in class mark.core.text.WordAndPunctuationScannerTokenManager
 
curChar - Variable in class mark.core.text.HTMLWordScannerTokenManager
 
curChar - Variable in class mark.core.text.NonwhiteScannerTokenManager
 
currentToken - Variable in class mark.core.text.ParseException
This is the last token that has been consumed successfully.

D

DataSet - class mark.nlp.data.DataSet.
A DataSet stores a vocabulary, priors, and a set of sufficient statistics necessarly to describe the data in a dataset.
DataSet(int, ObjectMap, SparseBagInstance[]) - Constructor for class mark.nlp.data.DataSet
Constructs a DataSet.
DataSet(int, TextInstance[], String) - Constructor for class mark.nlp.data.DataSet
Constructs a DataSet.
dataSetInformation(DataSet, FileCategorySet, ObjectMap) - Method in class mark.nlp.classifiers.SimpleInstanceFactory
 
dataSetInformation(DataSet, FileCategorySet, ObjectMap) - Method in class mark.nlp.classifiers.InstanceFactory
Returns information applicable to all instances in the data set.
dataSetInformation(DataSet, FileCategorySet, ObjectMap) - Method in class mark.nlp.weka.WekaInstanceFactory
 
DEFAULT - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
DEFAULT - Static variable in interface mark.core.text.HTMLWordScannerConstants
 
DEFAULT - Static variable in interface mark.core.text.NonwhiteScannerConstants
 
DEFAULT - Static variable in interface mark.core.text.ParameterParserConstants
 
disable_tracing() - Method in class mark.core.text.ParameterParser
 
disable_tracing() - Method in class mark.core.text.WordAndPunctuationScanner
 
disable_tracing() - Method in class mark.core.text.NonwhiteScanner
 
disable_tracing() - Method in class mark.core.text.HTMLWordScanner
 
display(String) - Static method in class mark.core.test.Timer
 
distributionForInstance(Instance) - Method in class mark.nlp.weka.Sahami
 
Done() - Method in class mark.core.text.ASCII_CharStream
 
dot(Array) - Method in class mark.core.math.Array
Performs a dot product.
dot(Array, Array) - Static method in class mark.core.math.Array
Performs a dot product.
DoubleWrap - class mark.core.util.DoubleWrap.
My own wrapper for a double.
DoubleWrap() - Constructor for class mark.core.util.DoubleWrap
Initializes the wrapper with zero.
DoubleWrap(double) - Constructor for class mark.core.util.DoubleWrap
Initializes the wrapper with the given double.

E

Edit - class mark.core.apps.Edit.
 
Edit() - Constructor for class mark.core.apps.Edit
 
enable_tracing() - Method in class mark.core.text.ParameterParser
 
enable_tracing() - Method in class mark.core.text.WordAndPunctuationScanner
 
enable_tracing() - Method in class mark.core.text.NonwhiteScanner
 
enable_tracing() - Method in class mark.core.text.HTMLWordScanner
 
endColumn - Variable in class mark.core.text.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class mark.core.text.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
EOF - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
EOF - Static variable in interface mark.core.text.HTMLWordScannerConstants
 
EOF - Static variable in interface mark.core.text.NonwhiteScannerConstants
 
EOF - Static variable in interface mark.core.text.ParameterParserConstants
 
eol - Variable in class mark.core.text.ParseException
The end of line string for this machine.
equals(double[][][], double[][][]) - Static method in class mark.core.math.Util
Returns whether two double[][][]'s are equal.
equals(double[][], double[][]) - Static method in class mark.core.math.Util
Returns whether two double[][]'s are equal.
equals(Object) - Method in class mark.core.math.Table
Returns whether the Table is equivalent to the given Table.
equals(Object) - Method in class mark.core.math.Cube
Returns whether the Cube is equivalent to the given Cube.
equals(Object) - Method in class mark.core.math.Array
Returns whether the Array is equivalent to the given Array.
equals(Object, Object) - Static method in class mark.core.test.Util
A generalized equals method.
equals(Object, Object) - Static method in class mark.core.util.Util
Recursively determines whether two elements are equal.
error(String) - Method in class mark.core.args.ArgHelper
Throws an exception.
ErrorCorrecting - class mark.nlp.classifiers.ErrorCorrecting.
A classifier that attempts to correct errors made by another classifier.
ErrorCorrecting() - Constructor for class mark.nlp.classifiers.ErrorCorrecting
 
expectedTokenSequences - Variable in class mark.core.text.ParseException
Each entry in this array is an array of integers.
extract(ArgHelper) - Static method in class mark.nlp.data.FileCategorySet
Extracts a file category set from an argument helper.
extract(ArgHelper, boolean, String, FileFilter, FileCategorySet, boolean) - Static method in class mark.nlp.data.TextInstance
Extracts from a set of text files from a mark.core.args.ArgHelper a set of text instances.
extractAll(Collection, boolean) - Method in class mark.core.args.ArgHelper
Extracts and all remaining arguments and places them in the given collection.
extractFileFilter(ArgHelper, boolean, String) - Static method in class mark.core.args.ArgUtil
Extracts a FileFilter argument from the given ArgHelper.
extractFileSet(ArgHelper, boolean, String, FileFilter) - Static method in class mark.core.args.ArgUtil
Extracts a file set argument from the given ArgHelper.
extractFilesFromFile(ArgHelper, boolean, String, Collection) - Static method in class mark.core.args.ArgUtil
Extracts a filename from the given ArgHelper and fills the given collection with files corresponding to the paths in the file.
extractFirst(boolean) - Method in class mark.core.args.ArgHelper
Extracts and returns the first argument in the ArgHelper.
extractMatched(String) - Method in class mark.core.args.ArgHelper
Extracts the argument that matches the given String.
extractMatchedPlusMany(String, boolean) - Method in class mark.core.args.ArgHelper
Extracts the argument that matches the given String and the following argument, converts the second extracted argument into a parameter list, and returns the parameter list.
extractMatchedPlusOne(String, boolean) - Method in class mark.core.args.ArgHelper
Extracts the argument that matches the given String and the following argument and returns the second extracted argument.
extractWordsFromFile(ArgHelper, boolean, String, boolean, Collection) - Static method in class mark.core.args.ArgUtil
Extracts a filename from the given ArgHelper and fills the given collection with the words in the file.

F

fC0 - Variable in class mark.nlp.classifiers.HierarchicalClassifier
 
fCatBags - Variable in class mark.nlp.data.DataSet
 
fCatCounters - Variable in class mark.nlp.data.DataSet
 
fCatCounters - Variable in class mark.nlp.features.ClassificationOrderer
 
fCatSet - Variable in class mark.nlp.classifiers.SimpleInstanceFactory.DataSetInformation
 
fChildren - Variable in class mark.nlp.classifiers.HierarchicalClassifier
 
fConditionals - Variable in class mark.nlp.weka.NaiveBayes
 
fConfusions - Variable in class mark.nlp.classifiers.SimpleResults
 
fCorpusBag - Variable in class mark.nlp.data.DataSet
 
fCorpusCounter - Variable in class mark.nlp.data.DataSet
 
fCounter - Variable in class mark.nlp.features.ClassificationOrderer
 
fCounts - Variable in class mark.nlp.data.HashBag
 
fCounts - Variable in class mark.nlp.data.DataSet
 
fDataSet - Variable in class mark.nlp.classifiers.SimpleInstanceFactory.DataSetInformation
 
fFeatures - Variable in class mark.nlp.classifiers.SimpleInstanceFactory.DataSetInformation
 
fHC - Variable in class mark.nlp.classifiers.HierarchicalClassifier
 
FileCategorySet - class mark.nlp.data.FileCategorySet.
A FileCategorySet defines a set of categories to which files belong.
FileCategorySet(String[]) - Constructor for class mark.nlp.data.FileCategorySet
Initializes the category set.
fileFilterUsage(String) - Static method in class mark.core.args.ArgUtil
Returns the usage string for a FileFilter argument.
FileProcessor - interface mark.core.files.FileProcessor.
A FileProcessor processes files.
fileSetUsage(String) - Static method in class mark.core.args.ArgUtil
Returns the usage string for a file set argument.
fill(double[][][], double) - Static method in class mark.core.math.Util
Fills a double[][][] with the given value.
fill(double[][], double) - Static method in class mark.core.math.Util
Fills a double[][] with the given value.
filterAttributeVal(double) - Method in class mark.nlp.weka.NBMultinomial
 
filterAttributeVal(double) - Method in class mark.nlp.weka.NBBernoulli
 
filterAttributeVal(double) - Method in class mark.nlp.weka.NaiveBayes
 
filterScore(double) - Method in class mark.nlp.weka.NBMultinomial
 
filterScore(double) - Method in class mark.nlp.weka.NBThere
 
finishConditionals() - Method in class mark.nlp.weka.NBMultinomial
 
finishConditionals() - Method in class mark.nlp.weka.NBBernoulli
 
finishConditionals() - Method in class mark.nlp.weka.NaiveBayes
 
finishScores(double[], Instance) - Method in class mark.nlp.weka.NBMultinomial
 
finishScores(double[], Instance) - Method in class mark.nlp.weka.NBBernoulli
 
finishScores(double[], Instance) - Method in class mark.nlp.weka.NaiveBayes
 
fInstanceBags - Variable in class mark.nlp.data.DataSet
 
fNormal - Static variable in class mark.core.util.DoubleWrap
 
fNum - Variable in class mark.nlp.data.HashBag
 
fNum - Variable in class mark.core.util.DoubleWrap
 
fNumAtts - Variable in class mark.nlp.weka.NaiveBayes
 
fNumCats - Variable in class mark.nlp.classifiers.HierarchicalClassifier
 
fNumCats - Variable in class mark.nlp.weka.NaiveBayes
 
format(double) - Static method in class mark.core.text.Util
Converts a double to a string, formatted with six digits after the decimal point.
format(int, int) - Static method in class mark.core.text.Util
Converts an integer to a string, formatted to fill at least the given number of digits.
forName(String, Reader) - Static method in class mark.core.text.Scanner
Given a scanner class' name and a java.io.Reader token source, returns an instance of the scanner set up to read from the given token source.
fPotentialFeatures - Variable in class mark.nlp.features.ClassificationOrderer
 
fPriors - Variable in class mark.nlp.data.DataSet
 
fPriors - Variable in class mark.nlp.weka.NaiveBayes
 
fReverse - Static variable in class mark.core.util.DoubleWrap
 
fromLog() - Method in class mark.core.math.Array
Subtracts the smallest value from every element, converts from log space, and then normalizes counts.
fSmooth - Static variable in class mark.nlp.weka.NaiveBayes
 
fUsePriors - Static variable in class mark.nlp.weka.NaiveBayes
 
fVocabulary - Variable in class mark.nlp.data.DataSet
 
fWekaClassifier - Variable in class mark.nlp.weka.WekaClassifier
 

G

genClusters(ArrayList, SimilarityMeasure, int) - Method in class mark.nlp.clusterers.AgglomerativeClusterer
 
generateParseException() - Method in class mark.core.text.ParameterParser
 
generateParseException() - Method in class mark.core.text.WordAndPunctuationScanner
 
generateParseException() - Method in class mark.core.text.NonwhiteScanner
 
generateParseException() - Method in class mark.core.text.HTMLWordScanner
 
genFactory(String) - Static method in class mark.nlp.classifiers.InstanceFactory
Given the name of a classifier, returns a new instance of the classifier's instance factory.
genFeatures(DataSet, int, int, String, String, int) - Static method in class mark.nlp.features.Util
Given a training set and some parameters, generates a set of features.
genHierarchy(ObjectMap, Node, SimpleResults, FileCategorySet, SparseBagInstance[], Object) - Method in class mark.nlp.classifiers.HierarchyGenerating
 
genHierarchy(ObjectMap, Node, SimpleResults, FileCategorySet, SparseBagInstance[], Object) - Method in class mark.nlp.classifiers.HierarchicalClassifier
 
genHierarchy(ObjectMap, Node, SimpleResults, FileCategorySet, SparseBagInstance[], Object) - Method in class mark.nlp.classifiers.ErrorCorrecting
 
genName(String) - Static method in class mark.nlp.classifiers.InstanceFactory
Given the name of a classifier, returns the name of the classifier's instance factory.
genSubsetNode(FileCategorySet, ObjectMap, SparseBagInstance[], String, String, int, String, Object, int[]) - Static method in class mark.nlp.classifiers.HierarchicalClassifier
 
get(int) - Method in class mark.nlp.data.TokenInstance
Returns the i'th token.
getBeginColumn() - Method in class mark.core.text.ASCII_CharStream
 
getBeginLine() - Method in class mark.core.text.ASCII_CharStream
 
getColumn() - Method in class mark.core.text.ASCII_CharStream
Deprecated.  
getEndColumn() - Method in class mark.core.text.ASCII_CharStream
 
getEndLine() - Method in class mark.core.text.ASCII_CharStream
 
GetImage() - Method in class mark.core.text.ASCII_CharStream
 
getLine() - Method in class mark.core.text.ASCII_CharStream
Deprecated.  
getMessage() - Method in class mark.core.text.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class mark.core.text.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class mark.core.text.ParameterParserTokenManager
 
getNextToken() - Method in class mark.core.text.ParameterParser
 
getNextToken() - Method in class mark.core.text.Scanner
 
getNextToken() - Method in class mark.core.text.WordAndPunctuationScannerTokenManager
 
getNextToken() - Method in class mark.core.text.WordAndPunctuationScanner
 
getNextToken() - Method in class mark.core.text.HTMLWordScannerTokenManager
 
getNextToken() - Method in class mark.core.text.NonwhiteScannerTokenManager
 
getNextToken() - Method in class mark.core.text.NonwhiteScanner
 
getNextToken() - Method in class mark.core.text.HTMLWordScanner
 
getNormal() - Static method in class mark.core.util.DoubleWrap
 
getReverse() - Static method in class mark.core.util.DoubleWrap
 
GetSuffix(int) - Method in class mark.core.text.ASCII_CharStream
 
getToken(int) - Method in class mark.core.text.ParameterParser
 
getToken(int) - Method in class mark.core.text.WordAndPunctuationScanner
 
getToken(int) - Method in class mark.core.text.NonwhiteScanner
 
getToken(int) - Method in class mark.core.text.HTMLWordScanner
 

H

HashBag - class mark.nlp.data.HashBag.
A Bag implemented with a hash.
HashBag() - Constructor for class mark.nlp.data.HashBag
 
HierarchicalClassifier - class mark.nlp.classifiers.HierarchicalClassifier.
A base class for classifiers that classify in two steps, first through a root classifier and then through a child classifier.
HierarchicalClassifier() - Constructor for class mark.nlp.classifiers.HierarchicalClassifier
 
HierarchyGenerating - class mark.nlp.classifiers.HierarchyGenerating.
A classifier that generates a clustering of the categories and then does a two-level hierarchical training and classifcation.
HierarchyGenerating() - Constructor for class mark.nlp.classifiers.HierarchyGenerating
 
HTMLWordScanner - class mark.core.text.HTMLWordScanner.
 
HTMLWordScanner(HTMLWordScannerTokenManager) - Constructor for class mark.core.text.HTMLWordScanner
 
HTMLWordScanner(InputStream) - Constructor for class mark.core.text.HTMLWordScanner
 
HTMLWordScanner(Reader) - Constructor for class mark.core.text.HTMLWordScanner
 
HTMLWordScannerConstants - interface mark.core.text.HTMLWordScannerConstants.
 
HTMLWordScannerTokenManager - class mark.core.text.HTMLWordScannerTokenManager.
 
HTMLWordScannerTokenManager(ASCII_CharStream) - Constructor for class mark.core.text.HTMLWordScannerTokenManager
 
HTMLWordScannerTokenManager(ASCII_CharStream, int) - Constructor for class mark.core.text.HTMLWordScannerTokenManager
 

I

image - Variable in class mark.core.text.Token
The string image of the token.
inc(int) - Method in class mark.core.math.Array
Increments #(X = x).
inc(int, double) - Method in class mark.core.math.Array
Increments #(X = x) by the given count.
inc(int, int) - Method in class mark.core.math.Table
Increments #(X1 = x1, X2 = x2).
inc(int, int, double) - Method in class mark.core.math.Table
Increments #(X1 = x1, X2 = x2) by the given count.
inc(int, int, int) - Method in class mark.core.math.Cube
Increments #(X1 = x1, X2 = x2, X = x3).
inc(int, int, int, double) - Method in class mark.core.math.Cube
Increments #(X1 = x1, X2 = x2, X = x3) by the given count.
inc(Object, double) - Method in class mark.nlp.data.ArrayBag
 
inc(Object, double) - Method in class mark.nlp.data.HashBag
 
incorrectPercentage(Table) - Static method in class mark.nlp.classifiers.Util
Given a confusion matrix, generates a percentage incorrect score.
Instance - class mark.nlp.data.Instance.
A base class for representations of an instance.
Instance(int) - Constructor for class mark.nlp.data.Instance
Initializes the instance.
InstanceFactory - class mark.nlp.classifiers.InstanceFactory.
Differnet kinds of classifiers need different kinds of information on which to train and test.
InstanceFactory() - Constructor for class mark.nlp.classifiers.InstanceFactory
 
instanceFactoryName() - Method in class mark.nlp.classifiers.HierarchicalClassifier
 
instanceFactoryName() - Method in interface mark.nlp.classifiers.Classifier
Returns the name of the instance factory that can generate instance information suitable for this classifier.
instanceFactoryName() - Method in class mark.nlp.weka.WekaClassifier
 
instanceInformation(Object, SparseBagInstance) - Method in class mark.nlp.classifiers.SimpleInstanceFactory
 
instanceInformation(Object, SparseBagInstance) - Method in class mark.nlp.classifiers.InstanceFactory
Returns information specific to a single instance.
instanceInformation(Object, SparseBagInstance) - Method in class mark.nlp.weka.WekaInstanceFactory
 
instanceListInformation(Object, String, SparseBagInstance[]) - Method in class mark.nlp.classifiers.SimpleInstanceFactory
 
instanceListInformation(Object, String, SparseBagInstance[]) - Method in class mark.nlp.classifiers.InstanceFactory
Returns information specific to a list of instances.
instanceListInformation(Object, String, SparseBagInstance[]) - Method in class mark.nlp.weka.WekaInstanceFactory
 
instanceListString(Object, Object) - Method in class mark.nlp.classifiers.SimpleInstanceFactory
 
instanceListString(Object, Object) - Method in class mark.nlp.classifiers.InstanceFactory
Given instance list information, generates a string that describes the instance list.
instanceListString(Object, Object) - Method in class mark.nlp.weka.WekaInstanceFactory
 
IntMap - class mark.core.util.IntMap.
An IntMap associates integers with other integers.
IntMap(int[], int) - Constructor for class mark.core.util.IntMap
Initializes the map.
iterator() - Method in class mark.nlp.data.SparseBagInstance
 
iterator() - Method in interface mark.nlp.data.Bag
Returns an iterator over the object types.
iterator() - Method in class mark.nlp.data.SparseBag
 
iterator() - Method in class mark.nlp.data.ArrayBag
 
iterator() - Method in class mark.nlp.data.HashBag
 

J

jj_nt - Variable in class mark.core.text.ParameterParser
 
jj_nt - Variable in class mark.core.text.WordAndPunctuationScanner
 
jj_nt - Variable in class mark.core.text.NonwhiteScanner
 
jj_nt - Variable in class mark.core.text.HTMLWordScanner
 
jjstrLiteralImages - Static variable in class mark.core.text.ParameterParserTokenManager
 
jjstrLiteralImages - Static variable in class mark.core.text.WordAndPunctuationScannerTokenManager
 
jjstrLiteralImages - Static variable in class mark.core.text.HTMLWordScannerTokenManager
 
jjstrLiteralImages - Static variable in class mark.core.text.NonwhiteScannerTokenManager
 
join(String, Collection) - Static method in class mark.core.text.Util
Joins strings into a single string based on a delimeter String.

K

kind - Variable in class mark.core.text.Token
An integer that describes the kind of this token.

L

Learner - class mark.nlp.apps.Learner.
Learner trains on a training set, classifies a test set, and then reports its performance.
Learner() - Constructor for class mark.nlp.apps.Learner
 
length() - Method in class mark.core.math.Array
Returns the number of values X can assume.
lexStateNames - Static variable in class mark.core.text.ParameterParserTokenManager
 
lexStateNames - Static variable in class mark.core.text.WordAndPunctuationScannerTokenManager
 
lexStateNames - Static variable in class mark.core.text.HTMLWordScannerTokenManager
 
lexStateNames - Static variable in class mark.core.text.NonwhiteScannerTokenManager
 
log2(double) - Static method in class mark.core.math.Util
Calculates the log base 2 of its argument.
Ls - class mark.core.apps.Ls.
Ls recursively prints out the full paths of all given files, separated by newlines.
Ls() - Constructor for class mark.core.apps.Ls
 

M

magnitude() - Method in class mark.core.math.Array
Returns the magnitude of the vector.
main(String[]) - Static method in class mark.nlp.apps.Learner
 
main(String[]) - Static method in class mark.nlp.weka.NBMultinomial
Weka test code.
main(String[]) - Static method in class mark.nlp.weka.NBBernoulli
Weka test code.
main(String[]) - Static method in class mark.nlp.weka.Sahami
 
main(String[]) - Static method in class mark.nlp.weka.NBThere
Weka test code.
main(String[]) - Static method in class mark.core.apps.Edit
 
main(String[]) - Static method in class mark.core.apps.Ls
 
main(String[]) - Static method in class mark.core.apps.Alarm
 
main(String[]) - Static method in class mark.core.math.Table
Tests the class.
main(String[]) - Static method in class mark.core.math.Cube
Tests the class.
main(String[]) - Static method in class mark.core.math.Array
Tests the class.
main(String[]) - Static method in class mark.core.text.ParameterParser
 
map(int) - Method in class mark.nlp.data.FileCategorySet
Maps the integer representation of a category to its textual representation.
map(int) - Method in class mark.core.util.ObjectMap
Given an integer, returns the corresponding object.
map(Object) - Method in class mark.core.util.ObjectMap
Given an object, returns the corresponding integer.
map(String) - Method in class mark.nlp.data.FileCategorySet
Maps the string representation of a category it its integer representation.
mapFile(File) - Method in class mark.nlp.data.FileCategorySet
Returns the integer representation of the given file's category.
mapL(int) - Method in class mark.core.util.IntMap
Given an l value, returns the corresponding s value.
mapS(int) - Method in class mark.core.util.IntMap
Given an s value, returns the corresponding l value.
mark.core.apps - package mark.core.apps
 
mark.core.args - package mark.core.args
 
mark.core.files - package mark.core.files
 
mark.core.math - package mark.core.math
 
mark.core.test - package mark.core.test
 
mark.core.text - package mark.core.text
 
mark.core.util - package mark.core.util
 
mark.nlp.apps - package mark.nlp.apps
 
mark.nlp.classifiers - package mark.nlp.classifiers
 
mark.nlp.clusterers - package mark.nlp.clusterers
 
mark.nlp.data - package mark.nlp.data
 
mark.nlp.features - package mark.nlp.features
 
mark.nlp.weka - package mark.nlp.weka
 
max() - Method in class mark.core.math.Table
Returns the largest count in the table.
max() - Method in class mark.core.math.Array
Returns the largest count in the Array.
Method0 - class mark.nlp.features.Method0.
A TwoLevelOrderer that combines the first level score with the second level scores according to the following formula: firstLevelScore / Sum_c_in_categories (seconedLevelScore_c) This orderer ignores its parameter.
Method0() - Constructor for class mark.nlp.features.Method0
 
Method3 - class mark.nlp.features.Method3.
A TwoLevelOrderer that combines the first level score with the second level scores according to the following formula: <> This orderer uses its double parameter in its calculation.
Method3() - Constructor for class mark.nlp.features.Method3
 
min() - Method in class mark.core.math.Table
Returns the smallest count in the table.
min() - Method in class mark.core.math.Array
Returns the smallest count in the Array.
multiply(Array, double) - Static method in class mark.core.math.Array
Performs scalar multiplication.
multiply(double) - Method in class mark.core.math.Array
Performs scalar multiplication.
multiply(double, Array) - Static method in class mark.core.math.Array
Performs scalar multiplication.
MutualInformation - class mark.nlp.features.MutualInformation.
A SimpleOrderer that orders according to the following formula: score (w) = sum_c_in_C_and_w_in_W [p(c,w) * log [p(c,w) / p(c) / p(w)]] where C is the set of categories and V is {^w,w}.
mutualInformation() - Method in class mark.core.math.Table
Returns the mutual information of (X1, X2): I(X1;X2).
MutualInformation() - Constructor for class mark.nlp.features.MutualInformation
 
mutualInformationX1X2GivenX3() - Method in class mark.core.math.Cube
Returns the mutual information of (X1, X2) given X3: I((X1;X2)|X3).

N

NaiveBayes - class mark.nlp.weka.NaiveBayes.
A base class for weka NaiveBayes classifiers.
NaiveBayes() - Constructor for class mark.nlp.weka.NaiveBayes
 
NBBernoulli - class mark.nlp.weka.NBBernoulli.
A Bernoulli weka NaiveBayes classifier.
NBBernoulli() - Constructor for class mark.nlp.weka.NBBernoulli
 
NBMultinomial - class mark.nlp.weka.NBMultinomial.
A Multinomial weka NaiveBayes classifier.
NBMultinomial() - Constructor for class mark.nlp.weka.NBMultinomial
 
NBThere - class mark.nlp.weka.NBThere.
My own variant on a NaiveBayes classifier.
NBThere() - Constructor for class mark.nlp.weka.NBThere
 
NegativeMutualInformation - class mark.nlp.features.NegativeMutualInformation.
A SimpleOrderer that orders according to the following formula: score (w) = -1 * sum_c_in_C_and_w_in_W [p(c,w) * log [p(c,w) / p(c) / p(w)]] where C is the set of categories and V is {w,^w}.
NegativeMutualInformation() - Constructor for class mark.nlp.features.NegativeMutualInformation
 
newToken(int) - Static method in class mark.core.text.Token
Returns a new Token object, by default.
next - Variable in class mark.core.text.Token
A reference to the next regular (non-special) token from the input stream.
nextToken() - Method in class mark.core.text.Scanner
Returns the next token or null if there are no tokens left.
nextTokenString() - Method in class mark.core.text.Scanner
Returns a string representation of the next token.
None - class mark.nlp.features.None.
An Orderer that does not change the order of the potential features.
None() - Constructor for class mark.nlp.features.None
 
NonwhiteScanner - class mark.core.text.NonwhiteScanner.
 
NonwhiteScanner(InputStream) - Constructor for class mark.core.text.NonwhiteScanner
 
NonwhiteScanner(NonwhiteScannerTokenManager) - Constructor for class mark.core.text.NonwhiteScanner
 
NonwhiteScanner(Reader) - Constructor for class mark.core.text.NonwhiteScanner
 
NonwhiteScannerConstants - interface mark.core.text.NonwhiteScannerConstants.
 
NonwhiteScannerTokenManager - class mark.core.text.NonwhiteScannerTokenManager.
 
NonwhiteScannerTokenManager(ASCII_CharStream) - Constructor for class mark.core.text.NonwhiteScannerTokenManager
 
NonwhiteScannerTokenManager(ASCII_CharStream, int) - Constructor for class mark.core.text.NonwhiteScannerTokenManager
 
normalize(double[]) - Static method in class mark.core.math.Util
Normalizes the components of a double[] to sum to 1.0.
normalizeCounts() - Method in class mark.core.math.Table
Divides each count by the sum of the counts.
normalizeCounts() - Method in class mark.core.math.Cube
Divides each count by the sum of the counts.
normalizeCounts() - Method in class mark.core.math.Array
Divides each count by the sum of the counts.
normalizeMagnitude() - Method in class mark.core.math.Array
Normalizes the vector to have magnitude 1.
normalizeMagnitude(Array) - Static method in class mark.core.math.Array
Normalizes the vector to have magnitude 1.
num() - Method in class mark.nlp.data.SparseBagInstance
 
num() - Method in interface mark.nlp.data.Bag
Returns the number of object occurrences in the bag.
num() - Method in class mark.nlp.data.SparseBag
 
num() - Method in class mark.nlp.data.ArrayBag
 
num() - Method in class mark.nlp.data.HashBag
 
num() - Method in class mark.nlp.features.CorpusCounter
Returns the total number of samples.
num() - Method in class mark.nlp.features.BagCorpusCounter
Returns the total number of samples.
num() - Method in class mark.core.math.Table
Returns the total number of samples.
num() - Method in class mark.core.math.Cube
Returns the total number of samples.
num() - Method in class mark.core.math.Array
Returns the total number of samples.
num() - Method in class mark.core.util.DoubleWrap
Returns the value of the wrapper.
num(Object) - Method in class mark.nlp.data.SparseBagInstance
 
num(Object) - Method in interface mark.nlp.data.Bag
Returns the number of object type o occurrences in the bag.
num(Object) - Method in class mark.nlp.data.SparseBag
 
num(Object) - Method in class mark.nlp.data.ArrayBag
 
num(Object) - Method in class mark.nlp.data.HashBag
 
numC(int) - Method in class mark.nlp.features.CorpusCounter
Returns #(C = c).
numC(int) - Method in class mark.nlp.features.BagCorpusCounter
Returns #(C = c).
numCorrect(Table) - Static method in class mark.nlp.classifiers.Util
Given a confusion matrix, returns the number of correct predictions.
numCW(int, Object) - Method in class mark.nlp.features.CorpusCounter
Returns #(C = c, W = w).
numCW(int, Object) - Method in class mark.nlp.features.BagCorpusCounter
Returns #(C = c, W = w).
numIncorrect(Table) - Static method in class mark.nlp.classifiers.Util
Given a confusion matrix, returns the number of incorrect predictions.
numL() - Method in class mark.core.util.IntMap
Returns the number of l values.
nummax() - Method in class mark.core.math.Objmax
Returns the largest number yet seen.
nummax() - Method in class mark.core.math.Argmax
Returns the largest number yet seen.
nummax(int) - Method in class mark.core.math.Objmax
Returns the nth largest number yet seen.
nummax(int) - Method in class mark.core.math.Argmax
Returns the nth largest number yet seen.
numS() - Method in class mark.core.util.IntMap
Returns the number of s values.
numTypes() - Method in class mark.nlp.data.SparseBagInstance
 
numTypes() - Method in interface mark.nlp.data.Bag
Returns the number of object types with non-zero occurrences.
numTypes() - Method in class mark.nlp.data.SparseBag
 
numTypes() - Method in class mark.nlp.data.ArrayBag
 
numTypes() - Method in class mark.nlp.data.HashBag
 
numW(Object) - Method in class mark.nlp.features.CorpusCounter
Returns #(W = w).
numW(Object) - Method in class mark.nlp.features.BagCorpusCounter
Returns #(W = w).
numX(int) - Method in class mark.core.math.Array
Returns #(X = x).
numX1(int) - Method in class mark.core.math.Table
Returns #(X1 = x1).
numX1(int) - Method in class mark.core.math.Cube
Returns #(X1 = x1).
numX1X2(int, int) - Method in class mark.core.math.Table
Returns #(X1 = x1, X2 = x2).
numX1X2(int, int) - Method in class mark.core.math.Cube
Returns #(X1 = x1, X2 = x2).
numX1X2X3(int, int, int) - Method in class mark.core.math.Cube
Returns #(X1 = x1, X2 = x2, X3 = x3).
numX1X3(int, int) - Method in class mark.core.math.Cube
Returns #(X1 = x1, X3 = x3).
numX2(int) - Method in class mark.core.math.Table
Returns #(X2 = x2).
numX2(int) - Method in class mark.core.math.Cube
Returns #(X2 = x2).
numX2X3(int, int) - Method in class mark.core.math.Cube
Returns #(X1 = x2, X3 = x3).
numX3(int) - Method in class mark.core.math.Cube
Returns #(X3 = x3).

O

ObjectMap - class mark.core.util.ObjectMap.
An ObjectMap associates each object in a set of objects with a unique integer in the range 0..numObjects - 1.
ObjectMap() - Constructor for class mark.core.util.ObjectMap
Initializes the map.
ObjectMap(Collection) - Constructor for class mark.core.util.ObjectMap
Initializes the map and associates the given objects.
ObjectMap(Object[]) - Constructor for class mark.core.util.ObjectMap
Initializes the map and associates the given objects.
ObjectMap(ObjectMap) - Constructor for class mark.core.util.ObjectMap
Initializes the map and associates the given objects.
Objmax - class mark.core.math.Objmax.
An Objmax accepts (object, number) pairs and remembers the k pairs that have the greatest numbers.
objmax() - Method in class mark.core.math.Objmax
Returns the object corresponding to the largest number yet seen.
Objmax() - Constructor for class mark.core.math.Objmax
Initializes the Objmax with k = 1.
objmax(int) - Method in class mark.core.math.Objmax
Returns the object corresponding to the nth largest number yet seen.
Objmax(int) - Constructor for class mark.core.math.Objmax
Initializes the Objmax with the given k.
order(BagCorpusCounter, BagCorpusCounter[], ObjectMap, String) - Method in class mark.nlp.features.ClassificationOrderer
Given corpus counters for a data set and a set of potential features, orders the potential features according to how useful they will be during classification.
order(BagCorpusCounter, BagCorpusCounter[], ObjectMap, String) - Method in interface mark.nlp.features.Orderer
Given corpus counters for a data set and a set of potential features, orders the potential features according to some criteria.
order(BagCorpusCounter, BagCorpusCounter[], ObjectMap, String) - Method in class mark.nlp.features.None
 
Orderer - interface mark.nlp.features.Orderer.
Orders a set of potential features.

P

ParameterParser - class mark.core.text.ParameterParser.
A parser that parses the following language: termPlusEOF ::= termList ::= ()+ Term ::= [~ \t\n\r]+ Term ::= "(" ")" To parse, call termPlusEOF (), which returns a parameter.
ParameterParser(InputStream) - Constructor for class mark.core.text.ParameterParser
 
ParameterParser(ParameterParserTokenManager) - Constructor for class mark.core.text.ParameterParser
 
ParameterParser(Reader) - Constructor for class mark.core.text.ParameterParser
 
ParameterParserConstants - interface mark.core.text.ParameterParserConstants.
 
ParameterParserTokenManager - class mark.core.text.ParameterParserTokenManager.
 
ParameterParserTokenManager(ASCII_CharStream) - Constructor for class mark.core.text.ParameterParserTokenManager
 
ParameterParserTokenManager(ASCII_CharStream, int) - Constructor for class mark.core.text.ParameterParserTokenManager
 
ParseException - exception mark.core.text.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class mark.core.text.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class mark.core.text.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class mark.core.text.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
PointwiseChiSquared - class mark.nlp.features.PointwiseChiSquared.
A SimpleOrderer that orders according to according to the maximum of the constiuent addends in Pearson's Chi-Squared test.
pointwiseChiSquared() - Method in class mark.core.math.Table
Returns a table that contains the pointwise chi squared values of each each (X1, X2) value.
PointwiseChiSquared() - Constructor for class mark.nlp.features.PointwiseChiSquared
 
pointwiseChiSquared(double, double, double, double) - Static method in class mark.core.math.Util
Returns the pointwise chi-squared value of (X1, X2).
pointwiseChiSquared(int, int) - Method in class mark.core.math.Table
Returns the pointwise chi-squared value of (X1, X2).
PointwiseMutualInformation - class mark.nlp.features.PointwiseMutualInformation.
A SimpleOrderer that orders according to the following formula: score (w) = max_c_in_C_and_w_in_W [log [p(c,w)/p(c)/p(w)]] where C is the set of categories and W is {^w, w}.
PointwiseMutualInformation() - Constructor for class mark.nlp.features.PointwiseMutualInformation
 
pointwiseMutualInformationX1X2GivenX3(int, int) - Method in class mark.core.math.Cube
Returns the pointwise mutual information of (X1, X2) given X3: I((X1;X2)|X3).
PrefixFilter - class mark.core.files.PrefixFilter.
A PrefixFilter is a Filter that accepts files that begin with a certain prefix.
PrefixFilter(String) - Constructor for class mark.core.files.PrefixFilter
Initializes the Prefix.
prob() - Method in class mark.core.math.Table
Returns 1.0.
prob() - Method in class mark.core.math.Cube
Returns 1.0.
prob() - Method in class mark.core.math.Array
Returns 1.0.
probX(int) - Method in class mark.core.math.Array
Returns p (X = x).
probX1(int) - Method in class mark.core.math.Table
Returns p(X1 = x1).
probX1(int) - Method in class mark.core.math.Cube
Returns p(X1 = x1).
probX1X2(int, int) - Method in class mark.core.math.Table
Returns p(X1 = x1, X2 = x2).
probX1X2(int, int) - Method in class mark.core.math.Cube
Returns p(X1 = x1, X2 = x2).
probX1X2X3(int, int, int) - Method in class mark.core.math.Cube
Returns p(X1 = x1, X2 = x2, X3 = x3).
probX1X3(int, int) - Method in class mark.core.math.Cube
Returns p(X1 = x1, X3 = x3).
probX2(int) - Method in class mark.core.math.Table
Returns p(X2 = x2).
probX2(int) - Method in class mark.core.math.Cube
Returns p(X2 = x2).
probX2X3(int, int) - Method in class mark.core.math.Cube
Returns p(X2 = x2, X3 = x3).
probX3(int) - Method in class mark.core.math.Cube
Returns p(X3 = x3).
process(Collection, FileProcessor, boolean) - Static method in class mark.core.files.Util
Process each file in the given collection with the given FileProcessor.
processFile(File) - Method in interface mark.core.files.FileProcessor
Processes the given file.
pushBack(Token) - Method in class mark.core.text.Scanner
Places the given token at the front of the Scanner's token queue.

R

Random - class mark.nlp.features.Random.
A SimpleOrderer that orders randomly.
Random() - Constructor for class mark.nlp.features.Random
 
random(Random, int, int) - Static method in class mark.core.math.Util
Returns a random int in the given range (inclusive).
read(char[], int, int) - Method in class mark.core.text.AsciiReader
Overrides java.io.Reader.read ().
readChar() - Method in class mark.core.text.ASCII_CharStream
 
readTokens(boolean, Collection) - Method in class mark.core.text.Scanner
Adds all token strings from the given token source to the given collection.
reduce(Bag, ObjectMap, int, int) - Static method in class mark.nlp.features.Reducer
Eliminates from a set of potential features those potential features that occur too seldom or too often.
Reducer - class mark.nlp.features.Reducer.
Provides a routine that eliminates from a set of potential features those potential features that occur too seldom or too often.
Reducer() - Constructor for class mark.nlp.features.Reducer
 
ReInit(ASCII_CharStream) - Method in class mark.core.text.ParameterParserTokenManager
 
ReInit(ASCII_CharStream) - Method in class mark.core.text.WordAndPunctuationScannerTokenManager
 
ReInit(ASCII_CharStream) - Method in class mark.core.text.HTMLWordScannerTokenManager
 
ReInit(ASCII_CharStream) - Method in class mark.core.text.NonwhiteScannerTokenManager
 
ReInit(ASCII_CharStream, int) - Method in class mark.core.text.ParameterParserTokenManager
 
ReInit(ASCII_CharStream, int) - Method in class mark.core.text.WordAndPunctuationScannerTokenManager
 
ReInit(ASCII_CharStream, int) - Method in class mark.core.text.HTMLWordScannerTokenManager
 
ReInit(ASCII_CharStream, int) - Method in class mark.core.text.NonwhiteScannerTokenManager
 
ReInit(HTMLWordScannerTokenManager) - Method in class mark.core.text.HTMLWordScanner
 
ReInit(InputStream) - Method in class mark.core.text.ParameterParser
 
ReInit(InputStream) - Method in class mark.core.text.WordAndPunctuationScanner
 
ReInit(InputStream) - Method in class mark.core.text.NonwhiteScanner
 
ReInit(InputStream) - Method in class mark.core.text.HTMLWordScanner
 
ReInit(InputStream, int, int) - Method in class mark.core.text.ASCII_CharStream
 
ReInit(InputStream, int, int, int) - Method in class mark.core.text.ASCII_CharStream
 
ReInit(NonwhiteScannerTokenManager) - Method in class mark.core.text.NonwhiteScanner
 
ReInit(ParameterParserTokenManager) - Method in class mark.core.text.ParameterParser
 
ReInit(Reader) - Method in class mark.core.text.ParameterParser
 
ReInit(Reader) - Method in class mark.core.text.WordAndPunctuationScanner
 
ReInit(Reader) - Method in class mark.core.text.NonwhiteScanner
 
ReInit(Reader) - Method in class mark.core.text.HTMLWordScanner
 
ReInit(Reader, int, int) - Method in class mark.core.text.ASCII_CharStream
 
ReInit(Reader, int, int, int) - Method in class mark.core.text.ASCII_CharStream
 
ReInit(WordAndPunctuationScannerTokenManager) - Method in class mark.core.text.WordAndPunctuationScanner
 
remembered(double) - Method in class mark.core.math.Objmax
Returns whether a pair with the given number would be remembered.
replace(String, String, String) - Static method in class mark.core.text.Util
Replaces every occurrence of one substring with another.
reset() - Static method in class mark.core.test.Timer
 
reset(boolean) - Method in class mark.core.math.Table
Resets all counts to zero if not laplace and to one if laplace.
reset(boolean) - Method in class mark.core.math.Cube
Resets all counts to zero if not laplace and to one if laplace.
reset(boolean) - Method in class mark.core.math.Array
Resets all counts to zero if not laplace and to one if laplace.
reset(double) - Method in class mark.core.math.Table
Resets all counts to lidStoneLambda, and that times the vector lengths.
Results - interface mark.nlp.classifiers.Results.
 

S

Sahami - class mark.nlp.weka.Sahami.
 
Sahami() - Constructor for class mark.nlp.weka.Sahami
 
Scanner - class mark.core.text.Scanner.
A Scanner returns tokens from a character source until there are no tokens left.
Scanner() - Constructor for class mark.core.text.Scanner
 
score() - Method in class mark.nlp.classifiers.SimpleResults
 
score() - Method in interface mark.nlp.classifiers.Results
Returns percentage correct.
score() - Method in class mark.nlp.weka.WekaClassifier.Results
 
select(ObjectMap, int) - Static method in class mark.nlp.features.Selector
Given a set of ordered potential features, selects the best.
Selector - class mark.nlp.features.Selector.
Provides a routine that, given a ordered set of potential features, selects the best.
Selector() - Constructor for class mark.nlp.features.Selector
 
set(int, double) - Method in class mark.core.math.Array
Sets #(X = x).
set(int, int, double) - Method in class mark.core.math.Table
Sets #(X1 = x1, X2 = x2).
set(int, int, int, double) - Method in class mark.core.math.Cube
Sets #(X1 = x1, X2 = x2, X3 = x3).
setCategory(int) - Method in class mark.nlp.data.Instance
Sets the instance's category.
setNum(double) - Method in class mark.core.util.DoubleWrap
Sets the value of the wrapper.
setParameter(String) - Method in class mark.nlp.features.ClassificationOrderer
Subclasses override the following function if they use the parameter.
setParameter(String) - Method in class mark.nlp.features.Method3
 
shorten(double) - Static method in class mark.core.text.Util
Converts a double to a string.
SimilarityMeasure - interface mark.nlp.clusterers.SimilarityMeasure.
 
SimpleInstanceFactory - class mark.nlp.classifiers.SimpleInstanceFactory.
An instance factory that just passes on information rather than converting it into a different format.
SimpleInstanceFactory.DataSetInformation - class mark.nlp.classifiers.SimpleInstanceFactory.DataSetInformation.
The data set information contains multiple components packaged in the following data structure.
SimpleInstanceFactory.DataSetInformation() - Constructor for class mark.nlp.classifiers.SimpleInstanceFactory.DataSetInformation
 
SimpleInstanceFactory() - Constructor for class mark.nlp.classifiers.SimpleInstanceFactory
 
SimpleOrderer - class mark.nlp.features.SimpleOrderer.
A ClassificationOrderer that orders from the corpus counter alone.
SimpleOrderer() - Constructor for class mark.nlp.features.SimpleOrderer
 
SimpleResults - class mark.nlp.classifiers.SimpleResults.
A Results object that just stores the confusion matrix.
SimpleResults(int[], SparseBagInstance[], int) - Constructor for class mark.nlp.classifiers.SimpleResults
Initializes a results object using a Node.
SingleLinkClusterer - class mark.nlp.clusterers.SingleLinkClusterer.
 
SingleLinkClusterer() - Constructor for class mark.nlp.clusterers.SingleLinkClusterer
 
size() - Method in class mark.nlp.data.FileCategorySet
Returns the number of categories.
size() - Method in class mark.nlp.data.TokenInstance
Returns the number of tokens in the instance.
size() - Method in class mark.core.args.ArgHelper
Returns the number of arguments remaining in the ArgHelper.
size() - Method in class mark.core.math.Objmax
Returns the number of pairs the Objmax is remembering.
size() - Method in class mark.core.math.Argmax
Returns the number of pairs the Argmax is remembering.
size() - Method in class mark.core.util.ObjectMap
returns the number of mappings.
SparseBag - class mark.nlp.data.SparseBag.
A bag implemented with a sparse array.
SparseBag(Bag, ObjectMap) - Constructor for class mark.nlp.data.SparseBag
 
SparseBagInstance - class mark.nlp.data.SparseBagInstance.
An instance that is also a bag of objects.
SparseBagInstance(int, SparseBag) - Constructor for class mark.nlp.data.SparseBagInstance
Initializes the instance.
SparseBagInstance(TokenInstance, ObjectMap) - Constructor for class mark.nlp.data.SparseBagInstance
Initializes the sparse bag instance.
specialConstructor - Variable in class mark.core.text.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class mark.core.text.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
split(String, String) - Static method in class mark.core.text.Util
Splits a string into compoments based on a separator String.
staticFlag - Static variable in class mark.core.text.ASCII_CharStream
 
subtract(Array) - Method in class mark.core.math.Array
Performs vector subtraction.
subtract(Array, Array) - Static method in class mark.core.math.Array
Performs vector subtraction.
SuffixFilter - class mark.core.files.SuffixFilter.
A SuffixFilter is a Filter that accepts files that end with a certain suffix.
SuffixFilter(String) - Constructor for class mark.core.files.SuffixFilter
Initializes the Suffix.
sum(double[]) - Static method in class mark.core.math.Util
Returns the sum of a double[].
sum(double[][]) - Static method in class mark.core.math.Util
Returns the sum of a double[][].
sum(double[][][]) - Static method in class mark.core.math.Util
Returns the sum of a double[][][].
SwitchTo(int) - Method in class mark.core.text.ParameterParserTokenManager
 
SwitchTo(int) - Method in class mark.core.text.WordAndPunctuationScannerTokenManager
 
SwitchTo(int) - Method in class mark.core.text.HTMLWordScannerTokenManager
 
SwitchTo(int) - Method in class mark.core.text.NonwhiteScannerTokenManager
 

T

Table - class mark.core.math.Table.
Assume a sampling process, where each sample determines two discrete random variables, X1 and X2.
Table(double[][]) - Constructor for class mark.core.math.Table
Initializes all counts with the values in the given array.
Table(int, int) - Constructor for class mark.core.math.Table
Initializes all counts to zero.
Table(int, int, boolean) - Constructor for class mark.core.math.Table
Initializes all counts to zero if not laplace and to one if laplace.
Table(int, int, double) - Constructor for class mark.core.math.Table
Initializes all counts to zero if not laplace and to one if laplace.
tAmpersand - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tAserisk - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tAt - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tBackSlash - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tBacktick - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tBar - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tCaret - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tColon - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tComma - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tDashDash - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tDollar - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tEqual - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
term() - Method in class mark.core.text.ParameterParser
 
termList() - Method in class mark.core.text.ParameterParser
 
termPlusEOF() - Method in class mark.core.text.ParameterParser
 
test(Object) - Method in class mark.nlp.classifiers.HierarchicalClassifier
 
test(Object) - Method in interface mark.nlp.classifiers.Classifier
Tests the classifier on the given set of instances and returns results.
test(Object) - Method in class mark.nlp.weka.WekaClassifier
 
test(Object, String) - Method in class mark.nlp.classifiers.HierarchicalClassifier
 
test(Object, String) - Method in interface mark.nlp.classifiers.Classifier
Tests the classifier on the given set of instances and returns results.
test(Object, String) - Method in class mark.nlp.weka.WekaClassifier
 
test(String, boolean) - Static method in class mark.core.test.Util
Prints to standard error the given string, a bunch of dots, "Success!" or "Failure!", depending on the given boolean, and a newline.
tExclaim - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
text() - Method in class mark.nlp.data.TextInstance
Returns the text instance's text.
TextInstance - class mark.nlp.data.TextInstance.
An instance that contains text.
TextInstance(int, File) - Constructor for class mark.nlp.data.TextInstance
Initializes the text instance.
TextInstance(int, String) - Constructor for class mark.nlp.data.TextInstance
Initializes the text instance.
tFloat - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tGreater - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
Timer - class mark.core.test.Timer.
A class to use when timing parts of a program.
Timer() - Constructor for class mark.core.test.Timer
 
tInteger - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tLBrace - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tLBracket - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tLess - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tLParen - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tLPAREN - Static variable in interface mark.core.text.ParameterParserConstants
 
tMinus - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
toCollection(String[]) - Static method in class mark.core.text.Util
Converts an array of Strings to a LinkedList of strings.
toDoubleArray() - Method in class mark.core.math.Table
Returns a representation as a double[][].
toDoubleArray() - Method in class mark.core.math.Cube
Returns a representation as a double[][][].
toDoubleArray() - Method in class mark.core.math.Array
Returns a representation as a double[].
toDoubleArray(Instance) - Static method in class mark.nlp.weka.Sahami
Converts a weka instance into a double array.
toFile(String, String) - Static method in class mark.core.files.Util
Outputs the given sting to a file with the given name.
token - Variable in class mark.core.text.ParameterParser
 
token - Variable in class mark.core.text.WordAndPunctuationScanner
 
token - Variable in class mark.core.text.NonwhiteScanner
 
token - Variable in class mark.core.text.HTMLWordScanner
 
Token - class mark.core.text.Token.
Describes the input token stream.
token_source - Variable in class mark.core.text.ParameterParser
 
token_source - Variable in class mark.core.text.WordAndPunctuationScanner
 
token_source - Variable in class mark.core.text.NonwhiteScanner
 
token_source - Variable in class mark.core.text.HTMLWordScanner
 
Token() - Constructor for class mark.core.text.Token
 
tokenImage - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tokenImage - Static variable in interface mark.core.text.HTMLWordScannerConstants
 
tokenImage - Static variable in interface mark.core.text.NonwhiteScannerConstants
 
tokenImage - Variable in class mark.core.text.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface mark.core.text.ParameterParserConstants
 
TokenInstance - class mark.nlp.data.TokenInstance.
An instance that contains tokens.
TokenInstance(TextInstance, String) - Constructor for class mark.nlp.data.TokenInstance
Initializes the token instance.
TokenMgrError - error mark.core.text.TokenMgrError.
 
TokenMgrError() - Constructor for class mark.core.text.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class mark.core.text.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class mark.core.text.TokenMgrError
 
toLog() - Method in class mark.core.math.Array
Normalizes counts, and then converts into log space.
toSortedStringArray(Collection) - Static method in class mark.core.text.Util
Calls toStringArray and then sorts the result.
toSSString() - Method in class mark.core.math.Table
Returns a string representation of the table, suitable for entry into a spreadsheet.
toSSStringWithSums() - Method in class mark.core.math.Table
Returns a string representation of the table and its sums, suitable for entry into a spreadsheet.
toSSStringWithSums(String[], String[]) - Method in class mark.core.math.Table
Returns a string representation of the table and its sums, along with a header row and column, suitable for entry into a spreadsheet.
toString() - Method in class mark.nlp.classifiers.SimpleResults
 
toString() - Method in interface mark.nlp.classifiers.Results
Provides a detailed textual account of results.
toString() - Method in class mark.nlp.data.FileCategorySet
 
toString() - Method in class mark.nlp.weka.WekaClassifier.Results
 
toString() - Method in class mark.core.args.ArgHelper
 
toString() - Method in class mark.core.math.Table
Returns a string representation of the table.
toString() - Method in class mark.core.math.Cube
Returns a string representation of the table.
toString() - Method in class mark.core.math.Array
Returns a string representation of the vector.
toString() - Method in class mark.core.text.Token
Returns the image.
toString() - Method in class mark.core.util.ObjectMap
 
toString(Object) - Static method in class mark.core.test.Util
A generalized toString method.
toString(Object) - Static method in class mark.core.util.Util
Converts an object to a string.
toStringArray(Collection) - Static method in class mark.core.text.Util
Converts a collection of Strings into an array of strings.
tPercent - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tPeriod - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tPlus - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tPRIMITIVE - Static variable in interface mark.core.text.ParameterParserConstants
 
tQuestion - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tQuote - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
train(Object, Object, Object) - Method in class mark.nlp.classifiers.HierarchicalClassifier
 
train(Object, Object, Object) - Method in interface mark.nlp.classifiers.Classifier
Trains the classifier.
train(Object, Object, Object) - Method in class mark.nlp.weka.WekaClassifier
 
tRBrace - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tRBracket - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tRParen - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tRPAREN - Static variable in interface mark.core.text.ParameterParserConstants
 
tSemicolon - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tSharp - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tSlash - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tTick - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tTilde - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tUnderscore - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
TwoLevelOrderer - class mark.nlp.features.TwoLevelOrderer.
A ClassificationOrderer that orders from the corpus counter and the category counters.
TwoLevelOrderer() - Constructor for class mark.nlp.features.TwoLevelOrderer
 
TwoLevelScore.ReverseScore1 - class mark.nlp.features.TwoLevelScore.ReverseScore1.
The following Comparator orders TwoLevelScores in reverse order of their first level scores (not their combined scores as the comparator in DoubleWrap would).
TwoLevelScore.ReverseScore1() - Constructor for class mark.nlp.features.TwoLevelScore.ReverseScore1
 
tWord - Static variable in interface mark.core.text.WordAndPunctuationScannerConstants
 
tWord - Static variable in interface mark.core.text.HTMLWordScannerConstants
 
tWord - Static variable in interface mark.core.text.NonwhiteScannerConstants
 

U

updateScore(double, double, double, double, double) - Method in class mark.nlp.features.ChiSquared
 
updateScore(double, double, double, double, double) - Method in class mark.nlp.features.NegativeMutualInformation
 
updateScore(double, double, double, double, double) - Method in class mark.nlp.features.MutualInformation
 
updateScore(double, double, double, double, double) - Method in class mark.nlp.features.PointwiseMutualInformation
 
updateScore(double, double, double, double, double) - Method in class mark.nlp.features.Random
 
updateScore(double, double, double, double, double) - Method in class mark.nlp.features.SimpleOrderer
 
updateScore(double, double, double, double, double) - Method in class mark.nlp.features.PointwiseChiSquared
 
updateZeroCounts(double[], int, int) - Method in class mark.nlp.weka.NBBernoulli
 
usage() - Static method in class mark.nlp.data.FileCategorySet
Returns a usage string for specification of a file category set at the the command line.
Util - class mark.nlp.classifiers.Util.
A collection of utility routines for instance vectors.
Util - class mark.nlp.features.Util.
Provides some utility routines.
Util - class mark.core.files.Util.
Util is a class that contains a number of simple static utility methods.
Util - class mark.core.math.Util.
Util is a class that contains a number of simple static utility methods.
Util - class mark.core.test.Util.
Util is a class that contains a number of simple static utility methods.
Util - class mark.core.text.Util.
Util is a class that contains a number of simple static utility methods.
Util - class mark.core.util.Util.
Contains some utility routines.
Util() - Constructor for class mark.nlp.classifiers.Util
 
Util() - Constructor for class mark.nlp.features.Util
 
Util() - Constructor for class mark.core.files.Util
 
Util() - Constructor for class mark.core.math.Util
 
Util() - Constructor for class mark.core.test.Util
 
Util() - Constructor for class mark.core.text.Util
 
Util() - Constructor for class mark.core.util.Util
 

V

verifyEmpty() - Method in class mark.core.args.ArgHelper
If an argument exists, throws an exception.
verifyNoMatch(String) - Method in class mark.core.args.ArgHelper
Throws an exception if the given argument is in the ArgHelper.
verifyNotEmpty() - Method in class mark.core.args.ArgHelper
If no argument exists, throws an exception.

W

weightedPointwiseMutualInformation() - Method in class mark.core.math.Table
Returns a table that contains the weighted pointwise mutual information of each (X1, X2) value.
weightedPointwiseMutualInformation(double, double, double, double) - Static method in class mark.core.math.Util
Returns the weighted pointwise mutual information of (X1 = x1, X2 = x2).
weightedPointwiseMutualInformation(int, int) - Method in class mark.core.math.Table
Returns the weighted pointwise mutual information of (X1, X2).
WekaClassifier - class mark.nlp.weka.WekaClassifier.
A classifier that is a wrapper for a weka classifier.
WekaClassifier.Results - class mark.nlp.weka.WekaClassifier.Results.
 
WekaClassifier.Results(Evaluation, String) - Constructor for class mark.nlp.weka.WekaClassifier.Results
 
WekaClassifier() - Constructor for class mark.nlp.weka.WekaClassifier
 
WekaInstanceFactory - class mark.nlp.weka.WekaInstanceFactory.
An InstanceFactory that constructs the information that weka.classifiers.Classifers need to train.
WekaInstanceFactory() - Constructor for class mark.nlp.weka.WekaInstanceFactory
 
WIterator() - Method in class mark.nlp.features.CorpusCounter
Returns an iterator over the values W can assume.
WIterator() - Method in class mark.nlp.features.BagCorpusCounter
Returns an iterator over the values W can assume.
WIterator(int) - Method in class mark.nlp.features.CorpusCounter
Returns an iterator over the values W assumes in conjunction with a given value of C.
WIterator(int) - Method in class mark.nlp.features.BagCorpusCounter
Returns an iterator over the values W assumes in conjunction with a given value of C.
WLength() - Method in class mark.nlp.features.CorpusCounter
Returns the number of values W can assume.
WLength() - Method in class mark.nlp.features.BagCorpusCounter
Returns the number of values W can assume.
WordAndPunctuationScanner - class mark.core.text.WordAndPunctuationScanner.
 
WordAndPunctuationScanner(InputStream) - Constructor for class mark.core.text.WordAndPunctuationScanner
 
WordAndPunctuationScanner(Reader) - Constructor for class mark.core.text.WordAndPunctuationScanner
 
WordAndPunctuationScanner(WordAndPunctuationScannerTokenManager) - Constructor for class mark.core.text.WordAndPunctuationScanner
 
WordAndPunctuationScannerConstants - interface mark.core.text.WordAndPunctuationScannerConstants.
 
WordAndPunctuationScannerTokenManager - class mark.core.text.WordAndPunctuationScannerTokenManager.
 
WordAndPunctuationScannerTokenManager(ASCII_CharStream) - Constructor for class mark.core.text.WordAndPunctuationScannerTokenManager
 
WordAndPunctuationScannerTokenManager(ASCII_CharStream, int) - Constructor for class mark.core.text.WordAndPunctuationScannerTokenManager
 

X

X1Counts(int) - Method in class mark.core.math.Table
Returns a double array that indicates, for the given x1, and for each x2 in the range of X2, #(X1 = x1, X2 = x2).
X1Length() - Method in class mark.core.math.Table
Returns the number of values X1 can assume.
X1Length() - Method in class mark.core.math.Cube
Returns the number of values X1 can assume.
X2Counts(int) - Method in class mark.core.math.Table
Returns a double array that indicates, for the given x2, and for each x1 in the range of X1, #(X1, X2).
X2Length() - Method in class mark.core.math.Table
Returns the number of values X2 can assume.
X2Length() - Method in class mark.core.math.Cube
Returns the number of values X2 can assume.
X3Length() - Method in class mark.core.math.Cube
Returns the number of values X3 can assume.

A B C D E F G H I J K L M N O P R S T U V W X