Wrote /root/JavaX-Caches/tmp_593144608/main.java - 2375 bytes (written=2375, should be 2375)
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_600555663 /root/JavaX-Caches/tmp_593144608/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_593144608/main.java:1: error: class, interface, or enum expected
sclass TrainVAD {
^
/root/JavaX-Caches/tmp_593144608/main.java:5: error: class, interface, or enum expected
LPair trainingList;
^
/root/JavaX-Caches/tmp_593144608/main.java:6: error: class, interface, or enum expected
float stepSizeRatio = 0.25f;
^
/root/JavaX-Caches/tmp_593144608/main.java:7: error: class, interface, or enum expected
int clipLength;
^
/root/JavaX-Caches/tmp_593144608/main.java:9: error: class, interface, or enum expected
Recognizer go() {
^
/root/JavaX-Caches/tmp_593144608/main.java:10: error: class, interface, or enum expected
final BWImage img1 = frequencyImage(voiceMegaMix());
^
/root/JavaX-Caches/tmp_593144608/main.java:11: error: class, interface, or enum expected
final BWImage img2 = frequencyImage(nonVoiceMegaMix());
^
/root/JavaX-Caches/tmp_593144608/main.java:12: error: class, interface, or enum expected
clipLength = iround(2.0*spectro_pixelsPerSecond());
^
/root/JavaX-Caches/tmp_593144608/main.java:13: error: class, interface, or enum expected
int stepSize = max(1, iround(clipLength*stepSizeRatio));
^
/root/JavaX-Caches/tmp_593144608/main.java:14: error: class, interface, or enum expected
print(+clipLength);
^
/root/JavaX-Caches/tmp_593144608/main.java:15: error: class, interface, or enum expected
print(+stepSize);
^
/root/JavaX-Caches/tmp_593144608/main.java:16: error: class, interface, or enum expected
L images1 = map(func(IntRange r) -> BWImage { bwHorizontalClip(img1, r) }, stepIntRange(clipLength, intRange(0, img1.getWidth()), stepSize));
^
/root/JavaX-Caches/tmp_593144608/main.java:17: error: class, interface, or enum expected
L images2 = map(func(IntRange r) -> BWImage { bwHorizontalClip(img2, r) }, stepIntRange(clipLength, intRange(0, img2.getWidth()), stepSize));
^
/root/JavaX-Caches/tmp_593144608/main.java:18: error: class, interface, or enum expected
print(allImageSizes(concatLists(images1, images2)));
^
/root/JavaX-Caches/tmp_593144608/main.java:19: error: class, interface, or enum expected
print(l(images1) + " + " + l(images2) + " images");
^
/root/JavaX-Caches/tmp_593144608/main.java:21: error: class, interface, or enum expected
trainingList = trueFalseBPairs(images1, images2);
^
/root/JavaX-Caches/tmp_593144608/main.java:25: error: class, interface, or enum expected
test(func(BWImage img) -> bool { false });
^
/root/JavaX-Caches/tmp_593144608/main.java:26: error: class, interface, or enum expected
test(func(BWImage img) -> bool { true });
^
/root/JavaX-Caches/tmp_593144608/main.java:28: error: class, interface, or enum expected
new AIStrategy_RandomWithVariation strategy;
^
/root/JavaX-Caches/tmp_593144608/main.java:29: error: class, interface, or enum expected
strategy.best = best;
^
/root/JavaX-Caches/tmp_593144608/main.java:30: error: class, interface, or enum expected
strategy.submit = f1_scorePreciseRecognizer(trainingList);
^
/root/JavaX-Caches/tmp_593144608/main.java:31: error: class, interface, or enum expected
strategy.random = func -> Recognizer {
^
/root/JavaX-Caches/tmp_593144608/main.java:37: error: class, interface, or enum expected
strategy.vary = func(Recognizer r) -> Recognizer {
^
/root/JavaX-Caches/tmp_593144608/main.java:43: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_593144608/main.java:44: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_593144608/main.java:46: error: class, interface, or enum expected
runStrategyWhileImprovement(best, strategy);
^
/root/JavaX-Caches/tmp_593144608/main.java:51: error: class, interface, or enum expected
ret best!;
^
/root/JavaX-Caches/tmp_593144608/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_593144608/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_593144608/main.java:60: error: class, interface, or enum expected
new L errorImages;
^
/root/JavaX-Caches/tmp_593144608/main.java:61: error: class, interface, or enum expected
for (Pair p : trainingList)
^
/root/JavaX-Caches/tmp_593144608/main.java:64: error: class, interface, or enum expected
if (nempty(errorImages))
^
/root/JavaX-Caches/tmp_593144608/main.java:66: error: class, interface, or enum expected
}
^
33 errors