Sha256: 892ffa20b42c7c80ef4d3f21599102a036b8f9a4ecfd4de65b99e2fe36a3c06e
Contents?: true
Size: 555 Bytes
Versions: 18
Compression:
Stored size: 555 Bytes
Contents
require File.join(File.expand_path(File.dirname(__FILE__)), '../../test_helper.rb') require 'rbbt/ner/abner' require 'test/unit' class TestAbner < Test::Unit::TestCase def test_match begin ner = Abner.new mentions = ner.match(" The P-ITIM-compelled multi-phosphoprotein complex binds to and activates SHP-2, which in turn dephosphorylates SHIP and Shc and probably other substrates.") ["SHP-2", "SHIP", "Shc"].each{|mention| assert(mentions.include? mention) } rescue Log.exception $! end end end
Version data entries
18 entries across 18 versions & 1 rubygems