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

关于为什么在处理数据时将( 替换成-LRB- #9

Open
hzy312 opened this issue Mar 6, 2022 · 0 comments
Open

关于为什么在处理数据时将( 替换成-LRB- #9

hzy312 opened this issue Mar 6, 2022 · 0 comments

Comments

@hzy312
Copy link

hzy312 commented Mar 6, 2022

def change(char):
if "(" in char:
char = char.replace("(", "-LRB-")
if ")" in char:
char = char.replace(")", "-RRB-")
return char

这个是为什么呢,有什么说法吗,在Stanfordnlp上没扒到

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

1 participant