am 82bd0c1e
: Merge "step 23-A remove unused method" into jb-mr1-dev
* commit '82bd0c1e9da5b4872379ffd2875f4ef6e14dc66c': step 23-A remove unused method
This commit is contained in:
commit
117f022f96
3 changed files with 0 additions and 15 deletions
|
@ -48,13 +48,6 @@ class GestureDecoderWrapper : public IncrementalDecoderInterface {
|
||||||
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
|
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
|
||||||
}
|
}
|
||||||
|
|
||||||
void reset() {
|
|
||||||
if (!mIncrementalDecoderInterface) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mIncrementalDecoderInterface->reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
|
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
|
||||||
const uint8_t *dictRoot, int rootPos) {
|
const uint8_t *dictRoot, int rootPos) {
|
||||||
if (!mIncrementalDecoderInterface) {
|
if (!mIncrementalDecoderInterface) {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class IncrementalDecoderInterface {
|
||||||
int *inputXs, int *inputYs, int *times, int *pointerIds, int *codes,
|
int *inputXs, int *inputYs, int *times, int *pointerIds, int *codes,
|
||||||
int inputSize, int commitPoint, unsigned short *outWords, int *frequencies,
|
int inputSize, int commitPoint, unsigned short *outWords, int *frequencies,
|
||||||
int *outputIndices, int *outputTypes) = 0;
|
int *outputIndices, int *outputTypes) = 0;
|
||||||
virtual void reset() = 0;
|
|
||||||
virtual void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
|
virtual void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
|
||||||
const uint8_t *dictRoot, int rootPos) = 0;
|
const uint8_t *dictRoot, int rootPos) = 0;
|
||||||
virtual ~IncrementalDecoderInterface() { };
|
virtual ~IncrementalDecoderInterface() { };
|
||||||
|
|
|
@ -48,13 +48,6 @@ class IncrementalDecoderWrapper : public IncrementalDecoderInterface {
|
||||||
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
|
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
|
||||||
}
|
}
|
||||||
|
|
||||||
void reset() {
|
|
||||||
if (!mIncrementalDecoderInterface) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mIncrementalDecoderInterface->reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
|
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
|
||||||
const uint8_t *dictRoot, int rootPos) {
|
const uint8_t *dictRoot, int rootPos) {
|
||||||
if (!mIncrementalDecoderInterface) {
|
if (!mIncrementalDecoderInterface) {
|
||||||
|
|
Loading…
Reference in a new issue