- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://www.lacona.io/
软件介绍
Lacona 是语言无关的 JavaScript 语言解析器。Lacona 可以根据一个任意但是定义良好的模式来预测自然语言。也就是说,你告诉 Lacona 一些语言的工作原理,然后就能帮助用户编写它,然后告诉用户这是什么意思。
因为语言是非常复杂的,所以 Lacona 提供一些强大的工具来简化TA。Lacona 类似 nltk,但是又非常不同。nltk 是低级解析器, 根据实际的语法来解析任意字符串,而 Lacona 理解一个良好定义的词组,提取其中的数据,不要求支持实际的语法。
使用:
import lacona from 'lacona'; var parser = new lacona.Parser();
Mastering Regular Expressions, Second Edition
Jeffrey E F Friedl / O'Reilly Media / 2002-07-15 / USD 39.95
Regular expressions are an extremely powerful tool for manipulating text and data. They have spread like wildfire in recent years, now offered as standard features in Perl, Java, VB.NET and C# (and an......一起来看看 《Mastering Regular Expressions, Second Edition》 这本书的介绍吧!
