A Q Framework, or QFX for short, is provided for performing efficient tree
transformation in a generalized manner that achieves preservation of
action semantics for FSTs that support action information in their
representations across a diverse set of types of representations for
FSTs. Among other features, the QFX also enables the preservation of
ordered and unordered nest information while performing tree
transformation, supports the transformation of non-deterministic data
structures to a deterministic data structure and enables intersection
operations on machines having action semantics.