org.snu.ids.ha.constants
Class HgEncoded

java.lang.Object
  extended by org.snu.ids.ha.constants.HgEncoded

public class HgEncoded
extends java.lang.Object

 ÇÑ±Û Ç°»ç Á¶°Ç Á¤º¸¿¡ ´ëÇÑ »ó¼ö¸¦ °¡Áö´Â class
 

Since:
2007. 7. 6
Author:
therocks

Field Summary
static long AD
           ºÎ»ç¾î·Î »ç¿ëµÇ´Â ǰ»ç Á¶°Ç
static long COMPOSED
           º¹ÇÕ¾î ¿©ºÎ¸¦ ¼³Á¤ÇÏ´Â Á¶°Ç EncodingµÈ °ªÀÌ À½¼öÀÌ¸é º¹ÇÕ¾îÀ̰í, ¾ç¼öÀÌ¸é ´ÜÀϾîÀÓ
static long CP
           
static long DT
           
static long EM
           ¾î¸» ¾î¹Ì ǰ»ç Á¶°Ç
static long EM_CN_DP
           
static long EM_CN_EQ
           
static long EM_CN_SU
           
static long EM_ED
           ¹®Àå Á¾°á Á¶°Ç
static long EM_ED_HR
           '¿ä' ¿Í °°ÀÌ ¾î¸» ¾î¹Ì ´ÙÀ½¿¡ ºÎ°¡ÀûÀ¸·Î ¿Ã ¼ö ÀÖ´Â ¾î¹Ì Á¸ÄªÀ» ³ªÅ¸³¿
static long EM_ED_NM
           
static long EM_FM
           Àü¼ºÇü ¾î¸» ¾î¹Ì È®ÀÎ Á¶°Ç
static long EM_FM_NN
           
static long EM_SU
           º¸Á¶Àû ¿¬°á¾î¹Ì Á¶°Ç
static long EP
           
static long FUNC_DT
           
static long FUNC_NN
           
static long FUNC_VV
           
static int INT_CP
           
static long JO
           Á¶»ç Á¶°Ç
static long JO_CL_AD
           
static long JO_CL_DT
           
static long JO_CL_EX
           È£°Ý Á¶»ç Á¶°Ç
static StringSet JOSA_SU_SET
           ¼­¼ú°Ý Á¶»ç ¾Õ¿¡ À§Ä¡ÇÒ ¼ö ÀÖ´Â º¸Á¶»ç
static StringSet LEFT_PARENTHESIS_SET
           Á°ýÈ£
static long MASK_COMPOSED
           
static long MASK_HG_CLASS
           
static long MASK_HG_FUNC
           
static long MASK_HG_TYPE
           
static long NN
           
static long NN_FM_NN
           Á¢¹Ì»ç Á¶°Ç
static long NR
           
static long NU
           
static long OR_CL_CN
           °Ý ȤÀº ¿¬°áÇü Á¶»ç Á¶°Ç
static long OR_DEFAULT_PRE_CLASS
           ¶ç¾î¾²±â°¡ µÇ¾úÀ» ¶§ ¾Õ¿¡ À§Ä¡ÇÒ ¼ö Àִ ǰ»ç Á¶°Ç
static long OR_DT_CLASSES
           °üÇü¾î·Î »ç¿ëµÇ´Â ǰ»ç Á¶°Ç
static long OR_EOGAN_CLASSES
           ¾î°£À¸·Î Ȱ¿ëµÇ´Â ǰ»ç Á¶°Ç
static long OR_EOMI_CLASSES
           ¼±¾î¸» ¾î¹Ì¿Í ¾î¸» ¾î¹Ì Á¶°Ç
static long OR_INCOMPLETE_CLASSES
           ºÒ¿ÏÀüÇÑ ÇüÅÂ¼Ò Ç°»ç Á¶°Ç -- "NR"µµ ¿ÏÀü¾î·Î µî·Ï
static long OR_JO_CP
           Á¶»ç
static long OR_MUST_ATTACH_CLASSES
           ºÒ¿ÏÀüÇÑ ÇüÅÂ¼Ò Ç°»ç Á¶°Ç
static long OR_NN_AD
           ¸í»ç, ºÎ»ç µ¿»ç³ª, Çü¿ë»ç¿Í ÇÕÃÄÁ®¼Å µ¿»ç³ª Çü¿ë»ç·Î »ç¿ëµÉ ¼ö ÀÖ´Â °æ¿ì¸¦ È®ÀÎÇϱâ À§ÇÔ
static long OR_NN_APPENDABLE_CLASSES
           ¸í»ç¿¡ ºÙ¾î¼­ »õ·Î¿î ´Ü¾î¸¦ ¸¸µé¼ö Àִ ǰ»ç (¿ë¾ðÀº ¾î°£) 1) ¸í»ç + ¸í»ç -> º¹ÇÕ¸í»ç 2) ¸í»ç + µ¿»ç -> µ¿»ç, Çü¿ë»ç 3) ¸í»ç + Çü¿ë»ç -> Çü¿ë»ç
static long OR_NN_NP_UM_VV_AJ_EM
           ÇѱÛÀڷθ¸ ¶ç¾î¾²±â µÇ¾î¼­ ºÐ¼®µÇ´Â °ÍÀ» ¹æÁöÇϱâ À§Çؼ­ »ç¿ëÇÏ´Â Á¶°Ç
static long OR_NOUN_CLASSES
           ü¾ðÀ¸·Î Ȱ¿ëµÇ´Â ǰ»ç Á¶°Ç
static long OR_POST_STRICT_CHECK_CLASSES
           ÇüżÒÁß¿¡ Ȱ¿ëµÇ¾î¼­ ¾Õ¿¡ ÀÖ´Â °Í°ú ÀûÇÕ¼ºÀÌ Àß ¸Â¾Æ¾ß¸¸ ÇÏ´Â °Íµé
static long OR_POST_UNCOMPLETE_CLASSES
           ÇüÅÂ¼Ò ºÐ¼® ³¡¿¡ ÀÖÀ» ¶§ ºÒ¿ÏÀüÇÑ class
static long OR_PRE_STRICT_CHECK_CLASSES
           ÇüÅÂ¼Ò Áß¿¡ Ȱ¿ëµÇ¾î¼­ µÚ¿¡ ÀÖ´Â °Í°ú Á¢ÇÕ¼ºÀÌ ¸Â¾Æ¾ß¸¸ ÇÏ´Â °Íµé ¹Ýµå½Ã µÚ¿¡ ¿Ï·áµÇ´Â ¾î¶² °ÍÀÌ ¿Í¾ß ÇÑ´Ù.
static long OR_PRE_UNCOMPLETE_CLASSES
           ÇüÅÂ¼Ò ºÐ¼® ½ÃÀÛÀ̾úÀ» ¶§ ºÒ¿ÏÀüÇÑ class
static long OR_VV_AJ
           µ¿»ç³ª Çü¿ë»çÀÇ ¾î°£ Á¶°Ç
static long OR_VV_AJ_EM_JO
           º¸Á¶Àû ¿¬°á¾î¹Ì ´ÙÀ½¿¡ ¿Ã ¼ö Àִ ǰ»ç Á¶°Ç
static StringSet PARENTHESIS_SET
           °ýÈ£
static long PF
           
static StringSet RIGHT_PARENTHESIS_SET
           ¿ì°ýÈ£
static long SY
           Ư¼ö ¹®ÀÚ Ç°»ç Á¶°Ç
static long TYPE_FM
           Çüº¯È¯ ±â´ÉÀ» °¡Á³´ÂÁö È®ÀÎÇÏ´Â Á¶°Ç
static long TYPE_SU
           º¸Á¶»ç Á¶°Ç
static long UNMASK_HG_CLASS
           
 
Constructor Summary
HgEncoded()
           
 
Method Summary
static java.lang.String[] decodeHgInfo(long hgEncoded)
           encodingµÈ hgInfo ·ÎºÎÅÍ hgClass, hgType, hgFunc Á¤º¸¸¦ °¡Áø ¹®ÀÚ¿­ ¹è¿­À» ¹ÝȯÇÑ´Ù.
static long encodeHgInfo(java.lang.String hgClass, java.lang.String hgType, java.lang.String hgFunc)
           ǰ»ç, ±¸ºÐ, ¿ªÇÒÀÇ ¼¼°¡Áö Á¤º¸¸¦ longÇü µ¥ÀÌÅÍ¿¡ encodingÇÏ¿© ¹ÝȯÇÑ´Ù.
static long encodeHgInfo(java.lang.String hgClass, java.lang.String compType, java.lang.String hgType, java.lang.String hgFunc)
           º¹ÇÕ¾î ¿©ºÎ±îÁö ¹Þ¾Æµé¿©¼­ Á¤º¸ ¼³Á¤
static java.lang.String getComposed(long hgEncoded)
           º¹ÇÕ¾î ¿©ºÎ¸¦ ¹ÝȯÇÑ´Ù.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OR_NOUN_CLASSES

public static final long OR_NOUN_CLASSES
 ü¾ðÀ¸·Î Ȱ¿ëµÇ´Â ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_DT_CLASSES

public static final long OR_DT_CLASSES
 °üÇü¾î·Î »ç¿ëµÇ´Â ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

AD

public static final long AD
 ºÎ»ç¾î·Î »ç¿ëµÇ´Â ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

DT

public static final long DT

NN

public static final long NN

NU

public static final long NU

NR

public static final long NR

EP

public static final long EP

PF

public static final long PF

OR_NN_APPENDABLE_CLASSES

public static final long OR_NN_APPENDABLE_CLASSES
 ¸í»ç¿¡ ºÙ¾î¼­ »õ·Î¿î ´Ü¾î¸¦ ¸¸µé¼ö Àִ ǰ»ç (¿ë¾ðÀº ¾î°£)
        1) ¸í»ç + ¸í»ç -> º¹ÇÕ¸í»ç
  2) ¸í»ç + µ¿»ç -> µ¿»ç, Çü¿ë»ç
  3) ¸í»ç + Çü¿ë»ç -> Çü¿ë»ç
 

Since:
2007. 7. 27

OR_NN_NP_UM_VV_AJ_EM

public static final long OR_NN_NP_UM_VV_AJ_EM
 ÇѱÛÀڷθ¸ ¶ç¾î¾²±â µÇ¾î¼­ ºÐ¼®µÇ´Â °ÍÀ» ¹æÁöÇϱâ À§Çؼ­ »ç¿ëÇÏ´Â Á¶°Ç
 

Since:
2007. 7. 26

OR_PRE_STRICT_CHECK_CLASSES

public static final long OR_PRE_STRICT_CHECK_CLASSES
 ÇüÅÂ¼Ò Áß¿¡ Ȱ¿ëµÇ¾î¼­ µÚ¿¡ ÀÖ´Â °Í°ú Á¢ÇÕ¼ºÀÌ ¸Â¾Æ¾ß¸¸ ÇÏ´Â °Íµé
 ¹Ýµå½Ã µÚ¿¡ ¿Ï·áµÇ´Â ¾î¶² °ÍÀÌ ¿Í¾ß ÇÑ´Ù.
 

Since:
2007. 7. 18

OR_POST_STRICT_CHECK_CLASSES

public static final long OR_POST_STRICT_CHECK_CLASSES
 ÇüżÒÁß¿¡ Ȱ¿ëµÇ¾î¼­ ¾Õ¿¡ ÀÖ´Â °Í°ú ÀûÇÕ¼ºÀÌ Àß ¸Â¾Æ¾ß¸¸ ÇÏ´Â °Íµé
 

Since:
2007. 7. 6

OR_DEFAULT_PRE_CLASS

public static final long OR_DEFAULT_PRE_CLASS
 ¶ç¾î¾²±â°¡ µÇ¾úÀ» ¶§ ¾Õ¿¡ À§Ä¡ÇÒ ¼ö Àִ ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_VV_AJ_EM_JO

public static final long OR_VV_AJ_EM_JO
 º¸Á¶Àû ¿¬°á¾î¹Ì ´ÙÀ½¿¡ ¿Ã ¼ö Àִ ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_VV_AJ

public static final long OR_VV_AJ
 µ¿»ç³ª Çü¿ë»çÀÇ ¾î°£ Á¶°Ç
 

Since:
2007. 7. 6

OR_EOGAN_CLASSES

public static final long OR_EOGAN_CLASSES
 ¾î°£À¸·Î Ȱ¿ëµÇ´Â ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_INCOMPLETE_CLASSES

public static final long OR_INCOMPLETE_CLASSES
 ºÒ¿ÏÀüÇÑ ÇüÅÂ¼Ò Ç°»ç Á¶°Ç
 -- "NR"µµ ¿ÏÀü¾î·Î µî·Ï
 

Since:
2007. 7. 6

OR_MUST_ATTACH_CLASSES

public static final long OR_MUST_ATTACH_CLASSES
 ºÒ¿ÏÀüÇÑ ÇüÅÂ¼Ò Ç°»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_JO_CP

public static final long OR_JO_CP
 Á¶»ç
 

Since:
2007. 7. 23

OR_EOMI_CLASSES

public static final long OR_EOMI_CLASSES
 ¼±¾î¸» ¾î¹Ì¿Í ¾î¸» ¾î¹Ì Á¶°Ç
 

Since:
2007. 7. 6

OR_PRE_UNCOMPLETE_CLASSES

public static final long OR_PRE_UNCOMPLETE_CLASSES
 ÇüÅÂ¼Ò ºÐ¼® ½ÃÀÛÀ̾úÀ» ¶§ ºÒ¿ÏÀüÇÑ class
 

Since:
2007. 7. 21

OR_POST_UNCOMPLETE_CLASSES

public static final long OR_POST_UNCOMPLETE_CLASSES
 ÇüÅÂ¼Ò ºÐ¼® ³¡¿¡ ÀÖÀ» ¶§ ºÒ¿ÏÀüÇÑ class
 

Since:
2007. 7. 21

SY

public static final long SY
 Ư¼ö ¹®ÀÚ Ç°»ç Á¶°Ç
 

Since:
2007. 7. 6

JO

public static final long JO
 Á¶»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_CL_CN

public static final long OR_CL_CN
 °Ý ȤÀº ¿¬°áÇü Á¶»ç Á¶°Ç
 

Since:
2007. 7. 6

OR_NN_AD

public static final long OR_NN_AD
 ¸í»ç, ºÎ»ç
 µ¿»ç³ª, Çü¿ë»ç¿Í ÇÕÃÄÁ®¼Å µ¿»ç³ª Çü¿ë»ç·Î »ç¿ëµÉ ¼ö ÀÖ´Â °æ¿ì¸¦ È®ÀÎÇϱâ À§ÇÔ
 

Since:
2007. 7. 23

JO_CL_EX

public static final long JO_CL_EX
 È£°Ý Á¶»ç Á¶°Ç
 

Since:
2007. 7. 6

JO_CL_DT

public static final long JO_CL_DT

JO_CL_AD

public static final long JO_CL_AD

NN_FM_NN

public static final long NN_FM_NN
 Á¢¹Ì»ç Á¶°Ç
 

Since:
2007. 7. 27

TYPE_SU

public static final long TYPE_SU
 º¸Á¶»ç Á¶°Ç
 

Since:
2007. 7. 6

TYPE_FM

public static final long TYPE_FM
 Çüº¯È¯ ±â´ÉÀ» °¡Á³´ÂÁö È®ÀÎÇÏ´Â Á¶°Ç
 

Since:
2007. 7. 27

CP

public static final long CP

EM

public static final long EM
 ¾î¸» ¾î¹Ì ǰ»ç Á¶°Ç
 

Since:
2007. 7. 6

EM_ED

public static final long EM_ED
 ¹®Àå Á¾°á Á¶°Ç
 

Since:
2007. 7. 6

EM_FM

public static final long EM_FM
 Àü¼ºÇü ¾î¸» ¾î¹Ì È®ÀÎ Á¶°Ç
 

Since:
2007. 7. 10

EM_FM_NN

public static final long EM_FM_NN

EM_SU

public static final long EM_SU
 º¸Á¶Àû ¿¬°á¾î¹Ì Á¶°Ç
 

Since:
2007. 7. 6

EM_ED_HR

public static final long EM_ED_HR
 '¿ä' ¿Í °°ÀÌ ¾î¸» ¾î¹Ì ´ÙÀ½¿¡ ºÎ°¡ÀûÀ¸·Î ¿Ã ¼ö ÀÖ´Â ¾î¹Ì
 Á¸ÄªÀ» ³ªÅ¸³¿
 

Since:
2007. 7. 10

EM_CN_DP

public static final long EM_CN_DP

EM_CN_EQ

public static final long EM_CN_EQ

EM_CN_SU

public static final long EM_CN_SU

EM_ED_NM

public static final long EM_ED_NM

FUNC_NN

public static final long FUNC_NN

FUNC_DT

public static final long FUNC_DT

FUNC_VV

public static final long FUNC_VV

COMPOSED

public static final long COMPOSED
 º¹ÇÕ¾î ¿©ºÎ¸¦ ¼³Á¤ÇÏ´Â Á¶°Ç
 EncodingµÈ °ªÀÌ À½¼öÀÌ¸é º¹ÇÕ¾îÀ̰í, ¾ç¼öÀÌ¸é ´ÜÀϾîÀÓ
 

Since:
2007. 7. 20
See Also:
Constant Field Values

MASK_COMPOSED

public static final long MASK_COMPOSED
See Also:
Constant Field Values

UNMASK_HG_CLASS

public static final long UNMASK_HG_CLASS
See Also:
Constant Field Values

MASK_HG_CLASS

public static final long MASK_HG_CLASS
See Also:
Constant Field Values

MASK_HG_TYPE

public static final long MASK_HG_TYPE
See Also:
Constant Field Values

MASK_HG_FUNC

public static final long MASK_HG_FUNC
See Also:
Constant Field Values

RIGHT_PARENTHESIS_SET

public static final StringSet RIGHT_PARENTHESIS_SET
 ¿ì°ýÈ£
 

Since:
2007. 7. 21

LEFT_PARENTHESIS_SET

public static final StringSet LEFT_PARENTHESIS_SET
 Á°ýÈ£
 

Since:
2007. 7. 21

PARENTHESIS_SET

public static final StringSet PARENTHESIS_SET
 °ýÈ£
 

Since:
2007. 7. 21

JOSA_SU_SET

public static final StringSet JOSA_SU_SET
 ¼­¼ú°Ý Á¶»ç ¾Õ¿¡ À§Ä¡ÇÒ ¼ö ÀÖ´Â º¸Á¶»ç
 

Since:
2007. 7. 21

INT_CP

public static final int INT_CP
Constructor Detail

HgEncoded

public HgEncoded()
Method Detail

encodeHgInfo

public static long encodeHgInfo(java.lang.String hgClass,
                                java.lang.String hgType,
                                java.lang.String hgFunc)
 ǰ»ç, ±¸ºÐ, ¿ªÇÒÀÇ ¼¼°¡Áö Á¤º¸¸¦ longÇü µ¥ÀÌÅÍ¿¡ encodingÇÏ¿© ¹ÝȯÇÑ´Ù.
 °¢°¢À» orÁ¶°ÇÀ¸·Î ÀúÀåÇÒ ¼ö ÀÖ´Ù.
 ÀÏ´ÜÀº ÇϳªÀÇ Á¤º¸¸¸À» ÁöÁ¤ÇصÒ
 óÀ½ 1bit´Â º¹ÇÕ ¸í»ç ¿©ºÎ
 ´ÙÀ½ 31bit´Â hgClassÁ¤º¸
 ´ÙÀ½ 16bit´Â hgTypeÁ¤º¸
 ´ÙÀ½ 16bit´Â hgFuncÁ¤º¸
 [31bit-hgClass][16bit-hgType][16bit-hgFunc]
 

Parameters:
hgClass -
hgType -
hgFunc -
Returns:
Since:
2007. 7. 6

encodeHgInfo

public static long encodeHgInfo(java.lang.String hgClass,
                                java.lang.String compType,
                                java.lang.String hgType,
                                java.lang.String hgFunc)
 º¹ÇÕ¾î ¿©ºÎ±îÁö ¹Þ¾Æµé¿©¼­ Á¤º¸ ¼³Á¤
 

Parameters:
hgClass -
compType -
hgType -
hgFunc -
Returns:
Since:
2007. 7. 20

getComposed

public static java.lang.String getComposed(long hgEncoded)
 º¹ÇÕ¾î ¿©ºÎ¸¦ ¹ÝȯÇÑ´Ù.
 

Parameters:
hgEncoded -
Returns:
Since:
2007. 7. 20

decodeHgInfo

public static java.lang.String[] decodeHgInfo(long hgEncoded)
 encodingµÈ hgInfo ·ÎºÎÅÍ hgClass, hgType, hgFunc Á¤º¸¸¦ °¡Áø ¹®ÀÚ¿­ ¹è¿­À» ¹ÝȯÇÑ´Ù.
 

Parameters:
hgEncoded -
Returns:
Since:
2007. 7. 6