Transpiled version (11292L) is out of date.
scope ai_groupSimplestNounPhrases_cachedParser.
static Lock #lock = lock();
static AI_BottomUpParser1 #parser;
sS ai_groupSimplestNounPhrases_cachedParser(S s) {
lock lock;
if (parser == null)
parser = ai_standardBUParserWithProductions([[<determiner> + <noun> = <noun>]]);
ret ai_groupUsingProductions(s, parser);
}
end scopeBegan 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: | 683 / 827 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |