Merge "step 23-A remove unused method" into jb-mr1-dev
commit
82bd0c1e9d
|
@ -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 New Issue