Never-mind I found the problem...It has nothing to do with the finding process...it is simply because the tag produced during evaluation doesn't include the type! It is predicting <START> ... <END> instead of <START:drug> ... <END>.

I could hardcode that as well for the purposes of getting some results...

Jim


On 20/10/12 18:30, Jim - FooBar(); wrote:
It's getting weirder and weirder !!!
I just thought I'd try calling the .find() of the DictionaryNameFinder and it works just fine with MyDictionary. For example I tried passing these: ("ibuprofen" is the named-entity)

 ["I" "use" "ibuprofen" "."]         // got back a <Span [2..3)>
 ["I" "do" "use" "ibuprofen" "."]   //got back a <Span [3..4)>

so it seems that my implementation is just fine! it does what it is supposed to do...what is different in the evaluator?
I'm at a loss! This should work...

Jim




On 20/10/12 17:38, Jim - FooBar(); wrote:
On 20/10/12 17:36, Jim - FooBar(); wrote:
that is, I'm passing a string to .contains()

sorry I meant a StringList object exactly as it expects...the compiler would complain otherwise anyway!

Jim


Reply via email to