You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Mohammad Ghufran <em...@gmail.com> on 2014/09/22 10:42:28 UTC

Custom models and Open Calais Engines

Hello,

I am interested in using Stanbol as part of my Research project but I am
having trouble handling languages other than English. I realize that this
list is for development and my questions may not be 100% relevant to
development, but this is the best place I could find to ask for help. I'd
appreciate if someone can guide me a little given that documentation is
quite sparse!

I am primarily interested in doing named entity recognition in multiple
languages (French, and English mostly). For this, I found a model for
french built by someone here:
http://enicolashernandez.blogspot.fr/2012/12/apache-opennlp-fr-models.html
. Models for all the tasks including segmentation, tokenization, POS, and
NER for French can be found here. What I am unable to achieve is to
successfully use these models. From what I gather, all the external models
should be put inside the {install-directory}/stanbol/datafiles directory.
However, when I create a chain with the new components, I get an error that
one of the models was not found (this seems to be arbitrary since all the
models are in the same location but the error doesn't occur for all the
models. For example, sentence segmentation with the french model seems to
work fine but tokenization fails). Could someone please help me with how to
set up models other languages? Inside the opennlp directory, there are
folders for 'lang' and 'ner', what are these for precisely?

Secondly, I also wanted to investigate using OpenCalais enhancement engine.
There is limited documentation about this which says that an API key must
be obtained. However, I don't see any enhancement engine corresponding to
OpenCalais in the OSGi console. Could someone please suggest how I could
proceed with configuring this engine?

I have compiled Apache Stanbol from source.

Best Regards and thanks in advance!
Ghufran

Re: Custom models and Open Calais Engines

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi

On Tue, Sep 23, 2014 at 5:05 PM, Mohammad Ghufran <em...@gmail.com> wrote:
> Hello,
>
> Thank you for your detailed response once again!
>
> On Mon, Sep 22, 2014 at 3:47 PM, Rupert Westenthaler <
> rupert.westenthaler@gmail.com> wrote:
>
>> > So the model is selected behind the scenes based on the language
>> detected?
>>
>> Exactly.
>>
>> Okay, this is great. I didn't see any info in the output as to which
> engine was use. Is there a way to see the output of the different
> enhancement engines such as the POS tagger and the tokenizer etc?

NLP results are not written to the RDF enhancement results as this
would blow up the size of the results. However if you add the
"nlp2rdf" engine to your chain you will get such information. This
engine is not part of the launcher because it was never completely
finished. However for your purpose it should just be fine. The RDF
generated by this engine is based on NIF 1.0 but AFAIK does not fully
comply with the standard.

The engine is under "enhancement-engines/nlp2rdf" in the source tree.
Just install the bundle (as done with the OpenCalais engine).

>
>>
>> If you can not see the OpenCalais engine in this tab it means that you
>> do use an Stanbol Launcher that does not include the engine. In that
>> case you can simple install the required bundle (e.g. by copying the
>> jar to the "stanbol/fileinstall" folder or by installing it via the
>> Bundle tab of the Felix Webconsole.
>>
>> You can find the bundle at
>>
>>
>> enhancement-engines/opencalais/target/org.apache.stanbol.enhancer.engines.opencalais-{version}.jar
>>
>> in your local build. You can also download it from [1] but you will
>> need to rename the file to
>> "org.apache.stanbol.enhancer.engines.opencalais-1.0.0-SNAPSHOT.jar"
>>
>
> Okay, I didn't know that. I was simply using the stable launcher and
> assumed it should be good for this purpose. However, after adding
> OpenCalais with the help of what you described above, and registering an
> API key, I am still not able to run this engine. If i simply add the name
> of the engine in a chain like all the other engines, I get a message
> "opencalais (required, currently not available)".
>
> From the documentation, the only method mentioned to use opencalais is
> through curl like:
> curl -i -X POST -H "Content-Type:text/plain" -T test/cv2.txt
> http://localhost:8080/engines
>
> However, with this approach, I get an error saying that "/engines" is not
> available. Even though I can navigate to http://localhost:8080/engines in
> the browser. Would you have any insights on this?

I have not used this engine since years. So it might es well no longer
work. I tried to replicate your issue, but unfortunately I was not
able to create an OpenCalais key as their service told me that they
will send me the key per mail but I was not receiving any. I tried it
several times over the last few day with no luck. Will try it again in
Monday ...

The "/engines" endpoint is deprecated with the introduction of
Enhancement Chains. In current versions the "/engines" endpoint is
bound to the default Chain (the same as bound to the "/enhancer"
endpoint. The OpenCalais engine was implemented before the
introduction of Enhancement Chains. This is the reason why its README
still refers the "/engines" endpoint.

best
Rupert

>
> Best Regards,
> Ghufran
>
>
>
> Mohammad Ghufran



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/

Re: Custom models and Open Calais Engines

Posted by Mohammad Ghufran <em...@gmail.com>.
​Hello,

Thank you for your detailed response once again!​

On Mon, Sep 22, 2014 at 3:47 PM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> > So the model is selected behind the scenes based on the language
> detected?
>
> Exactly.
>
> ​Okay, this is great. I didn't see any info in the output as to which
engine was use. Is there a way to see the output of the different
enhancement engines such as the POS tagger and the ​tokenizer etc?

>
> If you can not see the OpenCalais engine in this tab it means that you
> do use an Stanbol Launcher that does not include the engine. In that
> case you can simple install the required bundle (e.g. by copying the
> jar to the "stanbol/fileinstall" folder or by installing it via the
> Bundle tab of the Felix Webconsole.
>
> You can find the bundle at
>
>
> enhancement-engines/opencalais/target/org.apache.stanbol.enhancer.engines.opencalais-{version}.jar
>
> in your local build. You can also download it from [1] but you will
> need to rename the file to
> "org.apache.stanbol.enhancer.engines.opencalais-1.0.0-SNAPSHOT.jar"
>

​Okay, I didn't know that. I was simply using the stable launcher and
assumed it should be good for this purpose. However, after adding
OpenCalais with the help of what you described above, and registering an
API key, I am ​still not able to run this engine. If i simply add the name
of the engine in a chain like all the other engines, I get a message
"opencalais (required, currently not available)".

>From the documentation, the only method mentioned to use opencalais is
through curl like:
curl -i -X POST -H "Content-Type:text/plain" -T test/cv2.txt
http://localhost:8080/engines

However, with this approach, I get an error saying that "/engines" is not
available. Even though I can navigate to http://localhost:8080/engines in
the browser. Would you have any insights on this?

Best Regards,
Ghufran



Mohammad Ghufran

Re: Custom models and Open Calais Engines

Posted by Rupert Westenthaler <ru...@gmail.com>.
On Mon, Sep 22, 2014 at 3:15 PM, Mohammad Ghufran <em...@gmail.com> wrote:
> Thank you for the reply again.
>
> On Mon, Sep 22, 2014 at 2:58 PM, Rupert Westenthaler
> <ru...@gmail.com> wrote:
>>
>> If you name your models after the default you can also use the default
>> configurations of the engines.
>
>
>
> So the model is selected behind the scenes based on the language detected?

Exactly.

>
> For OpenCalais, I already tried doing that, but there doesn't seem to be an
> engine available in the config manager. I attach a screenshot of the
> configuration screen with a search for OpenCalais...
>

You can not send attachments to the list. If you want to share the
image you need to upload it somewhere and refer it in the mail.

If you can not see the OpenCalais engine in this tab it means that you
do use an Stanbol Launcher that does not include the engine. In that
case you can simple install the required bundle (e.g. by copying the
jar to the "stanbol/fileinstall" folder or by installing it via the
Bundle tab of the Felix Webconsole.

You can find the bundle at

    enhancement-engines/opencalais/target/org.apache.stanbol.enhancer.engines.opencalais-{version}.jar

in your local build. You can also download it from [1] but you will
need to rename the file to
"org.apache.stanbol.enhancer.engines.opencalais-1.0.0-SNAPSHOT.jar"

best
Rupert

[1] http://repository.apache.org/content/groups/snapshots/org/apache/stanbol/org.apache.stanbol.enhancer.engines.opencalais/1.0.0-SNAPSHOT/org.apache.stanbol.enhancer.engines.opencalais-1.0.0-20140910.162422-53.jar

> Thanks!
> Mohammad Ghufran



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/

Re: Custom models and Open Calais Engines

Posted by Mohammad Ghufran <em...@gmail.com>.
​Thank you for the reply again.​

On Mon, Sep 22, 2014 at 2:58 PM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> If you name your models after the default you can also use the default
> configurations of the engines.
>
​​


​So the model is selected behind the scenes based on the language detected?

​For OpenCalais, I already tried doing that, but there doesn't seem to be
an engine available in the config manager. I attach a screenshot of the
configuration screen with a search for OpenCalais...

​Thanks!
Mohammad Ghufran

Re: Custom models and Open Calais Engines

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi,

If you name your models after the default you can also use the default
configurations of the engines.

On Mon, Sep 22, 2014 at 12:35 PM, Mohammad Ghufran <em...@gmail.com> wrote:
> (OpenNlpTokenizerEngine | name=custom-opennlp-token-fr)!

and

> I have configured an instance of Open Nlp Tokenizer with the following
> settings (which are the only things I can configure):
> name: custom-opennlp-token-fr
> language configuration: fr;model={fr-token.bin}

you need to configure

    fr;model=fr-token.bin

without the brackets

But as "fr-token.bin" is anyway the default just remove the line altogether.

>
> Am I doing it wrong? Also, any idea about the Open Calais engines?
>

If you use the full launcher ... do the following

* open http://localhost:8080/system/console/configMgr
* search for "OpenCalais" and click the edit button on the right side
* add your license information
* click OK and you should have an opencalais engine available


best
Rupert


> Thanks again!
> Ghufran
>
>
> On Mon, Sep 22, 2014 at 11:21 AM, Rupert Westenthaler <
> rupert.westenthaler@gmail.com> wrote:
>
>> Hi Ghufran,
>>
>>
>> On Mon, Sep 22, 2014 at 10:42 AM, Mohammad Ghufran <em...@gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I am interested in using Stanbol as part of my Research project but I am
>> > having trouble handling languages other than English. I realize that this
>> > list is for development and my questions may not be 100% relevant to
>> > development, but this is the best place I could find to ask for help. I'd
>> > appreciate if someone can guide me a little given that documentation is
>> > quite sparse!
>> >
>> > I am primarily interested in doing named entity recognition in multiple
>> > languages (French, and English mostly). For this, I found a model for
>> > french built by someone here:
>> >
>> http://enicolashernandez.blogspot.fr/2012/12/apache-opennlp-fr-models.html
>> > . Models for all the tasks including segmentation, tokenization, POS, and
>> > NER for French can be found here. What I am unable to achieve is to
>> > successfully use these models. From what I gather, all the external
>> models
>> > should be put inside the {install-directory}/stanbol/datafiles directory.
>>
>> Thats correct. If you copy the models in this directory they can be
>> found by Stanbol.
>>
>> However the OpenNLP modules do use specific name patterns for model
>> files. So make sure that your custom models do follow such name
>> schemes:
>>
>> * Sentence: {lang}-sent.bin (e.g. "fr-sent-bin")
>> * Token: {lang}-token.bin (e.g. "fr-token.bin")
>> * Pos: {lang}-pos-perceptron.bin or {lang}-pos-maxent.bin depending on
>> if you use a perceptron or maxent model (e.g."fr-pos-maxent.bin")
>> * Chunker: {lang}-chunker.bin (e.g. "fr-chunker.bin")
>> * Namefinder: {lang}-ner-{type}.bin. The default types are
>>     * person (e.g. "fr-ner-person.bin")
>>     * location (e.g. "fr-ner-location.bin")
>>     * organization (e.g. "fr-ner-organization.bin")
>>     * for other types see
>>
>> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpcustomner
>>
>> You can use models with other names, but in this case you will need to
>> add explicit configurations with the used names to the engines using
>> those. If you want to opt for this please note the documentation of
>> the engines.
>>
>> * Sentence Detection:
>>
>> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpsentence
>> * Tokenization:
>>
>> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlptokenizer
>> * Pos Tagging:
>> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlppos
>> * Chunking:
>> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpchunker
>>
>> all those engines do allow to configure processed languages. Via the
>> `model` parameter of a language you can set the name of the model file
>> (located in the `stanbol/datafile/` folder)
>>
>> Hope this solves you issue
>> best
>> Rupert
>>
>> > However, when I create a chain with the new components, I get an error
>> that
>> > one of the models was not found (this seems to be arbitrary since all the
>> > models are in the same location but the error doesn't occur for all the
>> > models. For example, sentence segmentation with the french model seems to
>> > work fine but tokenization fails). Could someone please help me with how
>> to
>> > set up models other languages? Inside the opennlp directory, there are
>> > folders for 'lang' and 'ner', what are these for precisely?
>> >
>> > Secondly, I also wanted to investigate using OpenCalais enhancement
>> engine.
>> > There is limited documentation about this which says that an API key must
>> > be obtained. However, I don't see any enhancement engine corresponding to
>> > OpenCalais in the OSGi console. Could someone please suggest how I could
>> > proceed with configuring this engine?
>> >
>> > I have compiled Apache Stanbol from source.
>> >
>> > Best Regards and thanks in advance!
>> > Ghufran
>>
>>
>>
>> --
>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                              ++43-699-11108907
>> | A-5500 Bischofshofen
>> | REDLINK.CO
>> ..........................................................................
>> | http://redlink.co/
>>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/

Re: Custom models and Open Calais Engines

Posted by Mohammad Ghufran <em...@gmail.com>.
Hello Rupert,

Thank you for the prompt and informative response. I already am following
the convention you mentioned. I have a model by the name fr-token.bin which
seems to be the problem. Stack trace from the error.log below:
​​
22.09.2014 03:26:32.858 *INFO* [qtp1377963382-31]
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl Error
Message: Enhancement Chain failed because of required Engine
'custom-opennlp-token-fr' failed with Message: Unable to process
ContentItem
'<urn:content-item-sha1-3e41fd4b970d08ee316a95a5b5746e2812acf2c8>' with
Enhancement Engine 'custom-opennlp-token-fr' because the engine was unable
to process the content (Engine class:
org.apache.stanbol.enhancer.engines.opennlp.token.impl.OpenNlpTokenizerEngine)(Reason:
The configured OpenNLP TokenizerModel '{fr-token.bin} is not available'
(OpenNlpTokenizerEngine | name=custom-opennlp-token-fr)!)!
22.09.2014 03:26:32.858 *INFO* [qtp1377963382-31]
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
Reported Exception:
org.apache.stanbol.enhancer.servicesapi.EngineException: The configured
OpenNLP TokenizerModel '{fr-token.bin} is not available'
(OpenNlpTokenizerEngine | name=custom-opennlp-token-fr)!
at
org.apache.stanbol.enhancer.engines.opennlp.token.impl.OpenNlpTokenizerEngine.getTokenizer(OpenNlpTokenizerEngine.java:259)
at
org.apache.stanbol.enhancer.engines.opennlp.token.impl.OpenNlpTokenizerEngine.canEnhance(OpenNlpTokenizerEngine.java:154)
at
org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.processEvent(EnhancementJobHandler.java:250)
at
org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.handleEvent(EnhancementJobHandler.java:197)
at
org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:412)
at
org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:118)
at
org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:132)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:744)

I have configured an instance of Open Nlp Tokenizer with the following
settings (which are the only things I can configure):
name: custom-opennlp-token-fr
language configuration: fr;model={fr-token.bin}

Then, I have configured a custom chain with the following engines:
tika;optional
langdetect
custom-opennlp-sentence-fr (this is setup exactly as the tokenizer above)
custom-opennlp-token-fr
custom-opennlp-pos-fr
custom-opennlp-ner-fr

Am I doing it wrong? Also, any idea about the Open Calais engines?

​Thanks again!
Ghufran


On Mon, Sep 22, 2014 at 11:21 AM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> Hi Ghufran,
>
>
> On Mon, Sep 22, 2014 at 10:42 AM, Mohammad Ghufran <em...@gmail.com>
> wrote:
> > Hello,
> >
> > I am interested in using Stanbol as part of my Research project but I am
> > having trouble handling languages other than English. I realize that this
> > list is for development and my questions may not be 100% relevant to
> > development, but this is the best place I could find to ask for help. I'd
> > appreciate if someone can guide me a little given that documentation is
> > quite sparse!
> >
> > I am primarily interested in doing named entity recognition in multiple
> > languages (French, and English mostly). For this, I found a model for
> > french built by someone here:
> >
> http://enicolashernandez.blogspot.fr/2012/12/apache-opennlp-fr-models.html
> > . Models for all the tasks including segmentation, tokenization, POS, and
> > NER for French can be found here. What I am unable to achieve is to
> > successfully use these models. From what I gather, all the external
> models
> > should be put inside the {install-directory}/stanbol/datafiles directory.
>
> Thats correct. If you copy the models in this directory they can be
> found by Stanbol.
>
> However the OpenNLP modules do use specific name patterns for model
> files. So make sure that your custom models do follow such name
> schemes:
>
> * Sentence: {lang}-sent.bin (e.g. "fr-sent-bin")
> * Token: {lang}-token.bin (e.g. "fr-token.bin")
> * Pos: {lang}-pos-perceptron.bin or {lang}-pos-maxent.bin depending on
> if you use a perceptron or maxent model (e.g."fr-pos-maxent.bin")
> * Chunker: {lang}-chunker.bin (e.g. "fr-chunker.bin")
> * Namefinder: {lang}-ner-{type}.bin. The default types are
>     * person (e.g. "fr-ner-person.bin")
>     * location (e.g. "fr-ner-location.bin")
>     * organization (e.g. "fr-ner-organization.bin")
>     * for other types see
>
> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpcustomner
>
> You can use models with other names, but in this case you will need to
> add explicit configurations with the used names to the engines using
> those. If you want to opt for this please note the documentation of
> the engines.
>
> * Sentence Detection:
>
> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpsentence
> * Tokenization:
>
> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlptokenizer
> * Pos Tagging:
> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlppos
> * Chunking:
> http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpchunker
>
> all those engines do allow to configure processed languages. Via the
> `model` parameter of a language you can set the name of the model file
> (located in the `stanbol/datafile/` folder)
>
> Hope this solves you issue
> best
> Rupert
>
> > However, when I create a chain with the new components, I get an error
> that
> > one of the models was not found (this seems to be arbitrary since all the
> > models are in the same location but the error doesn't occur for all the
> > models. For example, sentence segmentation with the french model seems to
> > work fine but tokenization fails). Could someone please help me with how
> to
> > set up models other languages? Inside the opennlp directory, there are
> > folders for 'lang' and 'ner', what are these for precisely?
> >
> > Secondly, I also wanted to investigate using OpenCalais enhancement
> engine.
> > There is limited documentation about this which says that an API key must
> > be obtained. However, I don't see any enhancement engine corresponding to
> > OpenCalais in the OSGi console. Could someone please suggest how I could
> > proceed with configuring this engine?
> >
> > I have compiled Apache Stanbol from source.
> >
> > Best Regards and thanks in advance!
> > Ghufran
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                              ++43-699-11108907
> | A-5500 Bischofshofen
> | REDLINK.CO
> ..........................................................................
> | http://redlink.co/
>

Re: Custom models and Open Calais Engines

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Ghufran,


On Mon, Sep 22, 2014 at 10:42 AM, Mohammad Ghufran <em...@gmail.com> wrote:
> Hello,
>
> I am interested in using Stanbol as part of my Research project but I am
> having trouble handling languages other than English. I realize that this
> list is for development and my questions may not be 100% relevant to
> development, but this is the best place I could find to ask for help. I'd
> appreciate if someone can guide me a little given that documentation is
> quite sparse!
>
> I am primarily interested in doing named entity recognition in multiple
> languages (French, and English mostly). For this, I found a model for
> french built by someone here:
> http://enicolashernandez.blogspot.fr/2012/12/apache-opennlp-fr-models.html
> . Models for all the tasks including segmentation, tokenization, POS, and
> NER for French can be found here. What I am unable to achieve is to
> successfully use these models. From what I gather, all the external models
> should be put inside the {install-directory}/stanbol/datafiles directory.

Thats correct. If you copy the models in this directory they can be
found by Stanbol.

However the OpenNLP modules do use specific name patterns for model
files. So make sure that your custom models do follow such name
schemes:

* Sentence: {lang}-sent.bin (e.g. "fr-sent-bin")
* Token: {lang}-token.bin (e.g. "fr-token.bin")
* Pos: {lang}-pos-perceptron.bin or {lang}-pos-maxent.bin depending on
if you use a perceptron or maxent model (e.g."fr-pos-maxent.bin")
* Chunker: {lang}-chunker.bin (e.g. "fr-chunker.bin")
* Namefinder: {lang}-ner-{type}.bin. The default types are
    * person (e.g. "fr-ner-person.bin")
    * location (e.g. "fr-ner-location.bin")
    * organization (e.g. "fr-ner-organization.bin")
    * for other types see
http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpcustomner

You can use models with other names, but in this case you will need to
add explicit configurations with the used names to the engines using
those. If you want to opt for this please note the documentation of
the engines.

* Sentence Detection:
http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpsentence
* Tokenization:
http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlptokenizer
* Pos Tagging: http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlppos
* Chunking: http://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpchunker

all those engines do allow to configure processed languages. Via the
`model` parameter of a language you can set the name of the model file
(located in the `stanbol/datafile/` folder)

Hope this solves you issue
best
Rupert

> However, when I create a chain with the new components, I get an error that
> one of the models was not found (this seems to be arbitrary since all the
> models are in the same location but the error doesn't occur for all the
> models. For example, sentence segmentation with the french model seems to
> work fine but tokenization fails). Could someone please help me with how to
> set up models other languages? Inside the opennlp directory, there are
> folders for 'lang' and 'ner', what are these for precisely?
>
> Secondly, I also wanted to investigate using OpenCalais enhancement engine.
> There is limited documentation about this which says that an API key must
> be obtained. However, I don't see any enhancement engine corresponding to
> OpenCalais in the OSGi console. Could someone please suggest how I could
> proceed with configuring this engine?
>
> I have compiled Apache Stanbol from source.
>
> Best Regards and thanks in advance!
> Ghufran



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/