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

10
LINES

< > BotCompany Repo | #1021639 - gazelle_zip - tokenize & zip code tokens to ci-map. null if no match possible (differing token counts)

JavaX fragment (include)

static SS gazelle_zip(S inputA, S inputB, O... _) {
  O tokenizer = optPar tokenizer(_, f javaTokWithBrackets);
  ret gazelle_zipTwoTokenizationsToMap(
    callTokenizer(tokenizer, inputA),
    callTokenizer(tokenizer, inputB));
}

static SS gazelle_zip(Pair<S> inputs, O... _) {
  ret inputs == null ? null : gazelle_zip(inputs.a, inputs.b, _);
}

Author comment

Began life as a copy of #1021604

download  show line numbers  debug dex   

Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1021639
Snippet name: gazelle_zip - tokenize & zip code tokens to ci-map. null if no match possible (differing token counts)
Eternal ID of this version: #1021639/9
Text MD5: 3236488fe98f742cd87efb0f932b01c9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-30 17:30:53
Source code size: 356 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 82 / 96
Version history: 8 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1021639 & http://1021639.tinybrain.de