Hi Martin,

If you use the OpenNLP API itself, you can load a model file and loop through 
its
outcomes to see the tags. Here a few lines of code from the DKPro Core
OpenNlpTagsetDescriptionProvider class:

        for (int i = 0; i < model.getNumOutcomes(); i++) {
            String tag = model.getOutcome(i);
            if (tagSplitPattern != null) {
                tag = tag.split(tagSplitPattern)[0];
            }
            tagSet.add(tag);
        }

But since I know you just might happen to be using DKPro Core and might be
using OpenNLP through it:

Set PARAM_PRINT_TAGSET to print the tagset ;) Or fetch the info from the 
TagsetDescription feature structures DKPro Core stores in the CAS.

Cheers,

-- Richard

On 01.09.2015, at 18:56, Martin Wunderlich <martin...@gmx.net> wrote:

> Hi all, 
> 
> Quick question: I was wondering of which kind the default POS tag set is? Is 
> it the Penn Treebank set or a different one or maybe even a custom OpenNLP 
> set? I haven’t been able to find this information in the Wiki or the 
> documentation. 
> Thanks a lot. 
> 
> Cheers, 
> 
> Martin

Reply via email to