Libraryless. Click here for Pure Java version (181L/2K/6K).
!7 p { assertEquals(1, ocr_glyphCount("{symbol}")); assertEquals(2, ocr_glyphCount("ab")); assertEquals(1, ocr_glyphCount("[ab]")); assertEquals(2, ocr_glyphCount("[ab] c")); assertEquals("[a]", ocr_unescape("\\[a\\]")); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006258 |
Snippet name: | Test cases for OCR encoding |
Eternal ID of this version: | #1006258/1 |
Text MD5: | a3bfb7ab2f2801efdc3cf212a9bf6cdb |
Transpilation MD5: | f81c0a0216d408d727001b8b68ecf864 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-26 01:18:23 |
Source code size: | 241 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 472 / 574 |
Referenced in: | -