common

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsStopSuffix

func ContainsStopSuffix(sequence string, stops []string) bool

func FindStop

func FindStop(sequence string, stops []string) (bool, string)

func IncompleteUnicode

func IncompleteUnicode(token string) bool

func TruncateStop

func TruncateStop(pieces []string, stop string) ([]string, bool)

truncateStop removes the provided stop string from pieces, returning the partial pieces with stop removed, including truncating the last piece if required (and signalling if this was the case)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL