https://github.com/markfarrell/relation-extraction
Extracts relations from text.
https://github.com/markfarrell/relation-extraction
Last synced: 11 months ago
JSON representation
Extracts relations from text.
- Host: GitHub
- URL: https://github.com/markfarrell/relation-extraction
- Owner: markfarrell
- License: lgpl-3.0
- Created: 2014-02-08T19:20:20.000Z (about 12 years ago)
- Default Branch: develop
- Last Pushed: 2015-01-14T12:27:08.000Z (about 11 years ago)
- Last Synced: 2025-03-27T13:12:33.306Z (12 months ago)
- Language: Scala
- Homepage: http://markfarrell.github.io/creal/
- Size: 147 MB
- Stars: 14
- Watchers: 3
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Relation Extraction Software
Extracts relations from text articles.
#### Instructions
Install SBT 0.13.0+.
##### Usage
$ sbt console
```scala
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] = \/-([
, )>
])
```
[Wiki](https://github.com/crea-berkeley/knowledge-extraction/wiki)