jawc

package module
v0.0.0-...-a1e48b7 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 1 Imported by: 0

README

jawc

🗾 wc command for Japanese

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Mode      tokenizer.TokenizeMode
	Tokenizer tokenizer.Tokenizer
}

App represents this application itself.

func NewApp

func NewApp(mode tokenizer.TokenizeMode) *App

NewApp creates a new application.

func (App) CountWords

func (a App) CountWords(input string) int

CountWords counts the number of words. By default dummy tokens are excluded from counting. TODO: Exclude symbols such as punctuation and line breaks.

Directories

Path Synopsis
cmd
jawc command

Jump to

Keyboard shortcuts

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