public DoubleMetaphoneFilter(TokenStream input, int maxCodeLength, boolean inject) {super(input);this.encoder.setMaxCodeLen(maxCodeLength);this.inject = inject;}

public DoubleMetaphoneFilter(TokenStream input, int maxCodeLength, bool inject): base(input){this.encoder.MaxCodeLen = maxCodeLength;this.inject = inject;this.termAtt = AddAttribute<ICharTermAttribute>();this.posAtt = AddAttribute<IPositionIncrementAttribute>();}
