minie icon indicating copy to clipboard operation
minie copied to clipboard

installation instructions and running examples

Open rainwala opened this issue 5 years ago • 5 comments

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 avatar Apr 02 '20 15:04 rainwala

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

rainwala avatar Apr 02 '20 15:04 rainwala

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 :)

rainwala avatar Apr 02 '20 16:04 rainwala

@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.

DodiyaParth avatar Jun 18 '20 14:06 DodiyaParth

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.

rainwala avatar Jun 18 '20 15:06 rainwala

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.

paulk-asert avatar Jun 09 '23 08:06 paulk-asert