String sfilter=doc.getAttribute("senses");
if(sfilter!=null)
{
sensefilters.add(sfilter);
if(sfilter.startsWith("+"))
filter=new FirstSenses("N:"+sfilter.substring(1));
if(sfilter.startsWith("*"))
filter=new NthSenseOnly("N:"+sfilter.substring(1));
if(sfilter.startsWith("-"))
filter=new RemoveNthSense("N:"+sfilter.substring(1));
}