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

5
LINES

< > BotCompany Repo | #1027938 // test_ProbabilisticParser1 (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7838L/46K).

svoid test_ProbabilisticParser1() {
  new ProbabilisticParser1 parser;
  parser.parse("Das * hat *.", "Das Wohnzimmer hat eine Tür.");
  assertEqualsVerbose(Matches("Wohnzimmer", "eine Tür"), parser.bestMatches());
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027938
Snippet name: test_ProbabilisticParser1 (OK)
Eternal ID of this version: #1027938/4
Text MD5: f1680e08fcb08fe3467e4567adc57e68
Transpilation MD5: be3b54b6d2e1cd1364afd5bf26410dcf
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-20 12:02:05
Source code size: 222 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 202 / 351
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033145 - allProbabilisticTests (OK)