Hi John,

NLP processing results are available by the AnalyzedText content part.
The documentation [1] does provide examples on how to get this content
part and how to work with the NLP results.

Using the AnalyzedText API has the advantage, that

* you do not directly depend on Open NLP. You can also use other NLP
frameworks integrated with Apache Stanbol [2]
* POS tags and chunk types are already mapped to the OLIA ontology
(Enumerations in the Java API). So if your code is e.g. only
interested in nouns and verbs you can write it in an language
independent way.

best
Rupert

[1] http://stanbol.apache.org/docs/trunk/components/enhancer/nlp/analyzedtext
[2] 
http://stanbol.apache.org/docs/trunk/components/enhancer/nlp/#integrated-nlp-frameworks

On Wed, Apr 8, 2015 at 10:07 AM,  <john.2.crowt...@bt.com> wrote:
> Hello all,
>
> I would like to use Stanbol to count n-grams on some text. I imagine I need 
> to use the open NLP package, does anyone have a guide or some pointers to get 
> me started?
>
> Regards,
>
> John Crowther
> Graduate Researcher
> Research and Innovation | BT TSO



-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO 
..........................................................................
| http://redlink.co/
  • n-grams john.2.crowther
    • Re: n-grams Rupert Westenthaler

Reply via email to