code: public void add(Reader reader, MentionType type) throws IOException
      {
          BufferedReader buffered = new BufferedReader(reader);
          String line = buffered.readLine();
          while (line != null)
          {
              add(line.trim(), type);
              line = buffered.readLine();
          }
      }
docs: Loads multiple entries of a single type to the dictionary by reading them from the specified {@link Reader}.
  
  @param reader
  The {@link Reader} containing the entries to be added, one entry per line
  @param type
  The {@link MentionType} for all entries to the dictionary
  @throws IOException