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

3
LINES

< > BotCompany Repo | #1026532 // getSentencePrefix

JavaX fragment (include)

sS getSentencePrefix(LS tok, int tokens) {
  ret dropTrailingComma(trimJoinSubList(tok, 0, tokens*2+1));
}

Author comment

Began life as a copy of #1026527

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026532
Snippet name: getSentencePrefix
Eternal ID of this version: #1026532/2
Text MD5: e779288453dd35ea532188e2266245ea
Author: stefan
Category: javax / nlp
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-11 20:48:12
Source code size: 108 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 118 / 147
Version history: 1 change(s)
Referenced in: [show references]