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 2014/05/23 10:05:09 UTC

svn commit: r1597026 - /stanbol/site/trunk/content/docs/trunk/components/enhancer/enhancementproperties.mdtext

Author: rwesten
Date: Fri May 23 08:05:09 2014
New Revision: 1597026

URL: http://svn.apache.org/r1597026
Log:
STANBOL-488, STANBOL-336, STANBOL-1223, STANBOL-1165: improvements, corrections and clarifications

Modified:
    stanbol/site/trunk/content/docs/trunk/components/enhancer/enhancementproperties.mdtext

Modified: stanbol/site/trunk/content/docs/trunk/components/enhancer/enhancementproperties.mdtext
URL: http://svn.apache.org/viewvc/stanbol/site/trunk/content/docs/trunk/components/enhancer/enhancementproperties.mdtext?rev=1597026&r1=1597025&r2=1597026&view=diff
==============================================================================
--- stanbol/site/trunk/content/docs/trunk/components/enhancer/enhancementproperties.mdtext (original)
+++ stanbol/site/trunk/content/docs/trunk/components/enhancer/enhancementproperties.mdtext Fri May 23 08:05:09 2014
@@ -111,7 +111,22 @@ All EnhancementProperties configured wit
 `ep:ExecutionPlan` instance while _chain and engine_ scoped properties are added to the
 `ep:ExecutionNode` of the according engine.
 
-With version `2.*` of the enhancer it will be possible to directly parse/refer an ExecutionPlan as RDF graph. This will also allow to manage/configure _chain_ scoped enhancement properties in RDF.
+The following figure shows an example of Enhancement Properties configured for a [WeightedChain](chains/weightedchain).
+
+![WeightedChain including some Enhancement Properties](chains/enhancer-weightedchain-enhprop-config.png)
+
+The figure shows that for the `dbpedia-fst` engine the maximum number of suggestions are set to `10`. Also the minimum confidence value is set to `0.8`. For the `dbpedia-dereference` engine the dereferenced languages are set to English, German and Spanish. Finally a _chain_ scoped property is used to set the maximum number of suggestions for the whole chain to `5`. However this has no effect for the `dbpedia-fst` engine as its custom configuration will override this chain wide property.
+
+The following listing shows the exact same configuration in the `.cfg` format.
+
+    stanbol.enhancer.chain.name="dbpedia-linking"
+    stanbol.enhancer.chain.weighted.chain=["tika;optional","opennlp-sentence","opennlp-token","opennlp-pos","opennlp-chunker",
+        "dbpedia-fst;\ enhancer.max-suggestions\=10;\ enhancer.min-confidence\=0.8",
+        "dbpedia-dereference;\ enhancer.engines.dereference.languages\=en,de,es"]
+    stanbol.enhancer.chain.chainproperties=["enhancer.max-suggestions\=5"]
+
+
+_NOTE:_ With version `2.*` of the enhancer it will be possible to directly parse/refer an ExecutionPlan as RDF graph. This will also allow to manage/configure _chain_ scoped enhancement properties in RDF.
 
 Definition of Request scoped Enhancement Properties
 ---------------------------------------------------