seimei

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 9 Imported by: 0

README

seimei

MIT License test reviewdog

seimei is a Go port of a tool (namedivider-python) created in python to split Japanese first and last names.

For implementation details, please check (namedivider-python) from which porting.

Installation

go install github.com/glassmonkey/seimei/cmd/seimei@latest

Usage

Options

$ seimei -h
  -name string
        separate full name(ex. 田中太郎)
  -parse string
        separate characters (default " ")

Example

$ seimei -name 竈門炭治郎
竈門 炭治郎

$ seimei -name 竈門禰豆子 -parse @
竈門@禰豆子

Licence

Mit

Author

glassmonkey(@glassmonekey)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitKanjiFeatureManager

func InitKanjiFeatureManager() feature.KanjiFeatureManager

func InitNameParser

func InitNameParser(parseString string, manager feature.KanjiFeatureManager) parser.NameParser

func Run

func Run(out io.Writer, fullname string, parseString string) error

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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