Download Jar. Libraryless. Click here for Pure Java version (17806L/103K).
!7 sS data = [[ -- rule 1 give me cake => here is some "cake" [tokenize with javaTokNoQuotes] -- rule 2 gazelle, show me cake => !eval gazelle_postGoogleImage("cake") [tokenize with javaTokNoQuotes] -- test input 1 give me food -- expected output 1 here is some "food" -- test input 2 gazelle, show me sausages -- expected output 2 !eval gazelle_postGoogleImage("sausages") ]]; !include once #1021761 // Gazelle Fakery p-exp { gazelle_fakery_performTest(data); }
Began life as a copy of #1021764
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021839 |
Snippet name: | Gazelle: Tokenization Test Case (OK, but we should have different tokenizers for each part of the rule) |
Eternal ID of this version: | #1021839/7 |
Text MD5: | d73a57fcedf9f7e521e70572b9f7a902 |
Transpilation MD5: | feef9ff0cb9d3bfb46bb534b83a278e7 |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-01 23:15:55 |
Source code size: | 573 bytes / 39 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 320 / 868 |
Version history: | 6 change(s) |
Referenced in: | [show references] |