Update tokenizer.py

This commit is contained in:
Stephen Hu 2025-11-12 13:12:25 +08:00
parent 829e5f287b
commit a1fbceb483

View file

@ -66,6 +66,8 @@ class Tokenizer(ProcessBase):
if isinstance(self._param.fields, str):
self._param.fields=[self._param.fields]
for f in self._param.fields:
if f not in c:
continue
f = c.get(f)
if isinstance(f, str):
txt += f