Skip to content

AttributeError: function 'mitie_extract_entities_with_extractor' not found #187

Open
@uchandr

Description

@uchandr

Hi,
When I try to run ner.py, I get the following error
File "C:\Users\xxxx\rasa_nlu\MITIE\examples\python\ner.py", line 15, in
from mitie import *
File "C:\Users\xxxx\rasa_nlu\MITIE\examples\python\mitielib\mitie.py", line 61, in
f.mitie_extract_entities_with_extractor.restype = ctypes.c_void_p
File "C:\Program Files\Python37\lib\ctypes_init
.py", line 369, in getattr
func = self.getitem(name)
File "C:\Program Files\Python37\lib\ctypes_init_.py", line 374, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'mitie_extract_entities_with_extractor' not found

I see references to mitie_extract_entities_with_extractor in mitie.cpp and mitie.h which are in C:\Users\xxxx\rasa_nlu\MITIE\mitielib\src and C:\Users\xxxx\rasa_nlu\MITIE\mitielib\include

why is it not able to get to the function call?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions