从网页或pdf文档中提取数据并将其与给定的文本参数匹配
TextMatcher的Python项目详细描述
1 Welcome to TextMatcher’s documentation!
Version: | 0.12 |
---|---|
Source: | https://github.com/maykinmedia/python-textmatcher |
Keywords: | ^{tt1}$ |
PythonVersion: | 3.6 |
从网页或pdf文档中提取数据,并将其与给定的文本参数匹配
2 Installation
2.1 Requirements
- Python 3.6或更高版本
- setuptools 30.3.0或更高版本
2.2 Install
pip install textmatcher
3 Usage
fromtextmatcherimportmatchfind='Python enabled us to create EVE Online, a massive multiplayer game, in record time.'ratio=match('https://www.python.org/about/quotes/',find)print(ratio)