add todo
This commit is contained in:
parent
27f61923be
commit
d360ee9576
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ def detect(char *msg):
|
||||||
return csd_close(csd)
|
return csd_close(csd)
|
||||||
|
|
||||||
def detect_with_confidence(char *msg):
|
def detect_with_confidence(char *msg):
|
||||||
|
# TODO: fix "sometimes, to output invalid confidence value" bug.
|
||||||
cdef csd_t csd = csd_open()
|
cdef csd_t csd = csd_open()
|
||||||
cdef int length = strlen(msg)
|
cdef int length = strlen(msg)
|
||||||
cdef int result = csd_consider(csd, msg, length)
|
cdef int result = csd_consider(csd, msg, length)
|
||||||
|
|
Loading…
Reference in a new issue