class WordFastTMReader extends TabBitextReader {

  public WordFastTMReader(String filename, String encoding) throws IOException {
    super(filename, encoding);
    //skip the header (first line)
    if (nextLine != null) {
      nextLine = in.readLine();
      nextPair = tab2StringPair(nextLine);
    }
  }

  @Nullable
  @Override
  public final StringPair tab2StringPair(String line) {<FILL_FUNCTION_BODY>}
  
  @Override
  public Iterator<StringPair> iterator() {
    return new TabReader();
  }

  class TabReader implements Iterator<StringPair> {

    @Override
    public boolean hasNext() { 
      return nextLine != null;
    }

    @Override
    public StringPair next() {
      try {
        StringPair result = nextPair;
        if (nextLine != null) {
          nextLine = in.readLine();
          nextPair = tab2StringPair(nextLine);
          if (nextLine == null) {
            in.close();
          }
        }
        return result;
      } catch (IOException e) { 
        throw new RuntimeException(e); 
      }
    }

    // The file is read-only.
    @Override
    public void remove() { 
      throw new UnsupportedOperationException(); 
    }
  }
  
}

    if (line == null) {
      return null;
    }
    String[] fields = line.split("\t");
    sentencePos = fields[4].length() + 1;
    return new StringPair(fields[4], fields[6]);
  
<methods>public void <init>(java.lang.String, java.lang.String) ,public int getColumnCount() ,public java.lang.String getCurrentLine() ,public int getLineCount() ,public int getSentencePosition() ,public int getTargetColumnCount() ,public Iterator<org.languagetool.bitext.StringPair> iterator() <variables>protected java.io.BufferedReader in,private int lineCount,protected java.lang.String nextLine,protected org.languagetool.bitext.StringPair nextPair,private java.lang.String prevLine,protected int sentencePos