fulldict

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fulldict embeds the gse Chinese dictionary (simplified + traditional, ~+31MB binary) so CJK word segmentation works with zero downloads and zero build flags. Import for side effects:

import _ "github.com/ProjAnvil/LadyM/storage/fulldict"

This is the import-path alternative to building with -tags fulldict: the dictionary data is linked in only when this package is imported, so binaries (including LadyM's own default builds) that do not import it stay small. Importing both this package and the build tag is harmless — they register the same dictionary.

A downloaded file dictionary (~/.ladyM/dict) still takes precedence over this embedded one, so dictionary upgrades remain possible without a rebuild.

Jump to

Keyboard shortcuts

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