| Package | Description |
|---|---|
| org.aika | |
| org.aika.corpus | |
| org.aika.lattice | |
| org.aika.neuron |
| Modifier and Type | Field and Description |
|---|---|
Document[] |
Model.docs |
| Modifier and Type | Method and Description |
|---|---|
Document |
Model.createDocument(String txt) |
Document |
Model.createDocument(String txt,
int threadId) |
| Modifier and Type | Method and Description |
|---|---|
Activation |
Neuron.addInput(Document doc,
int begin,
int end)
Propagate an input activation into the network.
|
Activation |
Neuron.addInput(Document doc,
int begin,
int end,
double value,
Double targetValue)
Propagate an input activation into the network.
|
Activation |
Neuron.addInput(Document doc,
int begin,
int end,
Integer rid)
Propagate an input activation into the network.
|
Activation |
Neuron.addInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o)
Propagate an input activation into the network.
|
Activation |
Neuron.addInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o,
double value)
Propagate an input activation into the network.
|
Activation |
Neuron.addInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o,
double value,
Double targetValue)
Propagate an input activation into the network.
|
Activation |
Neuron.addInput(Document doc,
int begin,
int end,
InterprNode o)
Propagate an input activation into the network.
|
T |
Provider.get(Document doc) |
Collection<Activation> |
Neuron.getFinalActivations(Document doc)
getFinalActivations is a convenience method to retrieve all activations of the given neuron that
are part of the final interpretation. |
| Modifier and Type | Field and Description |
|---|---|
Document |
InterprNode.doc |
| Modifier and Type | Method and Description |
|---|---|
static InterprNode |
InterprNode.add(Document doc,
boolean nonConflicting,
InterprNode... input) |
static InterprNode |
InterprNode.add(Document doc,
boolean nonConflicting,
List<InterprNode> inputs) |
static void |
Conflicts.add(Document doc,
NodeActivation act,
InterprNode primary,
InterprNode secondary) |
static InterprNode |
InterprNode.addPrimitive(Document doc) |
static Set<InterprNode> |
SearchNode.collectConflicts(Document doc) |
int |
Document.compareTo(Document doc) |
void |
SearchNode.computeBestInterpretation(Document doc) |
void |
Document.Counter.count(Document doc,
Node n)
Updates the statistics of this node
|
org.aika.corpus.SearchNode.Candidate[] |
SearchNode.generateCandidates(Document doc) |
String |
SearchNode.pathToString(Document doc) |
String |
SearchNode.toString(Document doc) |
| Constructor and Description |
|---|
InterprNode(Document doc,
int primId,
int id) |
InterprNode(Document doc,
int primId,
int id,
int length) |
SearchNode(Document doc,
SearchNode selParent,
SearchNode exclParent,
org.aika.corpus.SearchNode.Candidate c,
int level,
List<InterprNode> changed) |
| Modifier and Type | Field and Description |
|---|---|
Document |
NodeActivation.doc |
| Modifier and Type | Method and Description |
|---|---|
void |
OrNode.addActivation(Document doc,
Integer ridOffset,
NodeActivation inputAct) |
void |
InputNode.addActivation(Document doc,
NodeActivation inputAct) |
static <T extends Node,A extends NodeActivation<T>> |
Node.addActivationAndPropagate(Document doc,
NodeActivation.Key<T> ak,
Collection<NodeActivation<?>> inputActs)
Add a new activation to this logic node and further propagate this activation through the network.
|
static void |
AndNode.addNextLevelActivation(Document doc,
NodeActivation<AndNode> act,
NodeActivation<AndNode> secondAct,
Provider<AndNode> pnlp) |
void |
OrNode.apply(Document doc,
Activation act) |
void |
Node.clearActivations(Document doc) |
protected Activation |
OrNode.createActivation(Document doc,
NodeActivation.Key ak) |
protected NodeActivation<InputNode> |
InputNode.createActivation(Document doc,
NodeActivation.Key ak) |
protected NodeActivation<AndNode> |
AndNode.createActivation(Document doc,
NodeActivation.Key ak) |
void |
AndNode.discover(Document doc,
NodeActivation<AndNode> act,
Document.DiscoveryConfig discoveryConfig) |
void |
InputNode.discover(Document doc,
NodeActivation<InputNode> act,
Document.DiscoveryConfig discoveryConfig) |
abstract void |
Node.discover(Document doc,
NodeActivation<T> act,
Document.DiscoveryConfig discoveryConfig) |
void |
OrNode.discover(Document doc,
NodeActivation act,
Document.DiscoveryConfig discoveryConfig) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.get(Document doc,
T n,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.get(Document doc,
T n,
NodeActivation.Key ak) |
Collection<A> |
Node.getActivations(Document doc) |
A |
Node.getFirstActivation(Document doc) |
InterprNode |
OrNode.lookupOrOption(Document doc,
Range r,
boolean create) |
static void |
OrNode.processCandidate(Document doc,
Node<?,? extends NodeActivation<?>> parentNode,
NodeActivation inputAct,
boolean train) |
void |
Node.processChanges(Document doc)
Process all added or removed activation for this logic node.
|
abstract void |
Node.propagateAddedActivation(Document doc,
A act)
Propagate an activation to the next node or the next neuron that is depending on the current node.
|
void |
OrNode.propagateAddedActivation(Document doc,
Activation act) |
void |
InputNode.propagateAddedActivation(Document doc,
NodeActivation act) |
void |
AndNode.propagateAddedActivation(Document doc,
NodeActivation act) |
void |
OrNode.register(Activation act,
Document doc) |
void |
Node.register(A act,
Document doc) |
static Stream<NodeActivation> |
NodeActivation.select(Document doc,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.select(Document doc,
T n,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
String |
NodeActivation.toString(Document doc) |
| Constructor and Description |
|---|
NodeActivation(int id,
Document doc,
NodeActivation.Key<T> key) |
NodeActivation(int id,
Document doc,
T n,
Range pos,
Integer rid,
InterprNode o) |
| Modifier and Type | Method and Description |
|---|---|
Activation |
INeuron.addInput(Document doc,
int begin,
int end,
Integer rid,
InterprNode o,
double value,
Double targetValue)
Propagate an input activation into the network.
|
Collection<Activation> |
INeuron.getFinalActivations(Document doc)
getFinalActivations is a convenience method to retrieve all activations of the given neuron that
are part of the final interpretation. |
void |
INeuron.linkNeuronRelations(Document doc,
Activation act)
Sets the incoming and outgoing links between neuron activations.
|
void |
INeuron.propagateAddedActivation(Document doc,
Activation act) |
void |
INeuron.train(Document doc,
Activation targetAct,
double learnRate,
Document.SynapseEvaluation se) |
| Constructor and Description |
|---|
Activation(int id,
Document doc,
NodeActivation.Key key) |
Copyright © 2017. All rights reserved.