Created
May 26, 2010 02:22
-
-
Save indigoviolet/413970 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cimport stdlib | |
| cdef extern from "link-includes.h": | |
| pass | |
| cdef extern from "api-structures.h": | |
| ctypedef struct Parse_Options_s: | |
| pass | |
| ctypedef struct Dictionary_s: | |
| pass | |
| ctypedef Parse_Options_s* Parse_Options_s | |
| ctypedef Dictionary_s* Dictionary | |
| cdef extern from "api.h": | |
| Dictionary dictionary_create(char* dict_name, char* pp_name, char* cons_name, char* affix_name) | |
| int dictionary_delete(Dictionary d) | |
| def foo(): | |
| cdef Dictionary = dictionary_create("4.0.dict", "4.0.knowledge", "4.0.constituent-knowledge", "4.0.affix") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment