ShiChengxu/moonlayout/hyphen does not have a README file
pub(open) trait Hyphenator { fn positions(Self, String) -> Array[Int]}
pub struct Liang { nodes : Array[Node] exceptions : Map[String, Array[Int]] left_min : Int right_min : Int}
impl Hyphenator for Liang
fn positions(self : Liang, word : String) -> Array[Int]
fn Liang::english() -> Liang
fn Liang::new(patterns : Array[String], exceptions? : Array[String], left_min? : Int, right_min? : Int) -> Liang
fn Liang::positions(self : Liang, word : String) -> Array[Int]
type Node
Install
Unicode 17 paragraph layout, line breaking and word/sentence segmentation
Dependencies
Powered by MoonBit
© 2026 mooncakes.io