|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodesimian.CS<CSGeneric>
codesimian.DefaultCS
codesimian.InterpretText
codesimian.InterpretText.SelectIndexs
public static class InterpretText.SelectIndexs
Has 1 IntepretText as an instance var. Can turn on and off the use of specific indexs of that InterpretText's returned array. Inputs the same parameters of interpret() into that instance var's interpret(). When the indexs that are not used leave holes in the array, the others slide down. All indexs are ON (are used) by default.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class codesimian.InterpretText |
---|
InterpretText.AllLetterPairs, InterpretText.AllLetterTriples, InterpretText.Concat, InterpretText.Normalize, InterpretText.SelectIndexs, InterpretText.Str, InterpretText.WordIndexs, InterpretText.WordPairDistance, InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues |
Field Summary | |
---|---|
protected InterpretText |
i
|
protected boolean[] |
use
|
protected int |
useCount
|
Fields inherited from class codesimian.CS |
---|
DESCRIPTION, END, EXECPROXY, HEAP, JAVACODE, MYFUEL, NAME, NEWINSTANCE, NULL, PARENT, PARSEPRIORITY, PREV, TESTER, THIS |
Constructor Summary | |
---|---|
InterpretText.SelectIndexs(InterpretText i)
|
Method Summary | |
---|---|
int |
arraySize()
size that returned array of interpret() must be |
int |
indexCount()
at least as big as arraySize(). |
double[] |
interpret(java.lang.String text,
int[] words)
Returns a double[] array (size arraySize()) with values 0.0 to 1.0. |
boolean |
isUsing(int index)
|
void |
startUsing(int index)
|
void |
stopUsing(int index)
|
void |
useAll()
|
void |
useNone()
|
Methods inherited from class codesimian.InterpretText |
---|
description, DForProxy, minP |
Methods inherited from class codesimian.DefaultCS |
---|
B, C, countP, decrementMyFuel, deleteP, F, fuel, getExec, getObject, heap, I, indexP, indexPName, insertB, insertC, insertD, insertF, insertI, insertJ, insertL, insertL, insertL1, insertP, insertS, insertZ, J, javaCode, keyword, LForProxy, LForProxy, myFuel, name, newInstance, objectToCS, objectToCSArray, objectToCSArray, P, prevD, prevL, PType, S, setB, setC, setCountP, setD, setD, setExec, setF, setFuel, setI, setJ, setL, setL, setL, setL1, setMyFuel, setName, setObject, setP, setPrevExec, setPType, setS, setZ, start, toString, V, Z |
Methods inherited from class codesimian.CS |
---|
addB, addC, addD, addF, addI, addJ, addL, addP, addP, addP, addP, addP, addS, addZ, BForProxy, CForProxy, clone, cost, D, deleteP, FForProxy, GETB, GETC, GETD, GETF, GETI, GETJ, GETL, GETS, GETZ, IForProxy, isIllusion, JForProxy, L, L, L, L, L, maxD, maxP, minD, overwrites, parent, parsePriority, PB, PC, PD, PF, PI, PJ, PL, prevB, prevC, prevF, prevI, prevJ, prevS, prevZ, proxyOf, PS, PZ, reflect, reflect, reflect6, setB, SETB, setC, SETC, setCost, SETD, setDescription, setF, SETF, setHeap, setI, SETI, setJ, SETJ, SETL, setL, setL, setParent, setParsePriority, setProxyOf, setS, SETS, setTester, setZ, SETZ, SForProxy, tester, toJavaCode, VForProxy, voidReflect, ZForProxy |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected InterpretText i
protected boolean[] use
protected int useCount
Constructor Detail |
---|
public InterpretText.SelectIndexs(InterpretText i)
Method Detail |
---|
public double[] interpret(java.lang.String text, int[] words)
InterpretText
interpret
in class InterpretText
public void startUsing(int index)
public void stopUsing(int index)
public boolean isUsing(int index)
public void useAll()
public void useNone()
public int arraySize()
InterpretText
arraySize
in class InterpretText
public int indexCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |