haoneng.lhn
2023-09-21 8ae9fa8365eba7d33c8d8f5fa51d12903ca6a409
funasr/runtime/onnxruntime/src/tpass-stream.cpp
@@ -89,7 +89,7 @@
            use_punc = true;
        }
    }
#if !defined(__APPLE__)
    // Optional: ITN, here we just support language_type=MandarinEnglish
    if(model_path.find(ITN_DIR) != model_path.end()){
        string itn_tagger_path = PathAppend(model_path.at(ITN_DIR), ITN_TAGGER_NAME);
@@ -105,6 +105,7 @@
            use_itn = true;
        }
    }
#endif
      
}
@@ -114,4 +115,4 @@
    mm = new TpassStream(model_path, thread_num);
    return mm;
}
} // namespace funasr
} // namespace funasr