scm

package module
v0.0.0-...-6908df5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: MIT Imports: 5 Imported by: ? 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.

README

SCM

简体字&繁体字笔画映射工具包(stroke count mapping),以及笔画库编辑工具。共收录20964个汉字,按照偏旁部首排序。

How to use

1. go get github.com/JaveCai/scm
2. copy "utf8_Stroke.txt" to the same path with the user
3. import "github.com/JaveCai/scm" in you source code
4. invoke scm.GetStrokeCount(word) then you get the stroke count of "word"

NOTICE

The current version of "utf8_Stroke.txt" was adjust with the rule below:

image

If you don't need these change, just edit it with "strokeCountEditer".

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStrokeCount

func GetStrokeCount(s string) int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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