arcweight 0.3.0

A high-performance, modular library for weighted finite state transducers with comprehensive examples and benchmarks
Documentation
//! Gallic semiring variant implementations.
//!
//! This module provides different variant types for the Gallic semiring, each
//! implementing different semantics for the addition ($`\oplus`$) operation:
//!
//! - [`LeftGallic`]: Longest common prefix (LCP)
//! - [`RightGallic`]: Longest common suffix (LCS)
//! - [`MinGallic`]: Minimum weight selection
//! - [`RestrictGallic`]: Functional transducer enforcement
//! - [`UnionGallic`]: General union semantics (default)
//!
//! # References
//!
//! - Mohri, M. (2002). Semiring frameworks and algorithms for shortest-distance problems.
//!   *Journal of Automata, Languages and Combinatorics*, 7(3), 321-350.

mod left;
mod min;
mod restrict;
mod right;
mod union;

pub use left::LeftGallic;
pub use min::MinGallic;
pub use restrict::RestrictGallic;
pub use right::RightGallic;
pub use union::UnionGallic;