step 23-A remove unused method
Change-Id: I382c654fd30aca1a3277a186ee25fc946449c639main
parent
c14d55a289
commit
88dfeb30bf
|
@ -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