Package | Description |
---|---|
de.up.ling.irtg.codec |
Classes for reading and writing IRTGs, tree automata,
and other objects.
|
de.up.ling.irtg.maxent |
Classes for working with maximum-entropy IRTGs.
|
de.up.ling.irtg.util |
Various utilities.
|
Modifier and Type | Method and Description |
---|---|
static Constructor<FeatureFunction> |
CodecUtilities.findFeatureConstructor(String className,
int n)
Retrieves a constructor for a
FeatureFunction . |
Modifier and Type | Method and Description |
---|---|
static void |
IrtgInputCodec.addConstructorFeature(String id,
String classname,
List<String> arguments,
Map<String,FeatureFunction> features) |
static void |
IrtgInputCodec.addStaticFeature(String id,
String classname,
String methodname,
List<String> arguments,
Map<String,FeatureFunction> features) |
Modifier and Type | Class and Description |
---|---|
class |
ChildOfFeature |
class |
RuleNameFeature
A feature that returns 1 iff the rule name matches
the name that is passed to the constructor.
|
Modifier and Type | Method and Description |
---|---|
FeatureFunction |
MaximumEntropyIrtg.getFeatureFunction(int index)
Returns the feature function referenced by index
|
FeatureFunction |
MaximumEntropyIrtg.getFeatureFunction(String name)
Returns the feature function referenced by name
|
FeatureFunction[] |
MaximumEntropyIrtg.getFeatures() |
Modifier and Type | Method and Description |
---|---|
void |
MaximumEntropyIrtg.setFeatures(Map<String,FeatureFunction> featureMap)
Sets the feature functions
|
Constructor and Description |
---|
MaximumEntropyIrtg(TreeAutomaton<String> automaton,
Map<String,FeatureFunction> featureMap)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static FeatureFunction |
TestingTools.makeTestFeature(String x) |
Copyright © 2017. All rights reserved.