Git Product home page Git Product logo

Comments (3)

crownpku avatar crownpku commented on May 25, 2024

理論上中文這一套pipeline是可以處理中英混雜的,jieba對於英文也只是用空格split做tokenizer。
問題是你需要一個同時用中英文語料庫做訓練的MITIE詞向量作為支持。

from rasa_nlu_chi.

Lilylii avatar Lilylii commented on May 25, 2024

了解,我有使用中英文語料庫做訓練的MITIE詞向量,但關於部分pipeline,例如時間的 "ner_duckling" 這樣就只能訓練單一詞庫,這部分才想說有沒有方法能解決中英文同時訓練的問題?

from rasa_nlu_chi.

crownpku avatar crownpku commented on May 25, 2024

這種情況,我暫時的思路是,修改代码强行赋值语言选项,覆盖config中语言的配置,然后以ner_duckling為例,過兩遍module,一遍走中文一遍走英文。
更好的做法是需要extend当前config的设置方法,也许你可以去母项目提下这个多语言混杂配置的issue?

from rasa_nlu_chi.

Related Issues (20)

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.