在创建字典时使用语言模型文件 [英] usage of language model file while creating a dictionary

查看:55
本文介绍了在创建字典时使用语言模型文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个语音文本识别应用程序。为此目的,我开发了一个字典使用CMULanguage工具。为了创建我的项目的字典,我添加了两个文件到我的语言文件夹中的组和文件夹。文件有扩展.lm(语言模型)和.dic。

I created a speech to text recognition app.For that purpose i developed a dictionary using CMULanguage tool.For creating the dictionary for my project,i added two files to my Language folder present in Groups and Files.The files are having extensions .lm(language model) and .dic.

这些文件是CMULanguage工具提供给我的,当我上传我的语料库。我想知道什么是使用这个.lm文件?任何人如果知道,请让我知道这个话题。

These files are being supplied to me by the CMULanguage tool when i uploaded my Corpus.I want to know that what is the usage of this .lm file?anyone if know please let me know about this topic.

提前感谢
Christy

Thanks in advance, Christy

推荐答案

字典和语言模型是两个单独的项目 - 你不能将一个转换成另一个,你不能只是删除/不提供一个

The dictionary and the language model are two separate items -- you can not convert one into the other, and you can't just delete / not provide one of them -- both are needed!

字典用于告诉搜索算法有效词是什么,以及它们如何与音素/语音转录相关。

The dictionary is used to tell the search algorithm what the valid words are and how they relate to phonemes / the phonetic transcription.

语言模型在识别发音时使用,通过使用单语,双语,n-gram的概率,当搜索算法考虑字转换。

The language model is used during the recognition of an utterance, by using the probability of a uni-gram, bi-gram, n-gram .. when the search algorithm is considering a word-transition.

这篇关于在创建字典时使用语言模型文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆