@Override
public void init(Input document)throws Exception {
System.out.println();
if(this.getValue("scoring")==null)
{
this.scoring=(OverlapMeasure)new Length();
}
else
{
this.scoring=(OverlapMeasure)Class.forName(this.getValue("scoring")).newInstance();
}