!759 static Class parser; p { print("parser bot loading"); parser = hotwire_overBot("#1002328"); print("parser bot loaded"); } answer { if (startsWithIgnoreCase(s, "parse ")) try { O bot; bot = getBot("#1002314"); // adjectives bot if (bot != null) callOpt(parser, "addDict", "adjective", get(bot, "adjectives")); bot = getBot("#1002342"); // nouns bot if (bot != null) callOpt(parser, "addDict", "noun", get(bot, "nouns")); S text = s.substring(5).trim(); boolean debug = text.startsWith("debug "); if (debug) text = text.substring(5).trim(); S a; time { a = (S) call(parser, "parse", text); } if (debug) ret structure(get(parser, "recog")); ret a + " [" + getLastTiming() + " ms, " + getOpt(parser, "timing") + " ms actual]"; } catch (Throwable e) { ret exceptionToUser(e); } }