Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
desilinguist committed Jul 28, 2013
1 parent 46a3972 commit 2bc57cc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,15 @@ Once these files are ready, paraphrase rule files can be created as follows:

Using ParaQuery
---------------

Once the gzipped paraphrase file has been generated, it can be easily converted to the SQLite database from inside ParaQuery:

- Run `paraquery` (the launching script provided)
- At the resulting prompt, run the following command which will create a `.paradb` file in the current directory:
`index final-para-grammar-sorted.gz`
- If a `.paradb` file in the current directory, `paraquery` will automatically attach it and output a message when starting up. Otherwise, the path to the `.paradb` file must be provided as an argument.

Once you have a database loaded up, you can use the following commands to explore and examine the paraphrases:

- `show` : query database for paraphrase pairs with specific properties, e.g., to get all paraphrases with a probability score less than 0.1 for the word "man", use the query
`show source = "man" and prob < 0.1`.
- `examine`: show results as with the `show` command but also explain why each result exists by showing what pivots were used to generate it.
- `analyze`: analyze paraphrases rules in terms of how useful they for a given text from a given domain.

The following [paper](http://desilinguist.org/pdf/demo2013.pdf) explains and illustrates the commands in detail.
Once you have a database loaded up, you can use all the commands that ParaQuery supports. Please read the detailed [user manual](https://github.com/desilinguist/paraquery/blob/master/manual.md) for a detailed explanation of how to use ParaQuery.

Acknowledgments
-----
Expand Down

0 comments on commit 2bc57cc

Please sign in to comment.