Paraphraser
Paraphrase Chinese sentences
Install / Use
/learn @laubonghaudoi/ParaphraserREADME
基于哈工大同义词词林的同义句生成器和归一器
paraphase.py
先将句子分词,然后逐个词语在词林中搜索,若搜到多个同义词,则先判断是否词性相同,若还是有多个同义词,则选出最常用的一个意义,替换此一行的全部词语。
unify.py
先将句子分词,然后逐个词语在词林中搜索,若搜索到多个同义词,则先判断是否词性相同,若还是有多个同义词,则选出最常用的一个意义,替换为此一行的词根。
synonym.py
读取及预处理同义词词林函数,句子分词及标注词性函数
\data五个句子.xlsx用于替换的五个句子
\dictionary\Cilin.txt哈工大同义词林,无分类符号\synonym.txt哈工大同义词林,带分类符号
\output\output.txt同义句生成输出\unify_output.txt归一化句子输出# paraphrase
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
