Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vedic-partap authored Jun 20, 2018
1 parent 1053bff commit bccb0a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ To run negtool with raw text, you need to have CoreNLP installed. Run the tool w

`python negtool.py -m raw -f <inputfile> -d <absolute path to corenlp>`

## Convert the CoNLL output to JSON ##

`python convert_CoNLL_2_JSON.py <CoNLL output from negtool> `


## Running the tool with parsed text
To run the tool with a parsed input file, the format of the file needs to be CoNLL_X, with the following information encoded:

Expand All @@ -26,8 +31,6 @@ To run the tool with a parsed input file, the format of the file needs to be CoN
Run the tool with the command

`python negtool.py -m parsed -f <inputfile>`
to convert the CoNLL output to JSON
`python convert_CoNLL_2_JSON.py <CoNLL output from negtool> `

## Output

Expand Down

0 comments on commit bccb0a4

Please sign in to comment.