Git Product home page Git Product logo

neural-chinese-address-parsing's Introduction

Neural Chinese Address Parsing

This page contains the code used in the work "Neural Chinese Address Parsing" published at NAACL 2019.

Contents

  1. Usage
  2. SourceCode
  3. Data
  4. Citation
  5. Credits

Usage

Prerequisite: Python (3.5 or later), Dynet (2.0 or later)

Run the following command to try out the APLT(sp=7) model in the paper.

./exp_dytree.sh

After the training is complete, type the following command to display the result on test data. The performance outputed by conlleval.pl is shown as below.

perl conlleval.pl < addr_dytree_giga_0.4_200_1_chardyRBTC_dytree_1_houseno_0_0.test.txt

alt text

SourceCode

The source code is written in Dynet, which can be found under the "src" folder.

Data

The data is stored in "data" folder containing "train.txt", "dev.txt" and "test.txt". The embedding file "giga.vec100" is also located in the folder "data".

The annotation guidelines are in the folder "data/anno". Both Chinese and English versions are available.

Citation

If you use this software for research, please cite our paper as follows:

@InProceedings{chineseaddressparsing19li, 
author = "Li, Hao and Lu, Wei and Xie, Pengjun and Li, Linlin", 
title = "Neural Chinese Address Parsing", 
booktitle = "Proc. of NAACL", 
year = "2019", 
}

Credits

The code in this repository are based on https://github.com/mitchellstern/minimal-span-parser

Email to [email protected] if any inquery.

neural-chinese-address-parsing's People

Contributors

leodotnet 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.