pyunit-address | 字符串地址查询 , 支持自定义地址词库 , 解析地址 , 地址识别 , 地址抽取 , 中文地址
kandi X-RAY | pyunit-address Summary
kandi X-RAY | pyunit-address Summary
pyunit-address is a Python library. pyunit-address has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can install using 'pip install pyunit-address' or download it from GitHub, PyPI.
pyunit-address
pyunit-address
Support
Quality
Security
License
Reuse
Support
pyunit-address has a low active ecosystem.
It has 44 star(s) with 12 fork(s). There are 3 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 2 have been closed. On average issues are closed in 12 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of pyunit-address is 2021.3.31
Quality
pyunit-address has no bugs reported.
Security
pyunit-address has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
pyunit-address does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
pyunit-address releases are not available. You will need to build from source code and install.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed pyunit-address and discovered the below as its top functions. This is intended to give you an instant insight into pyunit-address implemented functionality, and help decide if they suit your requirements.
- get address type
- Adds words from a list of words .
- Returns a list of matching addresses
- Given a sentence return a list of addresses that match the given sentence .
- Add values from values .
- Try to find a list of addresses .
- Returns a function that checks that matches the given address .
- Remove the subset of a list
- Convert keys to addresses .
- reset the key
Get all kandi verified functions for this library.
pyunit-address Key Features
No Key Features are available at this moment for pyunit-address.
pyunit-address Examples and Code Snippets
Copy
from pyunit_address import *
import time
address = Address(is_max_address=True)
address.add_vague_text(['红花岗', '花溪']) # 加入地址名称
address.add_vague_text('贵州省-遵义市-遵义县-虾子镇-乐安村-乐石台') # 加入一串有顺序的地址
address.add_vague_text('自定义词库.txt') # 加载词库文件,词库文件中的每一行,可
Copy
import requests
url = "http://127.0.0.1:2312/pyunit/address/find"
data = {
'data': '我家在贵州龙里'
}
response = requests.get(url, params=data).json()
print(response)
{
"code": 200,
"result": [
{
"address": "龙里",
"correct_address":
Copy
from pyunit_address import Address, find_address
def test():
address = Address(is_max_address=True)
# 添加词库,可以是一个字符串、可以是列表字符串、可以是词库文件,一个词语占一行
address.add_vague_text('红花岗') # 在默认词库上追加地址词库
address.add_vague_text('贵州省-遵义市-遵义县-虾子镇-乐安村'
Community Discussions
No Community Discussions are available at this moment for pyunit-address.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyunit-address
You can install using 'pip install pyunit-address' or download it from GitHub, PyPI.
You can use pyunit-address like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
You can use pyunit-address like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page