Namespaces | Functions

OpenFstInterop.cpp File Reference

Namespaces

namespace  opennwa
 

This file defines forward declarations for various useful NWA-related types.


Functions

Key opennwa::get_wali_key (FstKey fstkey, fst_wali_key_maps const &maps)
StdArc::StateId opennwa::get_fst_key (WaliKey walikey, fst_wali_key_maps const &maps)
void opennwa::add_fst_state (StdMutableFst &fst, WaliKey walikey, fst_wali_key_maps &maps)
StdVectorFst opennwa::internal_only_nwa_to_fst (NwaRefPtr nwa, fst_wali_key_maps *maps=NULL)
 Given an NWA 'nwa' with no call or return transitions, converts 'nwa' to an OpenFST acceptor.
NwaRefPtr opennwa::fst_to_nwa (StdExpandedFst const &fst, fst_wali_key_maps &maps, std::string node_prefix)
NwaRefPtr opennwa::minimize_internal_nwa (NwaRefPtr internal_nwa, std::string node_prefix="")
 Given an NWA 'internal_nwa' without call or return transitions, treat the NWA as a standard FA and minimize it.
NwaRefPtr opennwa::determinize_internal_nwa (NwaRefPtr internal_nwa, std::string node_prefix="")
 Given an NWA 'internal_nwa' without call or return transitions, treat the NWA as a standard FA and determinize it using OpenFST.