| WebService :: GoogleHack :: ºñÀ² WebService :: GoogleHack :: Rate´Â °£´ÜÇÑ °ü·Ã¼º ÃøÁ¤ ¹× ÀÇ¹Ì ¹æÇâÀ» ±¸ÇöÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
WebService :: GoogleHack :: ºñÀ² ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Pratheepan Raveendranathan and Ted Pedersen
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~prath/
WebService :: GoogleHack :: ºñÀ² ű×
WebService :: GoogleHack :: ºñÀ² ¼³¸í
WebService :: GoogleHack :: Rate´Â °£´ÜÇÑ °ü·Ã¼º ÃøÁ¤ ¹× ÀÇ¹Ì ¹æÇâÀ» ±¸ÇöÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. WebService :: GoogleHack :: Rate´Â °£´ÜÇÑ °ü·Ã¼º ÃøÁ¤ °ª°ú ½Ã¸Çƽ ¿À¸®¿£Å×ÀÌ¼Ç °ü·Ã À¯Çü ±â´ÉÀ» ±¸ÇöÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù .Synopsis´Â WebService :: GoogleHack :: Rate; #give ¿©±â¼ ÆÄÀÏÀ» ÀÔ·ÂÇÏ´Â °æ·Î ³» $ InputFile = ""; #give ÆÄÀÏÀ» ÃßÀû ÇÒ ¼öÀÖ´Â °æ·Î ³» $ tracefile = ""; #create À¯Çü ¼ÓµµÀÇ °´Ã¼ My $ Rate = WebService :: GoogleHack :: Rate-> new (); $ °á°ú = $ Rate-> MeasureSemanticRelatedness1 ( "Dog", "Cat"); # PMI ÃøÁ¤ °ªÀº º¯¼ö $ °á°ú¿¡ ÀúÀåµÇ¸ç # $ À² -> { 'PMI'}·Î ¾×¼¼½º ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. $ °á°ú = $ Rate-> PredictSemantictorientation ($ InputFile, "¿ì¼ö", "³ª»Û", $ tracefile); # resutls´Â $ °á°ú -> { '¿¹Ãø'}¸¦ ÅëÇØ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù. "n"; $ °á°ú -> { 'pmi measure'}. "n"; $ Rate -> { '¿¹Ãø'}. "n"; $ Rate -> { 'PMI Measure'} "n"; WebService :: GoogleHack :: Rate -ÀÌ ÆÐÅ°Áö´Â GoogleÀ» »ç¿ëÇÏ¿© ±âº»ÀûÀÎ ÀÚ¿¬ ¾ð¾î 󸮸¦ ¼öÇàÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, "knife"¿Í "ÄÆ"À̶ó´Â µÎ ´Ü¾î°¡ ÁÖ¾îÁö¸é ¸ðµâÀº ÀϹÝÀûÀ¸·Î PMI (Pintwise Notutal Á¤º¸) ÃøÁ¤ °ªÀ¸·Î ¾Ë·ÁÁø ÀÇ¹Ì ·ÐÀû °ü·Ã¼º ÃøÁ¤ °ªÀ» °Ë»ö ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÃøÁ¤ °ªÀÌ Ä¿Áö¸é ´Ü¾î°¡ ´õ ¸¹ÀÌ °ü·ÃµË´Ï´Ù. ÆÐÅ°Áö´Â ÁÖ¾îÁø ¿µ¾î ÅؽºÆ®ÀÇ ÀÇ¹Ì ¹æÇâÀ» ¿¹ÃøÇÒ ¼ö ÀÖ½À´Ï´Ù. ±àÁ¤Àû ÀÎ ÃøÁ¤Àº ´Ü¶ôÀÌ ±àÁ¤Àû ÀÎ Àǹ̸¦ °¡Áö°í ÀÖÀ¸¸ç ºÎÁ¤ÀûÀÎ Á¶Ä¡´Â ±× ¹Ý´ë¸¦ ÀǹÌÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
WebService :: GoogleHack :: ºñÀ² °ü·Ã ¼ÒÇÁÆ®¿þ¾î