Coder Social home page Coder Social logo

corey-taylor / masterprojectsphinxmallet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 106.11 MB

Code for MALLET-augmented SPHINX speech recogniser from my Master in 2014

HTML 1.05% Shell 12.58% Perl 3.05% Makefile 20.70% Roff 32.44% Batchfile 0.01% C 24.86% C++ 1.74% M4 0.33% Python 2.22% Yacc 0.03% Java 0.97% SWIG 0.03% ReScript 0.01%

masterprojectsphinxmallet's Introduction

Master Project - Sphinx+Mallet

The purpose of this code is to use words and topics both from a corpus and from a speech sample to progressively adapt the language model of a speech recogniser, Sphinx.

Don't think MALLET or Sphinx4 were on Github at the time so this is code is also well out of date. This is, again, purely for posterity/potential employers.

/src/TopicModeller2.java does all the work here. Other code snippets do other things but this is the class that has most of the stuff in it.

A topic model is first trained on a corpus from the documents a user reads, writes, etc. Then, speech is read in by the recogniser. The transcript is added to the corpus and the topic model re-trained. The most probable topics are elucidated and most probable words extracted from these topics. The normalised probabilities of these words are then boosted in the language model prior to the next speech snippet being analysed.

The point of the exercise was to see if progressive adaptation of the language model with topic information would result in a better guess at the phrases most likely spoken/read about by the user. Not a usable product, proof-of-concept.

Some files (language models, mainly) are not there because they're too big:

remote: error: File resources/LanguageModels/US English Language Model/en-70k-0.1.lm.gz is 111.33 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: File resources/LanguageModels/WSJ.lm is 115.48 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: File resources/LanguageModels/language_model.arpaformat.DMP is 124.82 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: File resources/model.dmp is 124.77 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: File resources/LanguageModels/HUB4.lm is 612.46 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: File resources/input.lm is 599.62 MB; this exceeds GitHub's file size limit of 100.00 MB

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.