|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LocalFeature | |
---|---|
de.fu_berlin.ties.context | This packages provides functionality for building and managing representations of context in texts (XML documents). |
Uses of LocalFeature in de.fu_berlin.ties.context |
---|
Fields in de.fu_berlin.ties.context declared as LocalFeature | |
---|---|
protected static LocalFeature |
LocalFeature.MARKER_START
Constant for a marker feature that marks the start of an axis. |
Methods in de.fu_berlin.ties.context that return LocalFeature | |
---|---|
static LocalFeature |
LocalFeature.createCalculatedFeature(String element,
String calcName,
String featureValue)
Factory method creating a feature that wraps a calculated value. |
static LocalFeature |
LocalFeature.createElementFeature(String element)
Factory method creating a feature that just represents an element itself. |
LocalFeature |
GlobalFeature.getLocalFeature()
Returns the local feature wrapped by this global feature. |
Methods in de.fu_berlin.ties.context that return types with arguments of type LocalFeature | |
---|---|
protected List<LocalFeature> |
DefaultRepresentation.buildLocalFeatures(Element element,
ElementPosition position,
boolean ignoreText)
Builds the local features of an element. |
static List<LocalFeature> |
LocalFeature.createAttributeFeatures(String element,
String attributeName,
String featureValue,
int splitMaximum)
Factory method creating a feature that wraps an attribute value. |
static List<LocalFeature> |
LocalFeature.createCalculatedFeatures(String element,
String calcName,
String featureValue,
int splitMaximum)
Factory method creating a feature that wraps a calculated value that might contain whitespace. |
static List<LocalFeature> |
LocalFeature.createTextFeatures(String element,
String featureValue,
int splitMaximum)
Factory method creating a feature that wraps textual content of an element. |
Method parameters in de.fu_berlin.ties.context with type arguments of type LocalFeature | |
---|---|
FeatureVector |
Representation.buildContext(Document document,
PriorRecognitions priorRecognitions,
Map<Element,List<LocalFeature>> featureCache,
String logPurpose)
Builds the context representation of a document. |
FeatureVector |
Representation.buildContext(Element element,
PriorRecognitions priorRecognitions,
Map<Element,List<LocalFeature>> featureCache,
String logPurpose)
Builds the context representation of an element. |
abstract FeatureVector |
Representation.buildContext(Element element,
String leftText,
String mainText,
String rightText,
PriorRecognitions priorRecognitions,
Map<Element,List<LocalFeature>> featureCache,
String logPurpose)
Builds the context representation of text in an element. |
FeatureVector |
AbstractRepresentation.buildContext(Element element,
String leftText,
String mainText,
String rightText,
PriorRecognitions priorRecognitions,
Map<Element,List<LocalFeature>> featureCache,
String logPurpose)
Builds the context representation of text in an element. |
protected void |
DefaultRepresentation.buildFeatures(String axisName,
Element element,
ElementPosition position,
boolean recurseInsteadOfText,
LinkedList<Feature> featureList,
boolean addAtEnd,
Map<Element,List<LocalFeature>> cache)
Builds the features of an element and appends them to the specified featureList . |
protected void |
DefaultRepresentation.calculateHeadValues(Element element,
List<LocalFeature> values)
Creates values that depend on "head" children of an element, if the element contains any of them. |
protected void |
DefaultRepresentation.calculatePositionalValues(String elementName,
ElementPosition position,
List<LocalFeature> values)
Calculates values that depend on the position of an element within its parent. |
protected void |
DefaultRepresentation.calculateValuesFromText(String elementName,
String trimmedText,
List<LocalFeature> values)
Calculates values that depend on the textual content of an element: prefixes, suffixes, length data, and token type. |
protected FeatureVector |
DefaultRepresentation.doBuildContext(Element element,
String leftText,
String mainText,
String rightText,
PriorRecognitions priorRecognitions,
Map<Element,List<LocalFeature>> featureCache,
String logPurpose)
Builds the context representation of text in an element. |
protected abstract FeatureVector |
AbstractRepresentation.doBuildContext(Element element,
String leftText,
String mainText,
String rightText,
PriorRecognitions priorRecognitions,
Map<Element,List<LocalFeature>> featureCache,
String logPurpose)
Builds the context representation of text in an element. |
static void |
GlobalFeature.globalize(String axisName,
Iterator<LocalFeature> localIter,
LinkedList<Feature> globalFeatures,
boolean addAtEnd)
Converts a series of LocalFeature s into global features,
adding the created global features to a linked list. |
protected void |
DefaultRepresentation.handleAncestors(Element element,
int ancestorsToAdd,
int ancestorSiblingsToAdd,
LinkedList<Feature> ancestorFeatures,
LinkedList<Feature> ancestorSiblingFeatures,
Bag processedAncestorNames,
Map<Element,List<LocalFeature>> cache)
Handles ancestors and ancestor siblings of an element. |
protected ElementPosition |
DefaultRepresentation.handleSiblings(String axisPrefix,
Element element,
int baseNumber,
LinkedList<Feature> precedingFeatures,
LinkedList<Feature> followingFeatures,
Map<Element,List<LocalFeature>> cache)
Adds the preceding and following siblings of an element. |
Constructors in de.fu_berlin.ties.context with parameters of type LocalFeature | |
---|---|
GlobalFeature(String axisPrefix,
LocalFeature local)
Creates a new instance that combines a local feature with an axis prefix. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |