Skip to content

When inlining rules, don't walk the dragonfly graph again; instead stitch Gs #79

@daanzu

Description

@daanzu

patched
kaldi.compiler (Level 15): KaldiRule(51, mygrammar::phony_my_cursorfree_bottom_simple): Compiling 2206state/6525arc FST to 4831e0d55373b59ae91bf8466cb438ee.fst
Seems like the rules depending on other, complex, rules generate a lot of states and arcs.
daanzu (David Zurow)
yeah, the kaldi engine actually inlines rules
patched
Curious; Is that possible to disable?
daanzu (David Zurow)
currently no. i can't remember the details very clearly, but i remember thinking there was a way to maybe avoid that but it would be a bit of work
i don't think that should be causing much of a problem for memory or compilation speed
hmm, well it does have to walk the dragonfly grammar more times
so compilation speed yes
i could stitch the Gs together to save some time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions