Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
fixed example on how to run minie through python
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanouil Theofanis Chourdakis committed Jan 8, 2021
1 parent ec46233 commit 60c4907
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ And install:
Then you can write a script like the following:

```
import os
os.environ['CLASSPATH'] = "path/to/minie.jar"
from miniepy import *
jar_file = "path/to/minie.jar"
# Instantiate minie
minie = MinIE(jar_file)
minie = MinIE()
# Sentence to extract triples from
sentence = "The Joker believes that the hero Batman was not actually born in foggy Gotham City."
Expand Down

0 comments on commit 60c4907

Please sign in to comment.