首页 开发技术 其它     /    FuzzyRegex:2012年-模糊正则表达式模式匹配和捕获-源码

FuzzyRegex:2012年-模糊正则表达式模式匹配和捕获-源码

上传者: weixin_42150745 | 上传时间:2025/7/4 13:48:53 | 文件大小:12KB | 文件类型:ZIP
FuzzyRegex:2012年-模糊正则表达式模式匹配和捕获-源码
模糊正则表达式2012年-模糊正则表达式模式匹配和捕获。
将Regex的匹配和捕获能力与Levenshtein距离算法的比较能力相结合。
将字符串匹配到模式并提取变量,即使输入文本与模式不完全匹配也是如此。
例如:模式:“我叫¿,我今年¿岁”输入:“我叫约翰,我今年30岁”得分:1.0变量:[“John”,“30”]令牌:[“我的名字是”,“,我是”,“岁”]输入:“我叫John,今年30岁。
”得分:0.8285714285714286变量:[“John”,“30”]令牌:[“我的名字”,“我是”,“岁。
”]在不明确的情况下,将返回所有有效结果。
例如:模式:“What¿s”输入:“到底是什么龙虾”得分:1.0提取1:变量:[“the”,“hellarelobster”]令牌:[“What”,“”,“s”]提取2 本软件ID:15131121

文件下载

资源详情

[{"title":"(13个子文件12KB)FuzzyRegex:2012年-模糊正则表达式模式匹配和捕获-源码","children":[{"title":"FuzzyRegex-master","children":[{"title":"src","children":[{"title":"FuzzyRegex.java <span style='color:#111;'>32.91KB</span>","children":null,"spread":false}],"spread":true},{"title":"FuzzyRegex.iml <span style='color:#111;'>739B</span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'>452B</span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'>616B</span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'>304B</span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'>2.35KB</span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'>260B</span>","children":null,"spread":false},{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'>2.65KB</span>","children":null,"spread":false},{"title":"codeStyleConfig.xml <span style='color:#111;'>148B</span>","children":null,"spread":false}],"spread":true},{"title":"vcs.xml <span style='color:#111;'>167B</span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'>1.21KB</span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'>2.40KB</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>74B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明