question: public void train ( URL aUrl , String aEncoding ) throws IOException { try ( InputStream is = aUrl . openStream ( ) ) { train ( new InputStreamReader ( is , aEncoding ) ) ; } }
target:  Read words from the given URL and count their occurrences.