Wrote /root/JavaX-Caches/tmp_884660700/main.java - 2265 bytes (written=2265, should be 2265)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_1886217755 /root/JavaX-Caches/tmp_884660700/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_884660700/main.java:1: error: class, interface, or enum expected
static Triple ai_tripelize(S s) {
^
/root/JavaX-Caches/tmp_884660700/main.java:3: error: class, interface, or enum expected
if (t != null) ret t;
^
/root/JavaX-Caches/tmp_884660700/main.java:5: error: class, interface, or enum expected
S x = "";
^
/root/JavaX-Caches/tmp_884660700/main.java:6: error: class, interface, or enum expected
if (endsWith(s, "?")) x = " (?)"; // statement with question mark, e.g. "Al Gore invented the Internet?"
^
/root/JavaX-Caches/tmp_884660700/main.java:7: error: class, interface, or enum expected
t = ai_tripelize_impl(dropCertainPunctuationAtEnd(s, ":;,?!."));
^
/root/JavaX-Caches/tmp_884660700/main.java:8: error: class, interface, or enum expected
if (t == null) null;
^
/root/JavaX-Caches/tmp_884660700/main.java:9: error: class, interface, or enum expected
ai_fixTriple(t);
^
/root/JavaX-Caches/tmp_884660700/main.java:11: error: class, interface, or enum expected
if (nempty(x) && t != null && !endsWith(t.a, "?") && !endsWith(t.b, "?") && !endsWith(t.c, "?")) t.b += x;
^
/root/JavaX-Caches/tmp_884660700/main.java:12: error: class, interface, or enum expected
if (endsWith(s, "!") && eq(t.b, ".")) t.b = "!";
^
/root/JavaX-Caches/tmp_884660700/main.java:13: error: class, interface, or enum expected
ret t;
^
/root/JavaX-Caches/tmp_884660700/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_884660700/main.java:18: error: class, interface, or enum expected
if (l(original) <= 1) null; // no tokens
^
/root/JavaX-Caches/tmp_884660700/main.java:19: error: class, interface, or enum expected
original = simpleSpaces(original);
^
/root/JavaX-Caches/tmp_884660700/main.java:20: error: class, interface, or enum expected
L tok = original;
^
/root/JavaX-Caches/tmp_884660700/main.java:21: error: class, interface, or enum expected
S a = get(tok, 1);
^
/root/JavaX-Caches/tmp_884660700/main.java:23: error: class, interface, or enum expected
T3 triple;
^
/root/JavaX-Caches/tmp_884660700/main.java:24: error: class, interface, or enum expected
ret optional triple = ai_tripelize_dash(s, original);
^
/root/JavaX-Caches/tmp_884660700/main.java:25: error: class, interface, or enum expected
ret optional triple = ai_tripelize_exclamCommand(s, original);
^
/root/JavaX-Caches/tmp_884660700/main.java:26: error: class, interface, or enum expected
ret optional triple = ai_tripelize_howLongEtc(s, original);
^
/root/JavaX-Caches/tmp_884660700/main.java:28: error: class, interface, or enum expected
if (ai_questionWord_1(a)) { tok = subList(tok, 2); a = get(tok, 1); }
^
/root/JavaX-Caches/tmp_884660700/main.java:28: error: class, interface, or enum expected
if (ai_questionWord_1(a)) { tok = subList(tok, 2); a = get(tok, 1); }
^
/root/JavaX-Caches/tmp_884660700/main.java:28: error: class, interface, or enum expected
if (ai_questionWord_1(a)) { tok = subList(tok, 2); a = get(tok, 1); }
^
/root/JavaX-Caches/tmp_884660700/main.java:31: error: class, interface, or enum expected
if (ai_yesNoQuestionWord_1(a) && neqicOneOf(a, "am", "are", "is")) {
^
/root/JavaX-Caches/tmp_884660700/main.java:33: error: class, interface, or enum expected
int i = indexOfFirstVerb(tok2);
^
/root/JavaX-Caches/tmp_884660700/main.java:34: error: class, interface, or enum expected
S v = get(tok2, i);
^
/root/JavaX-Caches/tmp_884660700/main.java:35: error: class, interface, or enum expected
if (v != null) {
^
/root/JavaX-Caches/tmp_884660700/main.java:37: error: class, interface, or enum expected
S rest = trimJoinSubList(tok2, i+1);
^
/root/JavaX-Caches/tmp_884660700/main.java:38: error: class, interface, or enum expected
v = ai_tripelize_helperVerb(a, v);
^
/root/JavaX-Caches/tmp_884660700/main.java:39: error: class, interface, or enum expected
ret triple(joinWithSpace2(questionWord, middle), v, rest);
^
/root/JavaX-Caches/tmp_884660700/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_884660700/main.java:48: error: class, interface, or enum expected
int i = ai_splitTwoNounPhrases(tok);
^
/root/JavaX-Caches/tmp_884660700/main.java:50: error: class, interface, or enum expected
ret triple(
^
/root/JavaX-Caches/tmp_884660700/main.java:54: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_884660700/main.java:57: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_884660700/main.java:61: error: class, interface, or enum expected
int j = indexOfFirstVerb(tok, i);
^
/root/JavaX-Caches/tmp_884660700/main.java:62: error: class, interface, or enum expected
if (j < 0) ret triple(s, ".", ".");
^
/root/JavaX-Caches/tmp_884660700/main.java:63: error: class, interface, or enum expected
ret triple(
^
/root/JavaX-Caches/tmp_884660700/main.java:67: error: class, interface, or enum expected
}
^
38 errors