|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProcessingException | |
de.fu_berlin.ties | This package bundles main entry points and general interfaces and classes for TIES. |
de.fu_berlin.ties.classify | This package provides functionality for classification of texts and feature vectors. |
de.fu_berlin.ties.classify.winnow | This package contains the Winnow classification algorithm and related algorithms and classes. |
de.fu_berlin.ties.eval | This packages provides functionality for evaluating results of classifiers and extractors. |
de.fu_berlin.ties.extract | This package handles information extraction and entitiy recognition. |
de.fu_berlin.ties.preprocess | This packages handles format conversions and linguistic preprocessing of documents. |
de.fu_berlin.ties.xml.dom | This package contains utility classes for working with DOM-like XML representations, focussing especially on dom4j. |
Uses of ProcessingException in de.fu_berlin.ties |
Subclasses of ProcessingException in de.fu_berlin.ties | |
class |
ParsingException
Exception thrown when an input cannot be parsed, typically because it contains uncorrectable errors. |
Methods in de.fu_berlin.ties that throw ProcessingException | |
abstract void |
DocumentProcessor.process(Document document,
ContextMap context)
Processes an XML document. |
void |
DocumentProcessor.process(Document document,
Writer writer,
ContextMap context)
Processes an XML document, writing a modified version to a writer. |
abstract void |
DirectoryProcessor.process(File[] files,
ContextMap context)
Processes an array of files. |
void |
DirectoryProcessor.process(File directory)
Processes the contents of a directory. |
void |
DirectoryProcessor.process(String inputName)
Processes an input argument that must specify a directory. |
protected void |
DocumentReader.doProcess(Reader reader,
Writer writer,
ContextMap context)
Processes the contents of a reader, writing a modified version to a writer. |
abstract void |
DocumentReader.process(Document document,
Writer writer,
ContextMap context)
Reads an XML document and stores the results of processing in a writer. |
void |
Processor.process(String input)
Processes an input argument. |
protected abstract void |
TextProcessor.doProcess(Reader reader,
Writer writer,
ContextMap context)
Processes the contents of a reader, writing a modified version to a writer. |
void |
TextProcessor.process(Reader reader,
Writer writer,
ContextMap context)
Delegates to the abstract TextProcessor.doProcess(Reader, Writer, ContextMap)
method and invokes a post-processor, if configured. |
void |
TextProcessor.process(File file,
Writer writer,
ContextMap context)
Processes the contents of a file, delegating to the TextProcessor.process(Reader, Writer, ContextMap) method. |
void |
TextProcessor.process(String inputName)
Processes a file or URL given as input argument, delegating to the appropriate process method. |
void |
TextProcessor.process(URLConnection urlConn,
Writer writer,
ContextMap context)
Processes the contents of an URL connection, delegating to the TextProcessor.process(Reader, Writer, ContextMap) method. |
Uses of ProcessingException in de.fu_berlin.ties.classify |
Methods in de.fu_berlin.ties.classify that throw ProcessingException | |
protected PredictionDistribution |
ExternalClassifier.doClassify(FeatureVector features,
Set candidateClasses)
Classifies an item that is represented by a feature vector by choosing the most probable class among a set of candidate classes. |
protected void |
ExternalClassifier.doTrain(FeatureVector features,
String targetClass)
Incorporates an item that is represented by a feature vector into the classification model. |
void |
ExternalClassifier.init(String cls)
Initializes a class. |
static TrainableClassifier |
TrainableClassifier.createClassifier(Set allValidClasses)
Factory method that delegates to TrainableClassifier.createClassifier(Set, TiesConfiguration) using the
standard configuration. |
static TrainableClassifier |
TrainableClassifier.createClassifier(Set allValidClasses,
TiesConfiguration config)
Factory method that delegates to TrainableClassifier.createClassifier(Set, File, TiesConfiguration) without
specifying an run directory. |
static TrainableClassifier |
TrainableClassifier.createClassifier(Set allValidClasses,
File runDirectory,
TiesConfiguration config)
Factory method that creates a trainable classifier based on the Classifier.CONFIG_CLASSIFIER key in the provided configuration.
|
PredictionDistribution |
TrainableClassifier.classify(FeatureVector features,
Set candidateClasses)
Classifies an item that is represented by a feature vector by choosing the most probable class among a set of candidate classes. |
protected abstract PredictionDistribution |
TrainableClassifier.doClassify(FeatureVector features,
Set candidateClasses)
Classifies an item that is represented by a feature vector by choosing the most probable class among a set of candidate classes. |
protected abstract void |
TrainableClassifier.doTrain(FeatureVector features,
String targetClass)
Incorporates an item that is represented by a feature vector into the classification model. |
void |
TrainableClassifier.train(FeatureVector features,
String targetClass)
Incorporates an item that is represented by a feature vector into the classification model. |
PredictionDistribution |
TrainableClassifier.trainOnError(FeatureVector features,
String targetClass,
Set candidateClasses)
Handles error-driven learning ("train only errors"): the specified feature vector is trained into the model only if the predicted class for the feature vector differs from the specified target class. |
protected boolean |
TrainableClassifier.trainOnErrorHook(PredictionDistribution predDist,
FeatureVector features,
String targetClass,
Set candidateClasses)
Subclasses can implement this hook for more refined error-driven learning. |
PredictionDistribution |
Classifier.classify(FeatureVector features,
Set candidateClasses)
Classifies an item that is represented by a feature vector by choosing the most probable class among a set of candidate classes. |
FieldContainer |
ClassTrain.classifyAndTrain(FieldContainer filesToClassify,
File directory,
String charset)
Classifies a list of files, training the classifier on each error. |
protected void |
ClassTrain.doProcess(Reader reader,
Writer writer,
ContextMap context)
Delegates to ClassTrain.classifyAndTrain(FieldContainer, File, String) . |
Constructors in de.fu_berlin.ties.classify that throw ProcessingException | |
ExternalClassifier(Set allValidClasses)
Creates a new instance based on the standard TIES configuration. |
|
ExternalClassifier(Set allValidClasses,
TiesConfiguration config)
Creates a new instance based on the provided configuration. |
|
ExternalClassifier(Set allValidClasses,
FeatureTransformer trans,
File runDirectory,
TiesConfiguration config)
Creates a new instance based on the provided arguments. |
Uses of ProcessingException in de.fu_berlin.ties.classify.winnow |
Methods in de.fu_berlin.ties.classify.winnow that throw ProcessingException | |
protected boolean |
Winnow.trainOnErrorHook(PredictionDistribution predDist,
FeatureVector features,
String targetClass,
Set candidateClasses)
Hook implementing error-driven learning, promoting and demoting weights as required. |
Uses of ProcessingException in de.fu_berlin.ties.eval |
Methods in de.fu_berlin.ties.eval that throw ProcessingException | |
protected void |
ReEvaluator.doProcess(Reader reader,
Writer writer,
ContextMap context)
Processes the contents of a reader, writing a modified version to a writer. |
Uses of ProcessingException in de.fu_berlin.ties.extract |
Methods in de.fu_berlin.ties.extract that throw ProcessingException | |
void |
Trainer.process(Document document,
Writer writer,
ContextMap context)
Trains the local classifier with the correct extractions of an XML document, using the provided context representation. |
void |
Trainer.processToken(Element element,
String left,
String token,
String right,
int tokenRep,
boolean whitespaceBefore,
ContextMap context)
Trains the local classifier on the features of a token in an XML document. |
Accuracy |
Trainer.train(Document document,
ExtractionContainer correctExtractions)
Trains the local classifier with the correct extractions of an XML document, using the provided context representation. |
ExtractionContainer |
AnswerBuilder.buildAnswers(Document document)
Buildings an ExtractionContainer of
answer keys from from an annotated XML document. |
void |
AnswerBuilder.process(Document document,
Writer writer,
ContextMap context)
Buildings an ExtractionContainer of
answer keys from from an annotated XML document. |
ExtractionContainer |
Extractor.extract(Document document)
Extracts items of interest from the contents of an XML document, based on context representation and local classifier. |
void |
Extractor.process(Document document,
Writer writer,
ContextMap context)
Extracts items of interest from the contents of an XML document and serializes the extractions. |
void |
Extractor.processToken(Element element,
String left,
String token,
String right,
int tokenRep,
boolean whitespaceBefore,
ContextMap context)
Classifies a token in an XML document, building features and delegating to the classifier. |
protected Trainer |
TrainEval.initTrainer(File runDirectory)
Creates and initializes a trainer to use for an evaluation run, configured from the stored
configuration . |
void |
TrainEval.process(File[] files,
ContextMap context)
Processes an array of files, calling the TrainEval.trainAndEval(File[], ContextMap, File, int) method
TrainEval.getRuns()() times. |
TrainEval.Results |
TrainEval.trainAndEval(File[] files,
ContextMap context,
File runDirectory,
int runNo)
Processes an array of files. |
Constructors in de.fu_berlin.ties.extract that throw ProcessingException | |
ExtractorBase(String outExt)
Creates a new instance. |
|
ExtractorBase(String outExt,
TiesConfiguration config)
Creates a new instance, configuring target structure, classifier, DefaultRepresentation , node filter
and combination strategy from the provided configuration. |
|
ExtractorBase(String outExt,
File runDirectory,
TiesConfiguration config)
Creates a new instance, configuring target structure, classifier, DefaultRepresentation , node filter, combination strategy and
tokenizer factory from the provided configuration. |
|
Trainer()
Creates a new instance without specifying an output extension (which isn't needed anyway, because this class doesn't produce output). |
|
Trainer(String outExt)
Creates a new instance. |
|
Trainer(String outExt,
TiesConfiguration config)
Creates a new instance. |
|
Trainer(String outExt,
File runDirectory,
TiesConfiguration config)
Creates a new instance. |
|
Extractor(String outExt)
Creates a new instance. |
|
Extractor(String outExt,
TiesConfiguration config)
Creates a new instance. |
|
Extractor(String outExt,
File runDirectory,
TiesConfiguration config)
Creates a new instance. |
Uses of ProcessingException in de.fu_berlin.ties.preprocess |
Methods in de.fu_berlin.ties.preprocess that throw ProcessingException | |
protected void |
PreProcessor.doProcess(Reader reader,
Writer writer,
ContextMap context)
Preprocesses the contents of a file. |
Uses of ProcessingException in de.fu_berlin.ties.xml.dom |
Methods in de.fu_berlin.ties.xml.dom that throw ProcessingException | |
void |
ElementProcessor.processElement(Element element,
TokenContainer tokenContainer,
ContextMap context)
Processes an element in an XML document, optionally modifying the element or the document it is part of. |
void |
TokenProcessor.processToken(Element element,
String left,
String token,
String right,
int tokenRep,
boolean whitespaceBefore,
ContextMap context)
Processes a token in an XML element, optionally modifying the element or the document it is part of. |
void |
DocumentWalker.walk(Document document,
ContextMap context)
Walks through the contents of an XML document, tokenizing the textual contents. |
protected void |
DocumentWalker.walk(Element element,
TokenContainer tokenContainer,
ContextMap context)
Walks through the contents of a node, tokenizing textual contents and recursing through nested elements. |
protected void |
TokenWalker.processCollectedText(Element element,
CharSequence collectedText,
TokenCounter tokenCounter,
TextTokenizer tokenizer,
ContextMap context)
Helper method that tokenizes the collected textual contents of an element and delegates to the token processor for each of them. |
void |
TokenWalker.walk(Document document,
ContextMap context)
Walks through the contents of an XML document, tokenizing the textual contents. |
protected void |
TokenWalker.walk(Element element,
TokenCounter tokenCounter,
TextTokenizer tokenizer,
ContextMap context)
Walks through the contents of a node, tokenizing textual contents and recursing through nested elements. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |