ReVerb

From Robert-Depot
(Redirected from Reverb)
Jump to: navigation, search

ReVerb

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

Web search based on Open IE