1 / 9

Language Model Implementation Using HTK: An Overview of N-grams and Perplexity Analysis

This document provides a comprehensive overview of the implementation of a language model using HTK. It introduces key concepts, including N-grams and their variations such as Unigram, Bigram, Trigram, and 4-grams, and discusses the process of database preparation and vocabulary mapping. We explore the effect of different n-gram levels on perplexity and performance, emphasizing that while higher n-grams yield better accuracy, they also increase memory usage and risk overfitting. We conclude with insights on balancing model complexity and performance.

silas-flynn
Télécharger la présentation

Language Model Implementation Using HTK: An Overview of N-grams and Perplexity Analysis

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Language model using HTK Raymond Sastraputera

  2. Overview • Introduction • Implementation • Experimentation • Conclusion

  3. Word 1 Word 2 Word 3 Word 4 Introduction • Language model • N-gram • HTK 3.3 • Windows binary

  4. Implementation • Database Preparation • Word map • N-gram file • Mapping OOV words • Vocabulary list

  5. Implementation • Language model generation • Unigram • Bigram • Trigram • 4-gram • Perplexity

  6. Result

  7. Conclusion and Summary • Higher n-gram • Less perplexity • More memory usage • Too high means over fitting • Multiple backed • Waste of time

  8. Reference • 1. HTK (http://htk.eng.cam.ac.uk/)

  9. Thank you • Any Questions?

More Related