* using given language code.
* @param reader reader containing SRX rules
* @param languageCode language code used to select the rules to apply
*/
public SrxSplitAlgorithm(Reader reader, String languageCode) {
SrxParser parser = new SrxAnyParser();
this.document = parser.parse(reader);
this.languageCode = languageCode;
}