Transpiled version (11292L) is out of date.
1 | scope ai_groupSimplestNounPhrases_cachedParser. |
2 | |
3 | static Lock #lock = lock(); |
4 | static AI_BottomUpParser1 #parser; |
5 | |
6 | sS ai_groupSimplestNounPhrases_cachedParser(S s) { |
7 | lock lock; |
8 | if (parser == null) |
9 | parser = ai_standardBUParserWithProductions([[<determiner> + <noun> = <noun>]]); |
10 | |
11 | ret ai_groupUsingProductions(s, parser); |
12 | } |
13 | |
14 | end scope |
Began life as a copy of #1018202
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023525 |
Snippet name: | ai_groupSimplestNounPhrases_cachedParser (doesn't work) |
Eternal ID of this version: | #1023525/3 |
Text MD5: | edb2d784439ced6b3125a9dbc3051e15 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-27 13:04:23 |
Source code size: | 357 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 248 / 320 |
Version history: | 2 change(s) |
Referenced in: | [show references] |