Difference between revisions of "ReVerb"
From Robert-Depot
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | * | + | = ReVerb = |
− | * | + | *homepage http://reverb.cs.washington.edu/ |
− | *<code>reverb</code> shell script | + | *github page: https://github.com/knowitall/reverb-core |
− | < | + | *jar (on github page) |
− | + | = Usage = | |
+ | *<code>reverb</code> shell script: | ||
+ | <pre> | ||
#!/bin/sh | #!/bin/sh | ||
cd `dirname "$0"` | cd `dirname "$0"` | ||
java -Xmx512m -jar reverb-latest.jar $1 | java -Xmx512m -jar reverb-latest.jar $1 | ||
+ | </pre> | ||
− | + | *examples: | |
− | + | <pre>echo "Bananas are an excellent source of potassium." | ./reverb -q |'\t' '\n' | cat -n</pre> | |
− | * | + | <pre>echo "Robert is a very intelligent artist." | ./reverb -q | tr '\t' '\n' | cat -n</pre> |
− | + | <pre>echo "Bananas are very intelligent." | ./reverb -q | tr '\t' '\n' | cat -n</pre> | |
− | + | *processing all sentences in a text file: | |
− | + | <pre>/reverb ~/script/script.txt</pre> | |
+ | = Web search based on Open IE = | ||
+ | * http://openie.cs.washington.edu/ |
Latest revision as of 11:49, 26 September 2012
ReVerb
- homepage http://reverb.cs.washington.edu/
- github page: https://github.com/knowitall/reverb-core
- jar (on github page)
Usage
reverb
shell script:
#!/bin/sh cd `dirname "$0"` java -Xmx512m -jar reverb-latest.jar $1
- examples:
echo "Bananas are an excellent source of potassium." | ./reverb -q |'\t' '\n' | cat -n
echo "Robert is a very intelligent artist." | ./reverb -q | tr '\t' '\n' | cat -n
echo "Bananas are very intelligent." | ./reverb -q | tr '\t' '\n' | cat -n
- processing all sentences in a text file:
/reverb ~/script/script.txt