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

Commit

Permalink
Changed enum Mode.SAFE in the Minie construction to int value 2 in or…
Browse files Browse the repository at this point in the history
…der to make it work with pyjnius
  • Loading branch information
mmxgn committed Sep 15, 2018
1 parent a20d877 commit 51d0c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/tests/minie/Demo.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public static void main(String args[]) {
// Input sentence
String sentence = "The Joker believes that the hero Batman was not actually born in foggy Gotham City.";

// Generate the extractions (With SAFE mode)
MinIE minie = new MinIE(sentence, parser, MinIE.Mode.SAFE);
// Generate the extractions (With SAFE mode (mode = 2)
MinIE minie = new MinIE(sentence, parser, 2);

// Print the extractions
System.out.println("\nInput sentence: " + sentence);
Expand Down

0 comments on commit 51d0c8f

Please sign in to comment.