HumanML3D icon indicating copy to clipboard operation
HumanML3D copied to clipboard

How to obtain text POS tagging?

Open CHDTevior opened this issue 11 months ago • 1 comments

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 avatar Mar 20 '24 11:03 CHDTevior

use scapy

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

chenzhike110 avatar Mar 27 '24 08:03 chenzhike110