Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segement tag, not available for python 3.8 #111

Open
martin2lgsb opened this issue Jul 22, 2021 · 8 comments
Open

segement tag, not available for python 3.8 #111

martin2lgsb opened this issue Jul 22, 2021 · 8 comments

Comments

@martin2lgsb
Copy link

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.

@nzy1998
Copy link

nzy1998 commented Sep 28, 2021

+1

2 similar comments
@Pydataman
Copy link

+1

@Vicky-Meng
Copy link

+1

@vikia
Copy link

vikia commented Nov 21, 2021

The same issue

@LuoRongLuoRong
Copy link

The same issue +1

@mianzhang
Copy link

+1

@jinghan23
Copy link

The same issue

@IvanaXu
Copy link

IvanaXu commented Sep 25, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants