Wrote /root/JavaX-Caches/tmp_414078921/main.java - 650 bytes (written=650, should be 650) 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_582419810 /root/JavaX-Caches/tmp_414078921/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_414078921/main.java:1: error: class, interface, or enum expected static S getSingularFromWordHippo(S word) { ^ /root/JavaX-Caches/tmp_414078921/main.java:3: error: class, interface, or enum expected SS hippoSingulars = pairsToMap((L<Pair<S>>) scanStructureLog(#1011041, "singulars")); ^ /root/JavaX-Caches/tmp_414078921/main.java:3: error: illegal character: '#' SS hippoSingulars = pairsToMap((L<Pair<S>>) scanStructureLog(#1011041, "singulars")); ^ /root/JavaX-Caches/tmp_414078921/main.java:4: error: class, interface, or enum expected try answer hippoSingulars.get(word); ^ /root/JavaX-Caches/tmp_414078921/main.java:5: error: class, interface, or enum expected S html = loadPage("https://www.wordhippo.com/what-is/the-singular-of/" + urlencode(word) + ".html"); ^ /root/JavaX-Caches/tmp_414078921/main.java:6: error: class, interface, or enum expected S pat = "The singular form of " + word + " is"; ^ /root/JavaX-Caches/tmp_414078921/main.java:7: error: class, interface, or enum expected int i = indexOfIC(html, pat); ^ /root/JavaX-Caches/tmp_414078921/main.java:8: error: class, interface, or enum expected if (i < 0) { print("no singular: " + html); null; } ^ /root/JavaX-Caches/tmp_414078921/main.java:8: error: class, interface, or enum expected if (i < 0) { print("no singular: " + html); null; } ^ /root/JavaX-Caches/tmp_414078921/main.java:8: error: class, interface, or enum expected if (i < 0) { print("no singular: " + html); null; } ^ /root/JavaX-Caches/tmp_414078921/main.java:10: error: class, interface, or enum expected int j = indexOf(html, "</b>", i); ^ /root/JavaX-Caches/tmp_414078921/main.java:11: error: class, interface, or enum expected if (j < 0) null; ^ /root/JavaX-Caches/tmp_414078921/main.java:12: error: class, interface, or enum expected S singular = trim(dropTags(substring(html, i, j))); ^ /root/JavaX-Caches/tmp_414078921/main.java:13: error: class, interface, or enum expected logStructure(#1011041, "singulars", pair(word, singular)); ^ /root/JavaX-Caches/tmp_414078921/main.java:13: error: illegal character: '#' logStructure(#1011041, "singulars", pair(word, singular)); ^ /root/JavaX-Caches/tmp_414078921/main.java:14: error: class, interface, or enum expected ret singular; ^ /root/JavaX-Caches/tmp_414078921/main.java:15: error: class, interface, or enum expected } ^ 17 errors