public abstract class SequenceModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
charsetName |
protected short[] |
charToOrderMap |
protected boolean |
keepEnglishLetter |
protected byte[] |
precedenceMatrix |
protected float |
typicalPositiveRatio |
Constructor and Description |
---|
SequenceModel(short[] charToOrderMap,
byte[] precedenceMatrix,
float typicalPositiveRatio,
boolean keepEnglishLetter,
java.lang.String charsetName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharsetName() |
boolean |
getKeepEnglishLetter() |
short |
getOrder(byte b) |
byte |
getPrecedence(int pos) |
float |
getTypicalPositiveRatio() |
protected short[] charToOrderMap
protected byte[] precedenceMatrix
protected float typicalPositiveRatio
protected boolean keepEnglishLetter
protected java.lang.String charsetName
Copyright © 2018. All rights reserved