Advertisement
KipIngram

Untitled

Feb 4th, 2023
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. \ dictionary search
  2. .: _chrs s= 0=; s2 @ cfa |} ;
  3. .: chrs dup wbuf { _chrs 2 } ;
  4. .: end?; .w@ lmask .0=;; - ;
  5. .: words dup nfa { chrs 1 } end?; me;
  6. .: vocs .@ lfa { words 1 } 8+ @ .0>me ;
  7. : find bl word
  8. : _find path @ {| vocs 0 |} ;
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement