From 5ee2f382b32c5c0beaa1c133b466a100c6fb7ebc Mon Sep 17 00:00:00 2001
From: passerbya <hanghang3103@163.com>
Date: 星期四, 20 三月 2025 23:01:05 +0800
Subject: [PATCH] FIX 'NoneType' object has no attribute 'isalpha' (#2440)

---
 runtime/onnxruntime/src/bias-lm.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/runtime/onnxruntime/src/bias-lm.cpp b/runtime/onnxruntime/src/bias-lm.cpp
index 5be87f8..a652f29 100644
--- a/runtime/onnxruntime/src/bias-lm.cpp
+++ b/runtime/onnxruntime/src/bias-lm.cpp
@@ -1,5 +1,7 @@
 #include "bias-lm.h"
-
+#ifdef _WIN32
+#include "fst-types.cc"
+#endif
 namespace funasr {
 void print(std::queue<StateId> &q) {
   std::queue<StateId> data = q;

--
Gitblit v1.9.1