Hello, I have a problem with Textruler. I am working with Whisk (generic) and I am trying to learn rules with features like "Lemma{FEATURE("lemma","consumer")->MARKONCE(MBTO00001402)};" but the problem is that such rule is not well applyed :
base1: Lemma{FEATURE("lemma","consumer")->MARKONCE(MBTO00001402)}; base2: ALL*?{->MARKONCE(MBTO00001402)} PERIOD; base1: p=0; n=0 --> laplacian = 1.0 base2: p=1; n=1192 --> laplacian = 0.9991624790619765 The regexp however works: base1: Lemma{REGEXP("consumer")->MARKONCE(MBTO00001402)}; base2: ALL*?{->MARKONCE(MBTO00001402)} PERIOD; base1: p=1; n=0 --> laplacian = 0.5 base2: p=1; n=1192 --> laplacian = 0.9991624790619765 The rule Lemma{->MARKONCE(MBTO00001402)}; works too base1: Lemma{->MARKONCE(MBTO00001402)}; base2: ALL*?{->MARKONCE(MBTO00001402)} PERIOD; base1: p=1; n=0 --> laplacian = 0.5 base2: p=1; n=1192 --> laplacian = 0.9991624790619765 Any idea about where can be the problem in the textruler code (may be it's the TextMarkerEngine code)? i am using the textmarker 1.0 but the latest versions do not seem to solve the problem too. PS: I tried to test the rule outside the textruler code with the same engine and using the same textmarker (1.0) and it works. Cheers, Sondes