Add C++ runtime for non-streaming faster conformer transducer from NeMo. (#854)
This commit is contained in:
@@ -100,9 +100,9 @@ int32_t SymbolTable::operator[](const std::string &sym) const {
|
||||
return sym2id_.at(sym);
|
||||
}
|
||||
|
||||
bool SymbolTable::contains(int32_t id) const { return id2sym_.count(id) != 0; }
|
||||
bool SymbolTable::Contains(int32_t id) const { return id2sym_.count(id) != 0; }
|
||||
|
||||
bool SymbolTable::contains(const std::string &sym) const {
|
||||
bool SymbolTable::Contains(const std::string &sym) const {
|
||||
return sym2id_.count(sym) != 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user