Wrote /root/JavaX-Caches/tmp_1248907728/main.java - 1219 bytes (written=1219, should be 1219)
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_1341050227 /root/JavaX-Caches/tmp_1248907728/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1248907728/main.java:1: error: class, interface, or enum expected
static int ocr_recognizeTextClips_spaceDist = 7;
^
/root/JavaX-Caches/tmp_1248907728/main.java:3: error: class, interface, or enum expected
static L ocr_recognizeTextClips(BWImage bw, L clips) {
^
/root/JavaX-Caches/tmp_1248907728/main.java:5: error: class, interface, or enum expected
final L rects = autoSegment(bw);
^
/root/JavaX-Caches/tmp_1248907728/main.java:6: error: class, interface, or enum expected
new L lines;
^
/root/JavaX-Caches/tmp_1248907728/main.java:7: error: class, interface, or enum expected
for (Rect clip: clips) {
^
/root/JavaX-Caches/tmp_1248907728/main.java:9: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_1248907728/main.java:11: error: class, interface, or enum expected
new L gclips; // glyph clips
^
/root/JavaX-Caches/tmp_1248907728/main.java:12: error: class, interface, or enum expected
L groups = sr.recognizeGrouped(clipImg, gclips);
^
/root/JavaX-Caches/tmp_1248907728/main.java:13: error: class, interface, or enum expected
int n = l(groups);
^
/root/JavaX-Caches/tmp_1248907728/main.java:14: error: class, interface, or enum expected
if (l(gclips) != n)
^
/root/JavaX-Caches/tmp_1248907728/main.java:16: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1248907728/main.java:18: error: class, interface, or enum expected
for (int i = 0; i < l(groups)-1; i++) {
^
/root/JavaX-Caches/tmp_1248907728/main.java:18: error: class, interface, or enum expected
for (int i = 0; i < l(groups)-1; i++) {
^
/root/JavaX-Caches/tmp_1248907728/main.java:20: error: class, interface, or enum expected
Rect b = gclips.get(i+1);
^
/root/JavaX-Caches/tmp_1248907728/main.java:21: error: class, interface, or enum expected
if (a != null && b != null) {
^
/root/JavaX-Caches/tmp_1248907728/main.java:24: error: class, interface, or enum expected
if (dist >= ocr_recognizeTextClips_spaceDist) {
^
/root/JavaX-Caches/tmp_1248907728/main.java:26: error: class, interface, or enum expected
gclips.add(i+1, null);
^
/root/JavaX-Caches/tmp_1248907728/main.java:27: error: class, interface, or enum expected
++i;
^
/root/JavaX-Caches/tmp_1248907728/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1248907728/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1248907728/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1248907728/main.java:37: error: class, interface, or enum expected
}
^
22 errors