Giter VIP home page Giter VIP logo

con-parser's Introduction

constituency parser

实验

此分为两个,一个仅使用word feature,一个使用word+tag feature。 根据训练结果,word feature跑出来的LF指标大致在80%多一点点, word+tag feature能跑到84~85%。

# loss, metric:
1.219004377706207 UCM: 23.68% LCM: 15.43% UP: 90.96% UR: 90.09% UF: 90.52% LP: 85.72% LR: 84.90% LF: 85.30%

注意

这里包含两份数据集,上面的结果是在开源的数据集上跑出来的结果 还有一份是公司标注的数据集,在company_data下。

运行须知:

  1. 删除label_map.json, pos_map.json,会自动重新生成
  2. 运行preprocess_4.py,这个是通过final_data.json生成final_nltk_data.txt
  3. 运行preprocess_5.py,这个是将final_nltk_data.txt区分训练集和验证集

结果大概为 79

con-parser's People

Stargazers

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