Sha256: 92632a96a6e2e78f5e0aa25b0682fc2e3ddeff7739e450fed1e782f0d4320093

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb')
require 'rbbt/ner/g_norm_plus'

Log.severity = 0
class TestGNormPlus < Test::Unit::TestCase
  def test_match
    text =<<-EOF
We found that TP53 is regulated by MDM2 in Homo sapiens
    EOF


    mentions = GNormPlus.process({:file => text})
    Log.tsv mentions
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rbbt-text-1.1.9 test/rbbt/ner/test_g_norm_plus.rb
rbbt-text-1.1.8 test/rbbt/ner/test_g_norm_plus.rb