Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation instructions and running examples #8

Open
rainwala opened this issue Apr 2, 2020 · 5 comments
Open

installation instructions and running examples #8

rainwala opened this issue Apr 2, 2020 · 5 comments

Comments

@rainwala
Copy link

rainwala commented Apr 2, 2020

Hello, thank you for writing this software. Could you please provide some detailed installation instructions, and some examples for how it should be run, in the README file? Thank you.

@rainwala
Copy link
Author

rainwala commented Apr 2, 2020

Also, could you please do the same for MinScIE, for which I find no installation instructiuons or running examples. Thank you!

@rainwala
Copy link
Author

rainwala commented Apr 2, 2020

I actually just figured it out:
run the following command in the main directory
mvn clean compile assembly:single

Still, specifically spelling it out in the READMe would probably help others :)

@DodiyaParth
Copy link

@rainwala
Did you run this project?
If you were able to run this, then can you tell me how did you use this project to extract triplets.

@rainwala
Copy link
Author

Hi @DodiyaParth , sorry, but I don't even remember what this project is!
based on my comment above, I think I got somewhere by doing "mvn clean compile assembly:single" , but I can't remember. Sorry I can't be of more help.

@paulk-asert
Copy link

paulk-asert commented Jun 9, 2023

There is an example running with Groovy here:
https://github.com/paulk-asert/groovy-data-science/blob/master/subprojects/LanguageProcessing/src/main/groovy/DetectTriples_MinIE.groovy

Output is:

[main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator tokenize
...
[main] INFO edu.stanford.nlp.parser.nndep.DependencyParser - Initializing dependency parser ... done [2.0 sec].

Input sentence: Paul has two sisters, Maree and Christine.
=============================
Extractions:
        Triple: "Paul"  "has"   "QUANT_O_1 sisters"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "QUANT_S_1 sisters"     "is"    "Maree"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "QUANT_S_1 sisters"     "is"    "Christine"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "Maree" "is"    "QUANT_O_1 sisters"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "Christine"     "is"    "QUANT_O_1 sisters"
        Factuality: (+,CT)      Attribution: NONE
        ----------

Input sentence: No wise fish would go anywhere without a porpoise
=============================
Extractions:
        Triple: "QUANT_S_1 wise fish"   "go without"    "porpoise"
        Factuality: (+,PS)      Attribution: NONE
        ----------
        Triple: "QUANT_S_1 wise fish"   "go"    "anywhere"
        Factuality: (+,PS)      Attribution: NONE
        ----------

Input sentence: His bark was much worse than his bite
=============================
Extractions:
        Triple: "His"   "has"   "bark"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "bark"  "was QUANT_R_1" "worse"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "bark"  "was worse than"        "bite"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "bark"  "was"   "worse"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "his"   "has"   "bite"
        Factuality: (+,CT)      Attribution: NONE
        ----------

Input sentence: The Groovy in Action book is a bargain at $50, or indeed any price.
=============================
Extractions:
        Triple: "Groovy in Action book" "is bargain at" "$ QUANT_O_1"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "Groovy in Action book" "is bargain at" "indeed QUANT_O_1 price"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "Groovy in Action book" "is"    "bargain"
        Factuality: (+,CT)      Attribution: NONE
        ----------

Input sentence: The conference wrapped up yesterday at 5:30 p.m. in Copenhagen, Denmark.
=============================
Extractions:
        Triple: "conference"    "wrapped up yesterday at"       "5:30 p.m."
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "conference"    "wrapped up yesterday in"       "Copenhagen"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "conference"    "wrapped up"    "yesterday"
        Factuality: (+,CT)      Attribution: NONE
        ----------

Input sentence: I saw Ms. May Smith waving to June Jones.
=============================
Extractions:
        Triple: "May Smith"     "is"    "female"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "I"     "saw"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "May Smith"     "waving to"     "June Jones"
        Factuality: (+,CT)      Attribution: NONE
        ----------

Input sentence: The parcel was passed from May to June.
=============================
Extractions:
        Triple: "parcel"        "was passed from May to"        "June"
        Factuality: (+,CT)      Attribution: NONE
        ----------
        Triple: "parcel"        "was passed from"       "May"
        Factuality: (+,CT)      Attribution: NONE
        ----------

The project does however appear to be dormant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants