åé¡ã®åé¡ã¯ããç¥ãããŠããŸããç¹å®ã®éžæããã®ä»»æã®ãªããžã§ã¯ãããæå®ã®ã¯ã©ã¹ã®ã»ããããã®1ã€ãŸãã¯è€æ°ã®ã¯ã©ã¹ã«é¢é£ä»ããå¿ èŠããããŸãã
1.åé¡ã®å£°æ
åé¡ã¢ã«ãŽãªãºã ã¯ãã©ã®ã¯ã©ã¹ã«å±ããããããã£ãŠãããªããžã§ã¯ãã®ãã¬ãŒãã³ã°ã»ããã䜿çšããŠãæ©æ¢°åŠç¿ã«åºã¥ããŠæ§ç¯ã§ããŸãã
ãŸããããç¥ãããŠããã®ã¯ãå¯èœãªãã¹ãŠã®ã¯ã©ã¹ã®ãã³ãã¬ãŒããäºåã«æºåãããã³ãã¬ãŒããããã³ã°ã¡ãœããã§ãã ãã¹ããªããžã§ã¯ããç¹å®ã®ã¯ã©ã¹ã«å±ãããã©ããã®æ±ºå®ã¯ããªããžã§ã¯ããšãã®ãã³ãã¬ãŒããç §åããé¢æ°ã®æå°ïŒæ倧ïŒã®åºæºã«åŸã£ãŠå®è¡ãããŸãïŒ[1]ã§ã¯ããªããžã§ã¯ãã¯ã·ã³ãã«ã€ã¡ãŒãžãšèŠãªãããŸãïŒã ãã®ã¡ãœããã¯ãæãç°¡åã«ç解ã§ããæ¹æ³ã®1ã€ã§ãããæ¬è³ªçã«ã¯ãäœããã®ãã³ãã¬ãŒãã§ãªããžã§ã¯ããè¡šçŸããäžèŽããé¢æ°ãéžæãããšããåé¡ã解決ããå¿ èŠããããŸãã
ããžãã¹ããã¥ã¡ã³ãã®èªèãããããŒãžãåé¡ããã¿ã¹ã¯ãæ€èšããŸãã çµç¹éã§ã®ããã¥ã¡ã³ãã®äº€æãå«ãããã¥ã¡ã³ã管çã§äœ¿çšãããããžãã¹ããã¥ã¡ã³ãã«ã¯ãç¹å®ã®æšæºåããããéæ§é åãŸãã¯æ§é åã®ããããã§ãã å€ãã®å Žåãéè¡ãŸãã¯ä¿éºäŒç€Ÿã¯ãå§ä»»ç¶ãå¥çŽæžãèŠæ¬ã®çœ²åãšã·ãŒã«ãèšèŒãããã«ãŒãããã£ãŒã¿ãŒãå¥çŽæžãè«æ±æžïŒè±èªã®è«æ±æžïŒãç»é²èšŒææžãªã©ã®ææžãå¿ èŠãšããŸãã é»åã¢ãŒã«ã€ããäœæããã³ç¶æããå ŽåãçŽã®ææžã¯ããžã¿ã«åãããããžã¿ã«ããŒãžã€ã¡ãŒãžïŒããŒãžã¹ãã£ã³ïŒãèªèããã³åæã§ããŸãã åæã®ã¿ã¹ã¯ã®1ã€ã¯ãããŒãžç»åã®åé¡ã§ããããã¯ãããŒãžç»åãç¹å®ã®ã¯ã©ã¹ã«å±ããŠãããã©ããã確èªããããšã§æ§æãããŠããŸãã ãã®ãããªããŒãºã¯ããŠãŒã¶ãŒãé»åã³ããŒãšããŠæ·»ä»ããããã¥ã¡ã³ãã®ç»åã管çãããšãã«çºçããŸãã
ããã¥ã¡ã³ãã®ç»åïŒç¹ã«åé¡ïŒã«å«ãŸããæ å ±ãåæããã«ã¯ãä»»æã®ããã¹ãèªèããã°ã©ã ïŒOCRïŒã䜿çšã§ããŸãã çŸåšãæã人æ°ã®ãããœãªã¥ãŒã·ã§ã³ã®1ã€ã¯Tesseract OCRã§ããããšãã°ãè«æ[2]ã§ã¯ããã®OCRã¯æ¬¡ã®çç±ã§ã¢ãŒã«ã€ãããã¥ã¡ã³ãã®èªèã«éžæãããŸãããèªèãããåèªã®åº§æšã«é¢ããæ å ±ã
OCR Tesseractã¯ãããã¹ãã®ãã€ãºã®çšåºŠãšããèªäœã®èœåã«å¿ããŠãããŒãžç»åãæ£åžžãŸãã¯ç°åžžã«èªèã§ããŸãã äœç³»çãªå€±æã¯ãç¹å®ã®ã¯ã©ã¹ã®ããã¥ã¡ã³ããããšãã°ãã·ã¢é£éŠåžæ°ã®ãã¹ããŒããèªèããéã®å®¢èŠ³çãªå°é£ã«é¢é£ããŠããå¯èœæ§ããããŸãããã®èªèããã°ã©ã ã«ã€ããŠã¯å¥ã®èšäº[3]ã§èª¬æããŸããã å žåçãªOCR Tesseractãšã©ãŒã¯ãããã€ãã®ã¿ã€ãã«åé¡ã§ããŸãã
- E 1 ïŒåäžã®åèªãèªèãããªããšããäºå®ãŸã§ã®ãããŒãžèªèã®å®å šãªæåŠã
- E 2 ïŒãšã©ãŒã®æ°ãéåžžã«å€ããããHOCR圢åŒã®ããã¹ãè¡šçŸã§ã¯ææžãç解ã§ããŸããïŒããšãã°ãäžã®å³ãåç §-OCRã䜿çšãããIMNSã§ã®ç»é²èšŒææžãã®å®éã®å€±æäŸTesseractããŒãžã§ã³3.04.00ïŒ;
- E 3 ïŒããšãã°ãçµæãšããŠé£æ¥ããããã¹ãã®æçãããªãã®è·é¢ã眮ããŠããããšãå€æããå Žåãªã©ãããŒãžæ§é ã誀ã£ãŠèªèãããŸãã
- E 4 ïŒå°æ°ã®ãšã©ãŒã®ååšãã»ãšãã©ã®èª€ã£ãŠèªèãããåèªã«1ã2åã®ãšã©ãŒãããå Žåã
ãã®èšäºã§ã¯ãE 3ãE 4ãªã©ã®ãšã©ãŒãçºçããå¯èœæ§ããããšããä»®å®ã®äžã§ãOCR Tesseractã«ãã£ãŠå€§èŠæš¡ã«èªèãããããã¥ã¡ã³ãã®ã¿ã®ããŒãžã®åé¡ãæ€èšããŸãã
ããã¥ã¡ã³ãã®ããŒãžã®ç»åã®å¥ã®ã¿ã¹ã¯åé¡ãæ€èšããŠãã ããã ããããã1ã€ä»¥äžã®ããã¥ã¡ã³ãã®ããŒãžãå«ãæ¢åã®ãã«ãããŒãžç»åãã¡ã€ã«ã®ã»ããã§ã¯ãå©çšå¯èœãªåããã¥ã¡ã³ãã®å¢çã決å®ããèŠã€ãã£ãããã¥ã¡ã³ããäºåã«ç¥ãããŠããã¯ã©ã¹ã®1ã€ã«é¢é£ä»ããå¿ èŠããããŸãã çµæãšããŠçããããŒãžã®éšåã¯ãåå¥ã®ããã¥ã¡ã³ããšããŠé»åã¢ãŒã«ã€ãã«ä¿åãããŸãã
次ã«ãäºåã«æºåãããã¯ã©ã¹ãã³ãã¬ãŒããšäžèŽããªãããšã«åºã¥ããŠãããã¥ã¡ã³ãããŒãžãåé¡ããç°¡åãªæ¹æ³ã«ã€ããŠèª¬æããŸãã ãã®ã¡ãœããã䜿çšãããšãåäžããŒãžããã³è€æ°ããŒãžã®ããã¥ã¡ã³ããåŠçã§ããOCRèªèãšã©ãŒãèæ ®ã«å ¥ããããšãã§ããŸãã
2.ãã¿ãŒã³ãšãã¿ãŒã³ãããã³ã°ã®èª¬æ
ããŒã¯ãŒããšè€æ°ã®ããŒã¯ãŒããçµã¿åãããæ¹æ³ã«åºã¥ããŠã¯ã©ã¹ãã³ãã¬ãŒããäœæããããšããå§ãããŸãã
å€ãã®ããŒã¯ãŒãã«å¯Ÿããæ§é ã®åœ¢ã§ã®éæ§é åææžã®ã¢ãã«ã¯ããç¥ãããŠããŸãã ããšãã°ãããã¥ã¡ã³ãã¢ãã«ã®èª¬æãåç §ããŠãã ãã
- ãã¯ãã«ã¢ãã«ãŸãã¯ãèšèã®è¢ããã€ãŸã ããã¥ã¡ã³ãã«å«ãŸããåèªã®ãã«ãã»ãã[4]ã
- åèªã®é åºãèæ ®ããèšèªã¢ãã«ïŒäžé£ã®åèªã®ç¢ºçãèæ ®ã«å ¥ããïŒ[5]ã
- åèªã®ã»ããã§æ§æããããããã¯ã䜿çšããäž»é¡ã¢ãã«[6ã7]ã
äžèšã®ã¡ã«ããºã ã䜿çšããŠããšã©ãŒãšèªèæ©èœãèæ ®ã«å ¥ããŠãã³ãã¬ãŒããäœæããæ¹æ³ã説æããŸãã
åèªèšå·ã®åœ¢åŒã§èªèãããåèªãšãã®ããããã£ã¯ãåºæ¬æ©èœãšããŠæ©èœããŸãã
W =ïŒ T ïŒ W ïŒã m 1 ïŒ W ïŒã m 2 ïŒ W ïŒã m 3 ïŒ W ïŒã m 4 ïŒ W ïŒã m 5 ïŒ W ïŒã m 6 ïŒ W ïŒïŒã
ããã§ã T ïŒ W ïŒã¯åèªã®äžå¿ ãã€ãŸãæåãšèšå·ã®ã·ãŒã±ã³ã¹ãïŒãã§ãã åŸè ã¯åèªã®ã»ãããæå®ããããã«äœ¿çšãããŸããããšãã°ããâ abïŒcãã¯ããïŒãã®ä»£ããã«æåŸã®æåabïŒcãå«ãä»»æã®æåæ°ã®åèªã®ã»ãããå®çŸ©ããŸãã ä»»æã®æåãååšããå ŽåããããŸãã
m 1 ïŒ W ïŒã¯ã2ã€ã®åèªT ïŒ W ïŒãšW rã æ¯èŒãããšãã®è·é¢ã®ãããå€ã§ãã 2ã€ã®åèªãæ¯èŒããã«ã¯ãã¡ããªãã¯ïŒè·é¢é¢æ°ïŒãéžæããå¿ èŠããããŸããã¬ãã³ã·ã¥ã¿ã€ã³è·é¢[8]ã䜿çšãããã1ã€ã®æåãå¥ã®æåã«çœ®ãæããæäœã®æ°ã®ã¿ãèæ ®ããç°¡æé¢æ°ã䜿çšããŸãã åŸè ã®å Žåãè·é¢d ïŒ T ïŒ W ïŒã W r ïŒã¯ãåãé·ãã®åèªãã€ãŸãèšå·ãïŒããæã€åèªã«ã€ããŠã®ã¿èšç®ãããŸãã 察å¿ããæåã¯æ¯èŒã«é¢äžãããèšå·ãâããä»ããåèªã«ã€ããŠã¯ãå¿ èŠãªéšåæååãæ¯èŒãããŸãã d ïŒ T ïŒ W ïŒã W r ïŒ< m 2 ïŒ W ïŒã®å Žåãåèªã¯åäžã§ãããããã§ãªãå Žåã¯ç°ãªããŸãã æãåçŽãªå Žåã m 2 ïŒ W ïŒã¯ã T ïŒ W ïŒããW rãžã®å€æäžã®çœ®ææäœã®æ倧æ°ã§ãã
m 2 ïŒ W ïŒ -T ïŒ W ïŒãšW rãæ¯èŒãããšãã®ã¯ãŒãé·W rã®å¶éã¯ãã*ããå«ãã¯ãŒãã«å¯ŸããŠæå³ããããŸãã
m 3 ïŒ W ïŒ-æåãæ¯èŒãããšãã«å€§æåãšå°æåãåºå¥ããŸãïŒå€§æåãšå°æåãåºå¥ãã/åºå¥ããªãïŒã
m 4 ïŒ W ïŒ-åèªãæå®ãããé·æ¹åœ¢ã«å ¥ããã©ããããã§ãã¯ããããã«äœ¿çšãããç¯å²[0,1]ã®åº§æšã§æ§æããããåèªã®é·æ¹åœ¢ã
m 5 ïŒ W ïŒ-åèªãããã¹ãã«å«ãŸããŠã¯ãªããªãããšã瀺ããåèªã®æåŠã®ãµã€ã³ã m 5 ïŒ W ïŒã䜿çšãããšãããã¹ãã«åèªWãååšãããã©ããããã§ãã¯ã§ããŸãã
m 6 ïŒ W ïŒ-以äžã«èª¬æããŸãã
èªèãããããã¥ã¡ã³ãTã®ããã¹ãã§åèªT ïŒ W ïŒãæ€çŽ¢ãããšããæ¡ä»¶ã®æå¹æ§ããã§ãã¯ããŸã
âW râTïŒ d ïŒ T ïŒ W ïŒã W r ïŒ< m 2 ïŒ W ïŒâ§ïŒ F ïŒ W r ïŒâ©m 4 ïŒ W ïŒ= F ïŒ W r ïŒïŒ
ããã§ã F ïŒ W r ïŒã¯åèªW rã®é·æ¹åœ¢ã§ããã€ãŸããHOCR圢åŒã®èªèçµæããæœåºãããåèªã®åº§æšã暪座æšãšçžŠåº§æšã¯å ã®ç»åã®å¹ ãšé«ãã«æ£èŠåãããŸãã æ¯èŒããå Žåããã©ã¡ãŒã¿ãŒm 3 ïŒ W ïŒã䜿çšãããŸãã äžè¬çã«ãããŒã¯ãŒãT ïŒ W ïŒãšåäžã®ããã€ãã®åèª{ W r }ãèŠã€ãããŸãã
m 5 ïŒ W ïŒ= 0ã®å ŽåãèªèãããææžTã®ããã¹ãã«åèªWãšåäžã®åèªãå°ãªããšã1ã€èŠã€ãã£ãå Žåã¯è¿°éšPïŒ W ã T ïŒ= 1ãå®çŸ©ããããã§ãªãå Žåã¯PïŒ W ã T ïŒ= 0ãå®çŸ©ããŸãåèªWãšåäžã®åäžã®åèªã¯èŠã€ãããŸããã åèªã®å±æ§ãm 5 ïŒ W ïŒ= 1ã®å ŽåãPïŒ W ã T ïŒ= 0ãèªèãããããã¥ã¡ã³ãTã®ããã¹ãã«åèªWãšåäžã®åèªãå°ãªããšã1ã€èŠã€ãã£ãå ŽåãPïŒ W ã T ïŒ= 1ã®å Žåããã¹ãã«åèªWãšåäžã®åèªã¯èŠã€ãããŸããã§ããã
ãŸããåèªT ïŒ W ïŒãšåäžã®d ïŒ T ïŒ W ïŒã W r ïŒåèªã®æšå®å€ãå¿ èŠã§ãã
次ã«ã åèªã®é 眮ãåèª R = W 1 ã W 2 ã...ã®é åºä»ããããã»ãããšããŠå®çŸ©ããŸããããã«å¯ŸããŠãèªèãããããã¥ã¡ã³ãTå ã®ååèªã®ååšããã§ãã¯ãããŸãã
PïŒ W 1 ã T ïŒâ§PïŒ W r ã T ïŒâ§...ïŒ1ïŒ
ããã«ã W iãšW i +1ã®åãã¢ã«å¯ŸããŠãæ¡ä»¶ããã§ãã¯ãããŸã
r ïŒ W i +1 ïŒ -r ïŒ W i ïŒ< m 5 ïŒ W ïŒãïŒ2ïŒ
ããã§ãé¢æ°r ïŒ W ïŒã¯ãOCRã¡ã«ããºã ã«ãã£ãŠé åºä»ããããããã¹ãTå ã®åèªWã®æ°ã瀺ããŸãã ã€ãŸãããã©ã¡ãŒã¿ãŒm r6 ïŒ W ïŒã¯ãé åå ã®é£æ¥ããåèªéã®è·é¢ã決å®ããŸããmr ïŒ W i +1 ïŒ=âã§ãæ¡ä»¶ïŒ2ïŒã¯ãã§ãã¯ããããåèªã®é åºã®ã¿ããã§ãã¯ãããŸãã
Rãé 眮ããã«ã¯ã m 7 ïŒ R ïŒãæå®ã§ããŸã-åèªã®é·æ¹åœ¢ã«æå³ã䌌ãŠããé 眮é·æ¹åœ¢ãããã¹ãTã§å®å šã«èŠã€ãã£ãåèªãm 6 ïŒ R ïŒé·æ¹åœ¢ã®åèªW 1 ã W 2 ...ãšåäžã§ãããã©ããããã§ãã¯ãããŸã
æ¡ä»¶ïŒ1ïŒãïŒ2ïŒããã³é·æ¹åœ¢ã®ãã¬ãŒã m 7 ïŒ R ïŒãžã®å¯Ÿå¿ããã§ãã¯ããããã®æ¡ä»¶ãæºãããããšãããã¹ãTã®äœçœ®Rã®è¿°èªT ïŒPïŒ R ã T ïŒ= 1ã決ãŸããŸãã æãåçŽãªå Žåãé 眮ã¯1ã€ã®åèªã®ã¿ã§æ§æã§ããäžè¬çãªå ŽåãPïŒ R ã T ïŒãèšç®ããã«ã¯ãåèªW 1 ã W 2 ...ãšåãã»ãããæ€çŽ¢ããå¿ èŠããããŸãã
é 眮æšå®å€d ïŒ R ã T ïŒãåèªæšå®å€ã®æå°å€ãšããŠå®çŸ©ããŸãïŒminïŒ d ïŒ W 1 ã T ïŒã d ïŒ W 2 ã T ïŒã...ïŒã
ããã§ã çµã¿åãããå²ãåœãŠã®ã»ããS = R 1 ã R 2 ã...ãšããŠå®çŸ©ããŸããèªèãããããã¥ã¡ã³ãTå ã®åå²ãåœãŠã®ååšããã§ãã¯ãããŸãã
PïŒ R 1 ã T ïŒâ§PïŒ R 2 ã T ïŒâ§...ïŒ3ïŒ
é 眮é åºã¯éèŠã§ã¯ãããŸããã æ¡ä»¶ïŒ3ïŒã«å ããŠãçµã¿åããã®ãã¹ãŠã®åèªã®é·æ¹åœ¢ãšãçµã¿åããm 8 ïŒ S ïŒã®é·æ¹åœ¢ãšã®æ¯èŒãè¿œå ã§ããŸãã 瀺ãããæ¡ä»¶ã¯ãçµã¿åããSãããã¹ãTã«å±ããè¿°éšã決å®ããŸãïŒPïŒ S ã T ïŒ= 1ã
çµã¿åããd ïŒ S ã T ïŒæšå®å€ã¯ãçµã¿åããã«å«ãŸããé 眮æšå®å€ã®æå°å€ãšããŠå®çŸ©ãããŸãïŒminïŒ d ïŒ R 1 ã T ïŒã d ïŒ R 2 ã T ïŒã...ïŒã
ãããŠæåŸã«ãèªèãããããã¹ãã«å±ãããã³ãã¬ãŒãã®çµã¿åããS 1 ã S 2 ã...ãšããŠãã¿ãŒã³Mãå®çŸ©ããŸãã
PïŒ M ã T ïŒ= PïŒ S 1 ã T ïŒâšPïŒ S 2 ã T ïŒâš...ïŒ4ïŒ
æ¡ä»¶ïŒ4ïŒã«å ããŠããã³ãã¬ãŒãã®ãã¹ãŠã®åèªã®é·æ¹åœ¢ãšã m 8 ïŒ M ïŒã®çµã¿åããã®é·æ¹åœ¢ãšã®æ¯èŒãè¿œå ã§ããŸãã
ãã³ãã¬ãŒãã®æšå®å€d ïŒ M ã T ïŒã¯ããã³ãã¬ãŒãã«å«ãŸããçµã¿åããã®æšå®å€ã®æ倧å€ãšããŠå®çŸ©ãããŸãïŒmaxïŒ d ïŒ S 1 ã T ïŒã d ïŒ S 2 ã T ïŒã...ïŒã
ãã³ãã¬ãŒããšèªèãããããã¹ããšã®æ¢åã®æ¯èŒã«ãããã€ãã®ããã¹ãããããã£ïŒããŒãžm 9 ïŒ T ïŒã®æåæ°ãããã¹ãã®åæ°m 10 ïŒ T ïŒïŒãšãã³ãã¬ãŒãm 9 ïŒ M ïŒã m 10 ïŒ M ïŒã®åæ§ã®ããããã£ãšã®å¯Ÿå¿ã®ãã§ãã¯ãè¿œå ããŸãã
ãã³ãã¬ãŒãM 1 ã...ã M nã®ã»ãããnã¯ã©ã¹ã«å¯Ÿå¿ããŠããå Žåãããã¥ã¡ã³ãTã®èªèãããããŒãžã®ã¯ã©ã¹M iãžã®æºæ ãæ€èšŒããã¿ã¹ã¯ã¯ãäžèšã®ã¹ããŒã ã«åŸã£ãŠè·é¢d ïŒ M i ã T ïŒãèšç®ãããã®è·é¢ãæ¢ç¥ã®ãããå€d 1ãšæ¯èŒããããšã«ãªããŸãã maxïŒ M i ïŒ< d 1ãçã®å Žåãããã¥ã¡ã³ãTã¯ã¯ã©ã¹iã«å¯Ÿå¿ããŸãã
ææ¡ããããã³ãã¬ãŒãã®èŠçŽ ã䜿çšããå¿ èŠæ§ã«ã€ããŠèª¬æããŸãããã
åèªã«é »ç¹ã«çŸãã圢åŒE 4ã®åçŽãªåäžãšã©ãŒã¯ãèšå·ãïŒãã䜿çšããŠç¡èŠã§ããŸãã åèªã®ãã¹ã¯ã®ãâãã èšå·ãâããå«ãåèªã®é·ããå¶åŸ¡ããã«ã¯ããã©ã¡ãŒã¿m 2ã䜿çšã§ããŸããããšãã°ãããŒã¯ãŒããAGREEMENTãããContractsãã¯ãã³ã¢ãAGREEMENT âãã§m 2 = 8ã®å¶éã§èšè¿°ã§ããŸãã ã亀æžå¯èœæ§ãã ã³ã¢ã®ãïŒCONTRACTãã¯ããAGREEMENTããšãAGREEMENTããšããåèªãåºå¥ããªãããã«ããŸãã
ãããå€m 1ã¯ãããŒã¯ãŒããšããã¹ãããã®åèªã®å®å šãªäžèŽãèŠæ±ããããã«äœ¿çšã§ããŸããããšãã°ã m 1 = 0ã®å ŽåãCONTRACTã³ã¢ã¯ããã¹ãå ã®åèªãAGREEMENTããŸãã¯ãDOGO8ORãã®éžæãèš±å¯ããŸããã
m 3ãã©ã¡ãŒã¿ã䜿çšãããšã倧æåãšå°æåã®èªèãšã©ãŒãç¡èŠããããšãã§ããŸãã
åèªã®é·æ¹åœ¢ïŒé 眮ãçµã¿åããããã³ãã¬ãŒãïŒ m 4ã¯ãææžç»åã®æå®ãããé åããããŒã¯ãŒããæœåºããããšã«ããããã³ãã¬ãŒãå ã®ææžã®æ§é ã®éšåçãªèª¬æãæäŸããŸãã ãã¡ãããããã¥ã¡ã³ãã®äžéšãå€åãããããé·æ¹åœ¢ã®å¢çãæ£ç¢ºã«æå®ããããšã¯ã§ããŸããã
ãã©ãŒã E 3ã®ãšã©ãŒãã€ãŸã誀ã£ãŠèªèãããããŒãžæ§é ã¯ãé 眮èšå®ã«ãã£ãŠç¡èŠãããå ŽåããããŸãã é 眮ã¯ãèªç¶ã«ãã¬ãŒãºãŸãã¯ããã€ãã®é£æ¥ããåèªãè¡šããŸãã ããã¹ãåãèªèãšã©ãŒã®ããã«2ã€ã®åã«åå²ãããŠããå Žåãåèªéã®è·é¢m 6ã瀺ãããŠããªãå Žåã説æãããŠããé 眮ãèŠã€ãããŸãã
ãã©ã¡ãŒã¿m 5ã§èšå®ãããåèªã®æç¡ããã§ãã¯ããæ©èœã«ãããé¡äŒŒã®ããã¥ã¡ã³ãã®ãã³ãã¬ãŒããäœæããããã¥ã¡ã³ãã®ããã¯ã©ã¹ã«ååšããå¥ã®ã¯ã©ã¹ã«ååšããããŒã¯ãŒãã䜿çšããŠãã³ãã¬ãŒããåé¢ã§ããŸãã
äžèšã®èª¬æã¯ããšã©ãŒãèªèãããããã¹ãã®åé¡ã«å¯Ÿããèšè¿°ããããã³ãã¬ãŒãã¹ããŒã ã®æçšæ§ã瀺ããŠããŸãã 説æãããŠããã¹ããŒã ã¯ãããã€ãã®å Žåã«ãã³ãã¬ãŒããäœæããããšã¯ç°¡åãªããšã§ããããã³ãã¬ãŒãèªäœã¯çŽæçã§ãããšããæå³ã§åçŽã§ãã ããšãã°ãããã¥ã¡ã³ããéå± äœæœèšè³è²žåå¥çŽãã¯æ¬¡ã®ããã«èª¬æã§ããŸãã
- ããŒã¯ãŒãïŒ
- é çœ®ïŒ R 1 = W 1 ã R 2 = W 2 ïŒ W 3 ïŒ W 4 ã R 3 = W 2 ïŒ W 5 ïŒ W 6 ã R 4 = W 7 ïŒ W 8 ïŒ W 9 ïŒ W 10 ããã¹ãŠãã¬ãŒã ãããã¬ãŒã¹ã¡ã³ããªã
- çµã¿åããïŒ S 1 = R 1â§R 2 ã S 2 = R 1 ïŒ R 3 ã S 3 = R 3 ããã¹ãŠã®çµã¿åããã«ãã¬ãŒã ã¯ãããŸããã
- ãã¿ãŒã³ïŒ M = S 1 ïŒ S 2 ïŒ S 3 ããã¿ãŒã³ã«ã¯ãã¬ãŒã m 8 ïŒ M ïŒ= {ïŒ0.0,0.0ïŒãïŒ0.3,0.9ïŒ}ããããŸãã
æé©ãªã¯ã©ã¹ãéžæããã¿ã¹ã¯ã¯ãè·é¢d ïŒ M 1 ã T ïŒã...ã d ïŒ M n ã T ïŒãèšç®ãããã®ãããªã¯ã©ã¹M jãåé€ããŠçã®d ïŒ M j ã T ïŒ> d 1 ãçµæã»ãããæé ã§äžŠã¹ãããšã«ãã£ãŠè§£æ±ºãããŸãïŒå®éããã³ãã¬ãŒããããã¹ããšäžèŽãããªãããã®ããã«ãã£ãæå°ã®1ã€ãŸãã¯è€æ°ã®ã¯ã©ã¹ãéžæãã1ã€ãŸãã¯è€æ°ã®éžæè¢d ïŒ M i 1 ã T ïŒã d ïŒ M i 2 ã T ïŒã...ãä¿æããŸãã ã€ãŸããæè¯ã®æ¹æ³ã§ã¯ãããã¹ãTã¯ã¯ã©ã¹i 1ã«å¯Ÿå¿ããä»ã®ã¯ã©ã¹i 2ã...ã¯è·é¢é ã«äžŠã¹ãããŸãã 競å解決d ïŒ M i 1 ã T ïŒ= d ïŒ M i 2 ã T ïŒãå®è¡ããããã«ãåé¡ãæŸæ£ããå Žåã«ãã£ãŠã¯ãè¿œå ã®ç¬Šå·m 9 ã m 10ã䜿çšããŠç«¶åã解æ¶ããŸãã
3.ãã³ãã¬ãŒãã®åœ¢æïŒãã¬ãŒãã³ã°ïŒ
説æãããã³ãã¬ãŒããšã®æ¯èŒæ¹æ³ã¯ç°¡åã§ããããã³ãã¬ãŒãã®äœæããã»ã¹ãã€ãŸããã¬ãŒãã³ã°ã«ã¯äžå®ã®è€éãããããŸãã
45ã¯ã©ã¹ã®ããã¥ã¡ã³ããããŒã®å®éã®äŸã䜿çšããŠããã³ãã¬ãŒãã圢æããããã»ã¹ãæ€èšããŸãã è€æ°ããŒãžã®ããã¥ã¡ã³ãã®æåã®ããŒãžã®ããŒã¯ãŒãã«çŠç¹ãåãããŠãããã€ãã®æ®µéã§ãã³ãã¬ãŒããæºåããŸããã
ã¹ããŒãž1.åãã«ãå€ãã®åç §ææžãæ€èšããŸããã ã¯ã©ã¹ããšã«ãçæ³çãªããã¥ã¡ã³ãã®ãµã³ãã«ãããã€ãçšæããŸããããèªèçµæã«èª€ãã¯ãããŸããã§ããã ãããã®ããã¥ã¡ã³ãã®ããã¹ãè¡šçŸã¯ãã¯ãŒãããã°ã«å€æãããŸããã ã¹ãããã¯ãŒããåé€ãããè€æ°ã®åèªã»ããïŒçãåèªããã«ããŒã ãæ°å€ããŒã¿ãæ¥ä»ãªã©ïŒã 次ã«ããããã®ãã«ãã»ããããã®åçŽãªæ€çŽ¢ã¢ã«ãŽãªãºã ããã¯ã©ã¹ã®1ã€ã«åºæã®ããã€ãã®åèªããåäžã®åèªãšãã¬ãŒãºãéžæããŸããã äž»ãªæ³šæã¯ãããã¥ã¡ã³ãã®ã»ã¯ã·ã§ã³ã®èŠåºããšã¿ã€ãã«ããã®ç¹åŸŽçãªåèªã«åããããŸããã ãããã£ãŠãããã€ãã®é 眮ãã³ã³ãã€ã«ãããäžéšã®ã¯ã©ã¹ãä»ã®ã¯ã©ã¹ããååã«åé¢ãããŸããã ãããã£ãŠãã³ã¢ã«ãŒãã«ãæ€çŽ¢ããããã©ã«ãã§æ®ãã®ãã©ã¡ãŒã¿ãŒãèšå®ããŸããã ããã€ãã®åé¡ã¯ã©ã¹ãããã«ç¹å®ãããŸãããããšãã°ããCharterãã¯ã©ã¹ã®ããã¥ã¡ã³ãã®æåã®ããŒãžã¯ã1ã€ã®ããŒã¯ãŒããCharterãã§è¡šãããšãã§ããŸãã ãã®åé¡ã解æ¶ããããã«ã2ã€ã®ããªãã¯ã䜿çšããŸããã
- ã¯ã©ã¹ãCharterãã®ããã¥ã¡ã³ãã®æåã®ããŒãžã«è¡šç€ºãããã¹ãã§ã¯ãªãåèªã®äœ¿çšã
- å±æ§m 9 ïŒ T ïŒã®äœ¿çš-ããŒãžã®æåæ°-ã¯ã©ã¹ãCharterãã®ããã¥ã¡ã³ãã®ããŒãžãæ確ã«åºå¥ããŸãã
ã¹ããŒãž2ãããã«ãçµæã®ãã³ãã¬ãŒãã䜿çšããåé¡ã®ããã€ãã®äžå®å šæ§ã«ããããããã å®éã®ããã¥ã¡ã³ã ïŒã·ã³ã°ã«ããŒãžããã³ãã«ãããŒãžïŒã®50ã100ãµã³ãã«ã§æ§æãããããã¥ã¡ã³ãã®ãµã³ãã«ã«é²ã¿ãŸããã ãšã©ãŒåæã«ããããã³ãã¬ãŒãã®å€æŽãå¿ èŠãªç¹å®ã®ããŒãžæ°ãšãåœç€Ÿã®æè¡ã§ã¯åé¡ã§ããªãããŒãžïŒäž»ã«èªèãšã©ãŒãå€ãããïŒãç¹å®ããããšãã§ããŸããã ãã³ãã¬ãŒãã®å€æŽã¯ãæ°ããé 眮ãšçµã¿åããã®æ€çŽ¢ãããã¥ã¡ã³ãã«è¡šç€ºãããªãåèªã®æ€çŽ¢ãããŒã¯ãŒããã©ã¡ãŒã¿ã®éžæãäž»ã«é·æ¹åœ¢m 4ããã³åèªéã®è·é¢m 6ã«éå®ãããŸããã åé¡çµæã®åæã¯ã次ã®åºæºã«åŸã£ãŠå®è¡ãããŸããã
æ£ããåé¡ãããããŒãžã¯ã ïŒ n 1 + m 2 ïŒ/ïŒ n 1 + n 2 + n 3 + m 1 + m 2 ïŒã誀åé¡ãšã©ãŒ-ïŒ n 2 + m 2 ïŒ/ïŒ n 1 + n 2 + n 3 + m 1 + m 2 ïŒãããã³ïŒ n 3 ïŒ/ïŒ n 1 + n 2 + n 3 + m 1 + m 2 ïŒãšããŠã®åé¡ã®æåŠã
æãäžå¿«ãªåé¡ãšã©ãŒã¯ãè€æ°ããŒãžã®ããã¥ã¡ã³ãã®æåã§ã¯ãªãïŒäžéããã³æåŸã®ïŒããŒãžã®èª€ã£ãåé¡ã§ãã ããã¯ãè€æ°ããŒãžã®ããã¥ã¡ã³ããè€æ°ã®ããŒãã®åœ¢ã§åŸã§ä¿åããããšãšãããã¥ã¡ã³ãã®æ¬ èœéšåã®æ€çŽ¢ãå¿ èŠãšããä¿®æ£ã®å¿ èŠæ§ã«ãã£ãŠèª¬æãããŸãã æå以å€ã®ããŒãžãåé¡ããããã«ãäžéããŒãžãšæçµããŒãžã®ãã³ãã¬ãŒãã䜿çšããŠã説æããæ¹æ³ã䜿çšãããŸããã æ®ãã®åé¡ãšã©ãŒïŒè€æ°ããŒãžã®ããã¥ã¡ã³ãã®æåã®ããŒãžãŸãã¯1ããŒãžã®ããã¥ã¡ã³ãã®åäžããŒãžã®èª€ã£ãåé¡ïŒã¯ããã£ã¬ã¯ããªã䜿çšããŠã¯ã©ã¹ã眮ãæããã ãã§ä¿®æ£ãããŸãã
ã¹ããŒãž3ãæåã®2ã€ã®ã¹ããŒãžã¯ãç¹å®ã®ã¯ã©ã¹ã«åž°å±ããããã®ã«ãŒã« ïŒé©åãªãã³ãã¬ãŒãïŒã®äœ¿çšã«åºã¥ããŠããŸã ã 倧ããªãµã³ãã«ïŒåã¯ã©ã¹ã®3000-30000ãµã³ãã«ïŒã®å Žåãããšãã°ããã€ããªæ±ºå®ããªãŒCARTïŒåé¡ããã³ååž°ããªãŒ[9]ïŒãæ§ç¯ããæ¢ç¥ã®æ¹æ³ã䜿çšããŠã æ©æ¢°åŠç¿ãå¯èœã§ãã ãã¬ãŒãã³ã°ã®åæããŒã¿ã¯ãåã®æ®µéã§ã«ãŒãã«ãšæ©èœã®åœ¢ã§ç¥ãããŠããããŒã¯ãŒãã®èª¬æã§ãã æŠç¥ã«åŸã£ãŠããã¹ãŠã®ã¯ã©ã¹ã«å¯ŸããŠ1ã€ã®ã¯ã©ã¹ããšã«ããããã®æšèäžã«ããã€ãã®æšãæ§ç¯ãããŸããã åé¡ããã»ã¹ã®ããã¥ã¡ã³ããè€æ°ã®ããªãŒã§èªèãããªãã£ãå Žåãåé¡ãšã©ãŒãçæãããŸãã CARTã¡ãœããã®æ¢ç¥ã®æ©èœã®ãã¡ãå®å®ããåŠç¿ã«ã¯ååãªéã®ãã¬ãŒãã³ã°ãµã³ãã«ãå¿ èŠã§ããããšã«æ³šæããŠãã ããã ãã®ãããéåžžã¯ã¹ããã1ããã³2ã®ãã¬ãŒãã³ã°ã䜿çšããŠååŸããåé¡çµæãããåªããŠããŸãããCARTã¡ãœããã䜿çšããŠååŸããåé¡çµæã¯è¡šç€ºããŸããã
4.å®éš
å®éšã§ã¯ã2ã€ã®ãã¹ãã»ããã䜿çšãããŸããã
- ãã¬ãŒãã³ã°ãã§ãŒãºïŒ884ããŒãžïŒã§éžæãããäžå質ããã³äœå質ã®ããžã¿ã«åã®ããã¥ã¡ã³ãã®ç»åãå«ã
- ãã¬ãŒãã³ã°ã®æ®µéã«é¢ä¿ãªãååŸããããããžã¿ã«åã®å¹³åå質ã®ããã¥ã¡ã³ãã®ç»åãå«ãïŒ3014ããŒãžïŒã
åé¡çµæã以äžã®2ã€ã®è¡šã«ç€ºããŸãã
äžããããè¡šãããç§ãã¡ã説æããåé¡æè¡ã¯0.86-0.95ã®ç²ŸåºŠãäžãã誀ã£ãåé¡ã¯0.01ãè¶ ããªãããæ®ãã®ãšã©ãŒã¯åé¡ã®æåŠã«é¢é£ããããšãæããã§ãã ã€ãŸããææ¡ãããã¡ãœããã¯åžžã«æ©èœãããšã¯éããŸããããééã£ãã¯ã©ã¹ãæäŸããããšã¯ãã£ãã«ãããŸããã
å®è£ ãããåé¡ïŒMicrosoft Visual Studio 2013ã䜿çšãããªãªãŒã¹ãã«ãïŒã®é床ã¯éåžžã«é«éã§ãïŒã€ã³ãã«Â®CoreïŒTMïŒi7-4790ã³ã³ãã¥ãŒã¿ãŒã§èªèããã3,000ããŒãžãçŽ1åã§åŠçãããŸã3.60 GHzã16.0 GBãWindows 7 prof 64ãããã ãã ãããœãŒã¹HOCRãã¡ã€ã«ã«å¿ èŠãªå®éã®OCR Tesseractèªèã«ã¯æ°ç§ããããŸãã
æªåé¡ã®ãŸãŸã®ããŒãžã®å²åãæžããã«ã¯ã次ã®å¯èœãªæé ãå¿ èŠã§ãã
- æ±ããææžãè€éãªèæ¯ãæã€ææžã®èæ¯ãåé€ãã2å€åæ¹æ³ã®äœ¿çšã
- ä»ã®OCRã®äœ¿çšã
- ããŒã¯ãŒãæ€çŽ¢ã«åºã¥ããããå¹æçãªåé¡æ¹æ³ãããšãã°ãäžèšã§æµã«èª¬æããCARTæ¹æ³ã®äœ¿çšã
ãããã«
説æãããåé¡æè¡ã¯ãã¹ãã£ã³ãããããã¥ã¡ã³ãã®ãããŒã®å ¥åãšåæã®ããã«ãã¹ããŒããšã³ãžã³ãããžã§ã¯ãã§äœ¿çšãããŸããã
説æãããæè¡ã¯ç解ãããããåæ§ã®åé¡ã解決ããããã«ç¬ç«ããŠå®è£ ãããŸãã
æçšãªãœãŒã¹ã®ãªã¹ã
- Gonzalez R.ãWoods R.ããžã¿ã«ç»ååŠçã MïŒTechnosphereã2005.1070ç§ã
- Smirnov S.V.æè¡ããã³ã¢ãŒã«ã€ãææžã®èªèäžã®çµæã®èªåä¿®æ£ã·ã¹ãã ã æè¡ç§åŠã®åè£è ã®åŠäœè«æããµã³ã¯ãããã«ãã«ã¯ïŒã2015ã-130 pã
- ãæºåž¯é»è©±ã§ã®ãã·ã¢é£éŠã®ãã¹ããŒãã®èªèãïŒ https://habrahabr.ru/company/smartengines/blog/252703/ ïŒ
- Martin D.ãJurafsky D.é³å£°ããã³èšèªåŠçã èªç¶èšèªåŠçãèšç®èšèªåŠãããã³é³å£°èªèã®çŽ¹ä»ã ãã¢ãœã³ãã¬ã³ãã£ã¹ããŒã«ã2009幎-988 pã
- ãã³ãJMãã¯ãããWBæ å ±æ€çŽ¢ãžã®èšèªã¢ããªã³ã°ã¢ãããŒã// Procã æ å ±æ€çŽ¢ã®ç 究éçºã«é¢ããäŒè°ã ACM 1998.-S. 275â281ã
- æœåšçæå³è§£æã«ãã玢åŒä»ã/ S. Deerwester [et alã] // Journal of the American Society for Information Scienceã 1990.-T. 41ãNoã6-S. 391ã
- Chernyak ELã泚éä»ããµãã£ãã¯ã¹ããªãŒã䜿çšããããã¹ãåæã®ããã®èšç®æ¹æ³ã®éçºã æè¡ç§åŠã®åè£è ã®ããã®è«æãMïŒã2016ã-124 pã
- ã¬ãŒãã³ã·ã¥ã¿ã€ã³V.I. ã·ã³ãã«ã®ããããã¢ãŠããæ¿å ¥ãããã³çœ®æãä¿®æ£ãããã€ããªã³ãŒã-M .: Doklady AN SSSRãtã
- ãã©ã€ãã³L.ãããªãŒããã³JHããªã«ã·ã§ã³RAãããã³ã¹ããŒã³CJåé¡ããã³ååž°æšã Monterey // CAïŒWadsworthïŒBrooks / Cole Advanced BooksïŒSoftwareã1984 .-- 368 pã