Extracts relations from text.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with markfarrell:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
project
src
.gitignore
.travis.yml
LICENSE
README.md
eng_sm6.gr
neuroendocrine.txt
terms.txt

README.md

travis-ci

Relation Extraction Software

Extracts relations from text articles.

Instructions

Install SBT 0.13.0+.

Usage
$ sbt console
scala> val sentence = "The man walks the dog."
sentence: String = The man walks the dog.

scala> val parsed = Parse(sentence)
parsed: Tree[String] =
  (ROOT
    (S
      (@S
        (NP (DT The) (NN man))
        (VP (VBZ walks)
          (NP (DT the) (NN dog))))
      (. .)))

scala> val compiled = Compile(parsed)
compiled: Tree[String] \/ List[Relation] = \/-([
  <relation:walk(<literal:man>, <literal:dog>)>
])

Wiki