Sha256: 9607c9dbb0788b08776e471bba2d911a7d085c728d282f4b930a2f652abeee11
Contents?: true
Size: 532 Bytes
Versions: 14
Compression:
Stored size: 532 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 end end end
Version data entries
14 entries across 14 versions & 1 rubygems