Skip to content

shigenobu/mysql_ws_neologd_normalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ws_neologd_normalize - MySQL UDF for neologd normalize.

about

This is MySQL User Defined Function written by cgo.
Normalize string following neologd.

(neologd normalize algorithm)
https://github.com/neologd/mecab-ipadic-neologd/wiki/Regexp.ja

In addition, this udf remove \n, \r, \t and \v.

how to install

$ ./build.sh

(notice)

  • require root privilege

example

MariaDB [(none)]> select ws_neologd_normalize('   PRML  副 読 本   ');
+-----------------------------------------------------------------------------+
| ws_neologd_normalize('   PRML  副 読 本   ')                  |
+-----------------------------------------------------------------------------+
| PRML副読本                                                                  |
+-----------------------------------------------------------------------------+

About

MySQL UDF for neologd normalize.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published