GithubHelp home page GithubHelp logo

ner_address_demo's Introduction

NER_address_demo

Address extraction demo based on NER and flask

基于NER模型和flask框架的地址提取demo

从Hugging Face下载模型文件到model文件夹内,修改app.py文件内的对应模型路径即可。

例如:

git clone https://github.com/JohnnyQAQ/NER_address_demo.git
cd ./NER_address_demo/model
git clone https://huggingface.co/Danielwei0214/bert-base-chinese-finetuned-ner
git clone https://huggingface.co/TingChenChang/chinese-ner

根据不同模型可自定义不同的地址提取逻辑

安装依赖:

pip install flask transformers

运行服务:

python app.py

浏览器打开http://127.0.0.1:5000/

web界面可选择不同的NER模型:

image image

ner_address_demo's People

Contributors

johnnyqaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.