new constructor for TRanker to avoid using boilerpipe if needed