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

7
LINES

< > BotCompany Repo | #1002699 // wordTokensToLowerCase

JavaX fragment (include)

static L<S> wordTokensToLowerCase(L<S> tok) {
  tok = new ArrayList<S>(tok);
  for (int i = 1; i < tok.size(); i += 2)
    if (!isQuoted(tok.get(i)))
      tok.set(i, tok.get(i).toLowerCase());
  return tok;
}

Author comment

Began life as a copy of #1000813

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: #1002699
Snippet name: wordTokensToLowerCase
Eternal ID of this version: #1002699/1
Text MD5: 09242845015b452146ea912d546122bd
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-15 22:25:45
Source code size: 215 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 665 / 695
Referenced in: [show references]