THULAC-Python
THULAC-Python copied to clipboard
segement tag, not available for python 3.8
when I try thulac.cut($sentence), error jump out:
tmp, tagged = self.__tagging_decoder.segmentTag(raw, __poc_cands)
start = time.clock()
AttributeError: module 'time' has no attribute 'clock'
it turns out that function time.clock() has been removed in python 3.8, after it's deprecated, python 3.3 provide time.perf_counter() a time.process_time() instead.
+1
+1
+1
The same issue
The same issue +1
+1
The same issue
+1