Example/Documentation/Guides for using spaCy cython classes and structs #9427
-
Can someone point to any examples or documentation for getting started with using classes and structs mentioned in the Cython section of the documentation.. I am new to using Cython and should probably read more about it but wanted to implement something quickly and hence need some guidance. What I have tried:
Pycharm complains on the last line but
Do I need to setup something more in order to get started with this? If so, link to an example or guide will be really appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Issue mentioned above was solved. The spaCy directory was not included in the Follow up question would be if spaCy some method to return directory where to locate the header files similar to Still looking for examples/guides for using spaCy cython classes and structs ;) Especially those that have some iterations over doc tokens and sentence spans. |
Beta Was this translation helpful? Give feedback.
Issue mentioned above was solved. The spaCy directory was not included in the
include_dirs
param of theExtension
in mysetup.py
.Follow up question would be if spaCy some method to return directory where to locate the header files similar to
numpy.get_include()
Still looking for examples/guides for using spaCy cython classes and structs ;) Especially those that have some iterations over doc tokens and sentence spans.