| Kinosearch :: ºÐ¼® :: ÅäÅ« ÈÁ¦ Kinosearch :: Analysis :: Tokenizer´Â »ç¿ëÀÚ Á¤ÀÇ °¡´ÉÇÑ ÅäÅ« ÈÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Kinosearch :: ºÐ¼® :: ÅäÅ« ÈÁ¦ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Marvin Humphrey
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~creamyg/KinoSearch-0.162/lib/KinoSearch/Search/SearchServer.pm
Kinosearch :: ºÐ¼® :: ÅäÅ« ÈÁ¦ ű×
Kinosearch :: ºÐ¼® :: ÅäÅ« ÈÁ¦ ¼³¸í
Kinosearch :: Analysis :: Tokenizer´Â »ç¿ëÀÚ Á¤ÀÇ ÇÒ ¼öÀÖ´Â ÅäÅ« ÈÀÔ´Ï´Ù. Kinosearch :: Analysis :: Tokenizer´Â »ç¿ëÀÚ Á¤ÀÇ ÇÒ ¼öÀÖ´Â Tokenizing.Synopsis ³» $ whitespace_tokenizer = kinosearch :: Analysis :: kotokenizer-> new (token_re => qr / s + /,); # ¶Ç´Â ... ³» $ word_chara_tokenizer = kinosearch :: ºÐ¼® :: ÅäÅ« ÈÁ¦ -> »õ (token_re => qr / w + /,); # ¶Ç´Â ... My $ Apostrophising_Tokenizer = Kinosearch :: Analysis :: Tokenizer-> New; # ´ÙÀ½ ... ÅäÅ© ³ªÀÌÀú°¡ ÀÖÀ¸¸é Polyanalyzer ³» $ Polyanalyzer = Kinosearch :: Analysis :: PolyAnalyzer-> New (ºÐ¼® => ,), ÀϹÝÀûÀ¸·Î " ÅäÅ« È "´Â ¹®ÀÚ¿À»"ÅäÅ« "¹è¿·Î Æı«ÇÏ´Â ÇÁ·Î¼¼½ºÀÔ´Ï´Ù. # Àü¿¡ : ³» $ string = "3 °³ÀÇ ¸ÍÀÎ ¸¶¿ì½º"; # : @tokens = qw (3 °³ÀÇ ºí¶óÀÎµå ¸¶¿ì½º); Kinosearch :: Analysis :: Tokenizer´Â Token_ReÀÇ °ªÀ» ±â¹ÝÀ¸·Î ÅؽºÆ®¸¦ ºÐÇØ ÇؾßÇÏ´Â À§Ä¡¸¦ °áÁ¤ÇÕ´Ï´Ù. # Àü¿¡ : My $ string = "¸Ô°í, ½î°í ÀÙ."; # $ whitespace_tokenizer @Tokens = qw (¸Ô´Â, ½î°í ÀÙ); # $ word_chara_tokenizer @tokens = qw (ÃÔ¿µ ¹× ÀÙÀ» ¸Ô´Â °Í); ¿ä±¸ »çÇ× : ¡¤ Perl ¿ä±¸ »çÇ× : ¡¤ Perl.
Kinosearch :: ºÐ¼® :: ÅäÅ« ÈÁ¦ °ü·Ã ¼ÒÇÁÆ®¿þ¾î