|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.collation.platform.model.util.AutoDetectionBIDIAlgorithm
public class AutoDetectionBIDIAlgorithm
| Constructor Summary | |
|---|---|
AutoDetectionBIDIAlgorithm(java.lang.String inTxt)
Creates a new instance of AutoDetectionBIDIAlgorithm |
|
AutoDetectionBIDIAlgorithm(java.util.Vector stringSet)
Creates a new instance of AutoDetectionBIDIAlgorithm in case we have vector of strings |
|
| Method Summary | |
|---|---|
java.lang.String |
fiveCharBidiFormat()
The function is used to return a string of BIDI 5 characters format |
int |
getAlgorithmSwappingResult(SegmentInfo seg)
The function is used to get the swapping state Return 0 if swap on, if 1 swap off , -1 swap is unknown |
int |
getAlgorithmTypeResult()
The function used to get the result of the algorithm |
java.lang.String |
getAvgResultIfVector()
The function is used to calculate the accumlated result of a vector of strings. |
java.lang.String |
printResult()
The function is used to print the data about the segment and the input string |
void |
setSegmentLang()
The function is called to set the language type of the string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoDetectionBIDIAlgorithm(java.lang.String inTxt)
public AutoDetectionBIDIAlgorithm(java.util.Vector stringSet)
| Method Detail |
|---|
public java.lang.String getAvgResultIfVector()
public java.lang.String printResult()
public java.lang.String fiveCharBidiFormat()
public void setSegmentLang()
public int getAlgorithmTypeResult()
public int getAlgorithmSwappingResult(SegmentInfo seg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||