| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| public static enum | |
| pack-priv class | |
| public static enum | |
| public static class | |
| pack-priv abstract class |
| Modifier and Type | Field and Description |
|---|---|
| private final LSTMBreakEngine. | |
| private int | |
| private final LSTMBreakEngine. | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| private static void | |
| private float[] | compute(final float[][] W, final float[][] U, final float[] B, final float[] x, float[] h, float[] c)
|
| public static LSTMBreakEngine | |
| public static LSTMBreakEngine. | |
| public static LSTMBreakEngine. | |
| private static String | |
| public int | divideUpDictionaryRange(CharacterIterator
A UText representing the text fIter, int The start of the range of dictionary characters rangeStart, int The end of the range of dictionary characters rangeEnd, DictionaryBreakEngine.Output of break positions. Positions are pushed.
Pre-existing contents of the output stack are unaltered. foundBreaks,Implements abstract com. Divide up a range of known dictionary characters handled by this break engine. |
| private static void | |
| public boolean | handles(int
A Unicode codepoint value c)Overrides com. Implements com. |
| public int | |
| private static float[] | |
| private static float[][] | |
| private LSTMBreakEngine. | |
| private static int | |
| private static void | |
| private static void |
| fData | back to summary |
|---|---|
| private final LSTMBreakEngine. | |
| fScript | back to summary |
|---|---|
| private int fScript | |
| fVectorizer | back to summary |
|---|---|
| private final LSTMBreakEngine. | |
| MIN_WORD | back to summary |
|---|---|
| private static final byte MIN_WORD | |
| MIN_WORD_SPAN | back to summary |
|---|---|
| private static final byte MIN_WORD_SPAN | |
| LSTMBreakEngine | back to summary |
|---|---|
| public LSTMBreakEngine(int script, UnicodeSet set, LSTMBreakEngine. | |
| addDotProductTo | back to summary |
|---|---|
| private static void addDotProductTo(final float[] a, final float[][] b, float[] result) | |
| addHadamardProductTo | back to summary |
|---|---|
| private static void addHadamardProductTo(final float[] a, final float[] b, float[] result) | |
| addTo | back to summary |
|---|---|
| private static void addTo(final float[] a, float[] result) | |
| compute | back to summary |
|---|---|
| private float[] compute(final float[][] W, final float[][] U, final float[] B, final float[] x, float[] h, float[] c) | |
| create | back to summary |
|---|---|
| public static LSTMBreakEngine create(int script, LSTMBreakEngine. | |
| createData | back to summary |
|---|---|
| public static LSTMBreakEngine. | |
| createData | back to summary |
|---|---|
| public static LSTMBreakEngine. | |
| defaultLSTM | back to summary |
|---|---|
| private static String defaultLSTM(int script) | |
| divideUpDictionaryRange | back to summary |
|---|---|
| public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, DictionaryBreakEngine. Implements abstract com. Doc from com. Divide up a range of known dictionary characters handled by this break engine.
| |
| hadamardProductTo | back to summary |
|---|---|
| private static void hadamardProductTo(final float[] a, float[] result) | |
| handles | back to summary |
|---|---|
| public boolean handles(int c) Overrides com. Implements com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| make1DArray | back to summary |
|---|---|
| private static float[] make1DArray(int[] data, int start, int d1) | |
| make2DArray | back to summary |
|---|---|
| private static float[][] make2DArray(int[] data, int start, int d1, int d2) | |
| makeVectorizer | back to summary |
|---|---|
| private LSTMBreakEngine. | |
| maxIndex | back to summary |
|---|---|
| private static int maxIndex(float[] data) | |
| sigmoid | back to summary |
|---|---|
| private static void sigmoid(float[] result, int start, int length) | |
| tanh | back to summary |
|---|---|
| private static void tanh(float[] result, int start, int length) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, List<Integer> offsets, List<Integer> indicies)
Implements abstract com. |
| CodePointsVectorizer | back to summary |
|---|---|
| public CodePointsVectorizer(Map<String, Integer> dict) | |
| vectorize | back to summary |
|---|---|
| public void vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, List<Integer> offsets, List<Integer> indicies) Implements abstract com. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final LSTMBreakEngine. | |
| public static final LSTMBreakEngine. | |
| public static final LSTMBreakEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LSTMBreakEngine. | |
| public static LSTMBreakEngine. |
| CODE_POINTS | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| GRAPHEME_CLUSTER | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| UNKNOWN | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| EmbeddingType | back to summary |
|---|---|
| private EmbeddingType() | |
| valueOf | back to summary |
|---|---|
| public static LSTMBreakEngine. | |
| values | back to summary |
|---|---|
| public static LSTMBreakEngine. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public void | vectorize(CharacterIterator text, int startPos, int endPos, List<Integer> offsets, List<Integer> indicies)
Implements abstract com. |
| GraphemeClusterVectorizer | back to summary |
|---|---|
| public GraphemeClusterVectorizer(Map<String, Integer> dict) | |
| substring | back to summary |
|---|---|
| private String substring(CharacterIterator text, int startPos, int endPos) | |
| vectorize | back to summary |
|---|---|
| public void vectorize(CharacterIterator text, int startPos, int endPos, List<Integer> offsets, List<Integer> indicies) Implements abstract com. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final LSTMBreakEngine. | |
| public static final LSTMBreakEngine. | |
| public static final LSTMBreakEngine. | |
| public static final LSTMBreakEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LSTMBreakEngine. | |
| public static LSTMBreakEngine. |
| BEGIN | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| END | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| INSIDE | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| SINGLE | back to summary |
|---|---|
| public static final LSTMBreakEngine. | |
| LSTMClass | back to summary |
|---|---|
| private LSTMClass() | |
| valueOf | back to summary |
|---|---|
| public static LSTMBreakEngine. | |
| values | back to summary |
|---|---|
| public static LSTMBreakEngine. | |
| Modifier and Type | Field and Description |
|---|---|
| public float[] | |
| public float[][] | |
| public float[][] | |
| public Map | |
| public float[][] | |
| public float[] | |
| public float[][] | |
| public float[][] | |
| public String | |
| public float[] | |
| public float[][] | |
| public LSTMBreakEngine. |
| Access | Constructor and Description |
|---|---|
| private | |
| public |
| fBackwardB | back to summary |
|---|---|
| public float[] fBackwardB | |
| fBackwardU | back to summary |
|---|---|
| public float[][] fBackwardU | |
| fBackwardW | back to summary |
|---|---|
| public float[][] fBackwardW | |
| fDict | back to summary |
|---|---|
| public Map<String, Integer> fDict | |
| fEmbedding | back to summary |
|---|---|
| public float[][] fEmbedding | |
| fForwardB | back to summary |
|---|---|
| public float[] fForwardB | |
| fForwardU | back to summary |
|---|---|
| public float[][] fForwardU | |
| fForwardW | back to summary |
|---|---|
| public float[][] fForwardW | |
| fName | back to summary |
|---|---|
| public String fName | |
| fOutputB | back to summary |
|---|---|
| public float[] fOutputB | |
| fOutputW | back to summary |
|---|---|
| public float[][] fOutputW | |
| fType | back to summary |
|---|---|
| public LSTMBreakEngine. | |
| LSTMData | back to summary |
|---|---|
| private LSTMData() | |
| LSTMData | back to summary |
|---|---|
| public LSTMData(UResourceBundle rb) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | |
| public abstract void |
| fDict | back to summary |
|---|---|
| private Map<String, Integer> fDict | |
| Vectorizer | back to summary |
|---|---|
| public Vectorizer(Map<String, Integer> dict) | |
| getIndex | back to summary |
|---|---|
| protected int getIndex(String token) | |
| vectorize | back to summary |
|---|---|
| public abstract void vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, List<Integer> offsets, List<Integer> indicies) | |