Neuroscience, Regular Expressions, Computer Science, Machine Learning.
((line = reader.readLine()) != null) { Automaton automaton = new RegExp(line).toAutomaton(); sumOfStates += automaton.getNumberOfStates(); combined = combined.union(automaton); } } catch (Exception e) { System.out.println("Failed: " + line + " : " + e); System.exit(0); } System.out.println("Sum of