com.hankcs.hanlp.dictionary.other
类 CharTable

java.lang.Object
  继承者 com.hankcs.hanlp.dictionary.other.CharTable

public class CharTable
extends Object

字符正规化表

作者:
hankcs

字段摘要
static char[] CONVERT
          正规化使用的对应表
 
构造方法摘要
CharTable()
           
 
方法摘要
static char convert(char c)
          将一个字符正规化
static char[] convert(char[] charArray)
           
static String convert(String charArray)
           
static void normalization(char[] charArray)
          正规化一些字符(原地正规化)
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

CONVERT

public static char[] CONVERT
正规化使用的对应表

构造方法详细信息

CharTable

public CharTable()
方法详细信息

convert

public static char convert(char c)
将一个字符正规化

参数:
c - 字符
返回:
正规化后的字符

convert

public static char[] convert(char[] charArray)

convert

public static String convert(String charArray)

normalization

public static void normalization(char[] charArray)
正规化一些字符(原地正规化)

参数:
charArray - 字符


Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.