Skip to content

Import edu.stanford.nlp.tagger.maxent.MaxentTagger fail #2

@faiyadhs007

Description

@faiyadhs007

Hi,

I am trying to use your function for importing Stanford NLP Speech Tager. The error I get is on the import of the particular file:

Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name:
"edu.stanford.nlp.tagger.maxent.MaxentTagger" fails this test.

What am I using?:

  • MATLAB 2016b (Running on a mac)
  • java version "1.8.0_51"
  • stanford-postagger-full-2016-10-31

What did I do? :

  • Added the stanford-postagger.jar using javaaddpath& verified if it was added using javaclasspath. It's added in a dynamic java path
  • Place PosTaggerM.m in a directory and nglish-left3words-distsim.tagger in the same directory

Is there something I am missing in this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions