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

11
LINES

< > BotCompany Repo | #1020708 // ai_adverbsFromTriple

JavaX fragment (include)

1  
static LS ai_adverbsFromTriple(T3<S> t) {
2  
  new LS l;
3  
  S b = t.b;
4  
  S s = firstJavaToken(b);
5  
  while (isAdverb(s)) {
6  
    l.add(s);
7  
    b = trim(dropFirstJavaToken(b));
8  
    s = firstJavaToken(b);
9  
  }
10  
  ret l;
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1020708
Snippet name: ai_adverbsFromTriple
Eternal ID of this version: #1020708/2
Text MD5: 7c44664db07eee75f177be2aaf53550b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-31 21:43:58
Source code size: 220 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 355
Version history: 1 change(s)
Referenced in: [show references]