Giter Club home page Giter Club logo

Comments (3)

wenjie-p avatar wenjie-p commented on June 13, 2024 1

Hi Fran,

I just noticed this issue right now, but I think maybe I can help with this for Chinese.

Perhaps something like PASS to basically return whatever was input and REPL for removing punctuation.

If I understand correctly, this is used to separate the valid chars from punctuations. Generally, punctuations should not
be considered for AM training for Chinese. But some punctuations like ?! are usually involved strong emotions, thus differ from declarative sentence ended with I think punctuations removal should be taken carefully and should take the transcripts into account.

Another option would be something like CB for check Unicode Block.

I think we can select the valid chars from punctuations for Chinese based on the hex number of unicode.

from commonvoice-utils.

wenjie-p avatar wenjie-p commented on June 13, 2024 1

for Chinese, are you mostly training byte-based models, or pinyin/phone-based?

I think it depends. For hybrid system, a pronunciation lexicon is demand to map each character to pinyin most times; while E2E system is lexicon-free and we can adopt BPE as modeling unit. To be honest, my current research interest is not focus on Chinese ASR, but I think people would make their choice of modeling unit selection based on their demands, i.e. model/algorithm to further improve.

from commonvoice-utils.

ftyers avatar ftyers commented on June 13, 2024

For punctuation it would be interesting to see the effect of adding them in or not. For many acoustic models, I worry that the kind of information needed for predicting the final punctuation might be quite a long way away from where it needs to be predicted, e.g. maybe intonation difference is clear in the middle of the utterance, but the question mark needs to be predicted at the end.

On the other hand I think that this is an empirical question and could be determined by trying to train a model with and without and looking at the errors.

I think that the "check block" is a nicer example, it would allow us to exclude transcripts which include Latin characters for example. Also, for Chinese, are you mostly training byte-based models, or pinyin/phone-based?

from commonvoice-utils.

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.