Difference between revisions of "ReVerb"

From Robert-Depot
Jump to: navigation, search
Line 1: Line 1:
 
*Reverb github page: https://github.com/knowitall/reverb-core
 
*Reverb github page: https://github.com/knowitall/reverb-core
 
*Reverb jar (on github page)
 
*Reverb jar (on github page)
*<code>reverb</code> shell script
+
*<code>reverb</code> shell script:
 
<pre>
 
<pre>
 
#!/bin/sh
 
#!/bin/sh
Line 9: Line 9:
  
 
*Usage:
 
*Usage:
**<code>echo "Bananas are an excellent source of potassium." |      ./reverb -q |'\t' '\n' | cat -n</code>
+
<pre>echo "Bananas are an excellent source of potassium." |      ./reverb -q |'\t' '\n' | cat -n</pre>
**<code>echo "Robert is a very intelligent artist." |      ./reverb -q | tr '\t' '\n' | cat -n</code>
+
<pre>echo "Robert is a very intelligent artist." |      ./reverb -q | tr '\t' '\n' | cat -n</pre>
**<code>echo "Bananas are very intelligent." |      ./reverb -q | tr '\t' '\n' | cat -n</code>
+
<pre>echo "Bananas are very intelligent." |      ./reverb -q | tr '\t' '\n' | cat -n</pre>

Revision as of 11:39, 26 September 2012

#!/bin/sh
cd `dirname "$0"`
java -Xmx512m -jar reverb-latest.jar $1
  • Usage:
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