Giter Site home page Giter Site logo

crf_prosody_prediction's Introduction

crf_prosody_prediction

demo code of prosodic events prediction applying CRFs

./scripts

Tools here can help with pre-processing the original data in diretory "./data/txt_with_stress". One example of the original data looks like:

https://github.com/kokoinyannn/crf_prosody_prediction/blob/master/data/txt_with_stress/S_PH_B_1_006.txt

in which the numbers stand for the stress level of the corresponding syllable, and the "|" (vertical line) stands for phrase boundary.

By applying label_gen and sent_gen, the expected output looks like

[['Bright', 'NNP', 'N', 'NPS', 'NSS'], ['sunshine', 'NN', 'S', 'PS', 'NSS'], ['shimmers', 'NNS', 'N', 'NPS', 'NSS'], ['on', 'IN', 'N', 'NPS', 'NSS'], ['the', 'DT', 'N', 'NPS', 'NSS'], ['ocean', 'NN', 'N', 'PS', 'SS'], ['.', '.', '', 'NPS', 'NSS']]

in which the first label in each element is token itself, following POS tagging, slash information (S for having slash and N for no slash), phrase stress information and sentence stress information.

Data like this are ready for the crf training.

./crf

The core programs of predicting prosodic events using crf and detailed description can be found here.

publication

This research was poster presented at 2018 ASJ autumn meeting. The paper can be found here: http://gavo.t.u-tokyo.ac.jp/~xinyi/ASJ_paper.pdf

crf_prosody_prediction's People

Contributors

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