1 | // should simplify a sentence neatly. now with dropPunctuation |
2 | static S simplifySentence2(S s) { |
3 | ret join(" ", codeTokensOnly(dropPunctuation(nlTok(s.toLowerCase())))); |
4 | } |
Began life as a copy of #1002968
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002972 |
Snippet name: | simplifySentence2 - sentence simplifier. CHANGING THIS BREAKS THINGS |
Eternal ID of this version: | #1002972/1 |
Text MD5: | b27b32b7bdc50bc9079f879c7ee5c03c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-14 17:44:05 |
Source code size: | 175 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 657 / 617 |
Referenced in: | [show references] |