textpat

command
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

The program `textpat` creates language patterns that can be loaded into running Go programs that are using the textcat library.

See function `AddLanguage` in library `textcat`.

Usage:

textpat [-r|-u] < sample data

Reads text samples from standard input, write to standard output text patterns for package github.com/pebbe/textcat

Options:

-r : raw patterns only
-u : utf8 patterns only

Jump to

Keyboard shortcuts

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