精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
服务方向
联系方式
I'm trying to get the lattice during online decoding by using SingleUtteranceNnet2Decoder: GetLattice(false, &clat) function.
I have 2 questions regarding this function:
1. Why the lattice different every time I call that function. I
thought that it supposed to be the same, only the new nodes and arcs
are appended. Would that cause by lattice determization in GetLattice function.
我正在尝试使用SingleUtteranceNnet2Decoder在联机解码期间获取晶格:GetLattice(false,&clat)函数。
关于此函数,我有两个问题:
1.为什么每次调用该函数时晶格都不同。我以为应该是一样的,只是附加了新的节点和弧。这将由GetLattice函数中的晶格确定引起。
- 看来此功能比GetBestPath需要更多时间。有什么办法可以加快速度吗?
I'm trying to get the lattice during online decoding by using SingleUtteranceNnet2Decoder: GetLattice(false, &clat) function.
I have 2 questions regarding this function:
1. Why the lattice different every time I call that function. I
thought that it supposed to be the same, only the new nodes and arcs
are appended. Would that cause by lattice determization in GetLattice
function.Yes, probably.很可能是。
It looks like this function takes more time than GetBestPath. Is there any way I can speed it up?
Probably the easiest way to speed it up is to decrease the lattice-beam. However, it might still not be that fast. That's unavoidable.
加快速度的最简单方法可能是减少晶格光束。但是,它可能还没有那么快。那是不可避免的。
If the lattice changes cause by determization function.
Does that mean if I get the raw lattice (without determization),
only new nodes and arcs are appended for each frame,
the rest of lattice will be kept unchange?如果晶格变化是由确定函数引起的。
这是否意味着如果我获得了原始晶格(没有确定性),则每帧仅附加新的节点和弧,
其余的晶格将保持不变?
The pruning will change as you see more data, so some of the nodes may be deleted. But otherwise it should be the same.当您看到更多数据时,修剪将改变,因此某些节点可能会被删除。但是否则应该是一样的。