|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.streamlogic.LoadLetterStreams
public class LoadLetterStreams
Create letter streams.
Based on LetterTaskFactory.
Should create all the rules used for letter matching.
Contains rules for more complex set of rules works for straight and curved letters
This uses annotations
Field Summary | |
---|---|
static java.lang.String[] |
lettersArray
|
LoadPolygonStreams |
loadPolygonStreams
|
Constructor Summary | |
---|---|
LoadLetterStreams(RecursiveContext recursiveContext)
|
Method Summary | |
---|---|
void |
loadLetterStream(java.lang.String letterFilter)
Setup all the stream for a letter match. Requirements streams: polygons. |
void |
loadUserDefinedSymbolStreams(FFNeuralNetworkWeights fFNeuralNetworkWeights,
java.lang.String categorizerStreamName)
Setup all the stream for a letter match. Requirements streams: polygons. |
void |
makeAllLetterStream(java.lang.String letterFilter)
|
void |
makeStraightLetterStream(java.lang.String letterFilter)
Rules for matching letters, using only very simple properties. |
void |
makeXOrStream(java.lang.String streamName,
java.util.Collection<java.lang.String> symbolStreamCollection)
|
void |
makeXOrStream(java.lang.String streamName,
java.lang.String[] symbolStreamArray)
|
void |
rule(RulePredicate ruleP)
|
void |
rule(java.lang.String letter,
java.lang.String streamName,
int value,
java.lang.String letterFilter)
Helper method to create one rule in one letter. |
void |
rule(java.lang.String letter,
java.lang.String streamName,
java.lang.String predicate,
double value)
|
void |
rule(java.lang.String letter,
java.lang.String streamName,
java.lang.String predicate,
double value,
java.lang.String letterFilter)
Helper method to create one rule in one letter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public LoadPolygonStreams loadPolygonStreams
public static final java.lang.String[] lettersArray
Constructor Detail |
---|
public LoadLetterStreams(RecursiveContext recursiveContext)
Method Detail |
---|
public void rule(java.lang.String letter, java.lang.String streamName, int value, java.lang.String letterFilter)
letter
- to define rule forstreamName
- what the required stream for this rule is called in RootMapvalue
- constraint valueletterFilter
- if only one rule should be generated this should be set to a letterpublic void rule(java.lang.String letter, java.lang.String streamName, java.lang.String predicate, double value, java.lang.String letterFilter)
letter
- to define rule forstreamName
- what the required stream for this rule is called in RootMapvalue
- constraint valueletterFilter
- if only one rule should be generated this should be set to a letterpublic void rule(java.lang.String letter, java.lang.String streamName, java.lang.String predicate, double value)
public void rule(RulePredicate ruleP)
public void makeXOrStream(java.lang.String streamName, java.lang.String[] symbolStreamArray)
public void makeXOrStream(java.lang.String streamName, java.util.Collection<java.lang.String> symbolStreamCollection)
public void loadLetterStream(java.lang.String letterFilter)
public void loadUserDefinedSymbolStreams(FFNeuralNetworkWeights fFNeuralNetworkWeights, java.lang.String categorizerStreamName)
public void makeStraightLetterStream(java.lang.String letterFilter)
letterFilter
- public void makeAllLetterStream(java.lang.String letterFilter)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |