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).

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

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: 201 / 351
Version history: 3 change(s)
Referenced in: [show references]