graphemes

Open repos and models their makers tagged graphemes, most starred first. The same for everyone.

GitHubRepo

intl-segmenter

A high-performance wrapper around Intl.Segmenter for efficient text segmentation. This class resolves memory handling issues seen with large strings and "maximum call stack exceeded" exceptions that occur when strings exceed 40-50k characters. Enhances performance by 50-500x. Only ~70 loc (with comments) and no dependencies.

  • 22
  • JavaScript
  • 19 mo ago
Search GitHub and Hugging Face for graphemes

Get , open it once and sign in. Then come back here and press the button again.