Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1002972 // simplifySentence2 - sentence simplifier. CHANGING THIS BREAKS THINGS

JavaX fragment (include)

// should simplify a sentence neatly. now with dropPunctuation
static S simplifySentence2(S s) {
  ret join(" ", codeTokensOnly(dropPunctuation(nlTok(s.toLowerCase()))));
}

Author comment

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: 658 / 617
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)