You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2013/06/20 08:40:39 UTC

svn commit: r1494870 - /stanbol/trunk/entityhub/indexing/freebase/README.md

Author: rwesten
Date: Thu Jun 20 06:40:38 2013
New Revision: 1494870

URL: http://svn.apache.org/r1494870
Log:
STANBOL-1014: corrected the error in the command used to run the freebase indexing tool (thx to Dileepa Jayakody for reporting). Also added a version of the grep command used by the entity ranking shell script that does work on Ubuntus GNU grep implementation.

Modified:
    stanbol/trunk/entityhub/indexing/freebase/README.md

Modified: stanbol/trunk/entityhub/indexing/freebase/README.md
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/freebase/README.md?rev=1494870&r1=1494869&r2=1494870&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/freebase/README.md (original)
+++ stanbol/trunk/entityhub/indexing/freebase/README.md Thu Jun 20 06:40:38 2013
@@ -53,7 +53,7 @@ will be located.
 
 The indexing itself can be started by
 
-    java -jar -Xmx32g org.apache.stanbol.entityhub.indexing.dbpedia-*.jar index
+    java -jar -Xmx32g org.apache.stanbol.entityhub.indexing.freebase-*.jar index
 
 but before doing this please note the points (2) ... (5)
 
@@ -96,6 +96,10 @@ freebase knowledge base by calling 
         | uniq -c  \
         | sort -nr -S $MAX_SORT_MEM > $INCOMING_FILE
 
+NOTE: Ubuntu requires a different syntax for grep e.g.
+
+    grep $'^ns:m\..*\t.*\tns:m\.'
+
 See also the [fbranking.sh] script in the same directory. The $INCOMING_FILE
 needs to be copied to 'indexing/resource/incoming_lings.txt'.