Initial commit

This commit is contained in:
QwenPaw committed 2026-06-19 06:38:31 +00:00
commit f45881dc88
161 files changed
+21597

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import re, os
base = '/app/working/workspaces/default/novels/fqxs-wanmeibing'
# Read current chapters
chapters = {}
for f in ['101','102','103','104','105']:
t = open(os.path.join(base, f)).read()
cn = len(re.findall(r'[\u4e00-\u9fff]', t))
print(f'{f}: {cn}汉字')
chapters[f] = t