pyunit-address | 字符串地址查询 , 支持自定义地址词库 , 解析地址 , 地址识别 , 地址抽取 , 中文地址

 by   PyUnit Python Version: 2021.3.31 License: No License

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
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pyunit-address has a low active ecosystem.
              It has 44 star(s) with 12 fork(s). There are 3 watchers for this library.
              OutlinedDot
              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

            kandi-Quality Quality

              pyunit-address has no bugs reported.

            kandi-Security Security

              pyunit-address has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pyunit-address does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse 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

            PyUnit-Address,测试
            Pythondot img1Lines of Code : 41dot img1no licencesLicense : No License
            copy iconCopy
            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')  # 加载词库文件,词库文件中的每一行,可  
            请求示例
            Pythondot img2Lines of Code : 23dot img2no licencesLicense : No License
            copy iconCopy
            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":  
            PyUnit-Address,查询地址
            Pythondot img3Lines of Code : 17dot img3no licencesLicense : No License
            copy iconCopy
            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.

            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:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install pyunit-address

          • CLONE
          • HTTPS

            https://github.com/PyUnit/pyunit-address.git

          • CLI

            gh repo clone PyUnit/pyunit-address

          • sshUrl

            git@github.com:PyUnit/pyunit-address.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link