Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
6874186 | Information Processing Letters | 2018 | 5 Pages |
Abstract
The time complexity of finding the most probable derivation for stochastic context-free grammars is cubic in the size of the input. The Viterbi algorithm solves the same task in linear time for stochastic regular languages. We present two modified versions of this algorithm. One finds the most probable path and builds a parse tree for stochastic one-counter languages in quadratic time of the size of the input. The other finds the most probable derivation for stochastic linear languages, also in quadratic time.
Keywords
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Alexander Sakharov, Timothy Sakharov,