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

How to obtain text POS tagging? #127

Open
CHDTevior opened this issue Mar 20, 2024 · 1 comment
Open

How to obtain text POS tagging? #127

CHDTevior opened this issue Mar 20, 2024 · 1 comment

Comments

@CHDTevior
Copy link

Hello, your work is great. I would like to ask, how do you obtain the dictionary tags in the text in your dataset? Is there any tool? I have some other motion datasets, and I want to process their text into humanml3D text format.

@CHDTevior CHDTevior changed the title How to obtain text labels? How to obtain text POS tagging? Mar 20, 2024
@chenzhike110
Copy link

use scapy

import spacy
nlp = spacy.load("en_core_web_sm")
caption = [x.text+'/'+x.pos_ for x in nlp(${your text description})]

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

2 participants