Giter Club home page Giter Club logo

digital-signal-processing's Introduction

Digital-Signal-Processing

Homework 1

Implementing Discrete Hidden Markov Model

If you wish to run the code, type the following commands in shell:

make                    # Compile the cpp files
bash train.sh           # Train the HMM models
bash test.sh            # Test the HMM models
bash train_and_test.sh  # Train and test the hmm models, and output an accuracy file

make clean              # Clean the object and binary files

Homework 2-1

Automatic Speech Recognition of Mandarin Digits

Homework 3

ZhuYin Decoding

First setup the environment:

docker run -it -v $(pwd)/dsp_hw3:/home/hw3 ntudsp2020autumn/srilm bash

In the docker container, type the following commands in shell:

cd /home/hw3
source setup.sh
bash preprocess.sh                        # Train the language model on corpus.txt
bash run.sh                               # First, map Big5-ZhuYin to ZhuYin-Big5. Second, compile the cpp files. Finally, test the bigram and trigram viterbi algorithms on files in test_data/

# Files in out/ is the origin output (without big5 encoded) of the disambig/mydisambig
# Files in sep/ is the separated files of the test data
# Files in view/ is the big5 encoded files of the origin output of disambig/mydisambig

bash clean.sh                             # Removes the object and binary files, view/, out/, sep/
rm -rf corpus.lm corpus_* ZhuYin-Big5.map # Removes the language model files generated by ncount

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.