identtoken

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package identtoken splits source identifiers into lowercased sub-tokens on separators, camelCase boundaries, and letter/digit transitions. It is a leaf utility shared by search indexing (content generation) and search reranking.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(s string) []string

Split breaks an identifier into lowercased sub-tokens on separators, camelCase boundaries, and letter/digit transitions ("getUserById" -> get, user, by, id; "HTTPServer" -> http, server; "parseHTML5" -> parse, html, 5). @intent normalize source identifiers into stable search-index tokens without language-specific dependencies.

Types

This section is empty.

Jump to

Keyboard shortcuts

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