public LinkingMorphemes(BufferedReader aReader) throws IOException {
  morphemes=new ArrayList<String>();
  String line;
  while ((line=aReader.readLine()) != null) {
    if (line.length() > 0 && line.charAt(0) != '#') {
      morphemes.add(line);
    }
  }
}

public LinkingMorphemes ( BufferedReader aReader ) throws IOException { morphemes = new ArrayList < String > ( ) ; String line ; while ( ( line = aReader . readLine ( ) ) != null ) { if ( line . length ( ) > 0 && line . charAt ( 0 ) != '#' ) { morphemes . add ( line ) ; } } }
create a linking morphemes object from a reader object . each line in the file must contain one morpheme . use # in front of a line for comments .
