Skip to main content

compact_text

Function compact_text 

Source
pub fn compact_text<'a>(text: &'a str, config: &CompactorConfig) -> Cow<'a, str>
Expand description

テキストのコンテキスト縮約およびノイズ除去を実行する。

§引数

  • text: 正規化対象文字列。
  • config: コンパクター設定。