/* Usage: to compile: javac HaikuChecker.java to run: java HaikuChecker this is not a haiku or java HaikuChecker this should be a haiku if i counted correctly you should try it */ import java.net.*; import java.io.*; import java.util.*; public class HaikuChecker{ public static void main(String args[]){ int sum = 0; for(int i=0; i")){ found = true; foundWord = s.substring(s.indexOf("") + 3, s.indexOf("")); } } } catch (Exception e){ System.out.println(e); } if(!found) System.out.println("Error, parse token not found"); int i = 0; int j = 0; while(i