NLTK:这个过程有一个术语吗?

NLTK: Is there a term for this procedure?

我读了一些关于 NLTK 的东西,我读到了一些将“you're”之类的词变成两个标记“you”和“are”的过程。我不记得来源了。有这个或什么的术语吗?

pip 安装收缩

# import library
import contractions
# contracted text
text = '''I'll be there within 5 min. Shouldn't you be there too?
          I'd love to see u there my dear. It's awesome to meet new friends.
          We've been waiting for this day for so long.'''
 
# creating an empty list
expanded_words = []   
for word in text.split():
  # using contractions.fix to expand the shortened words
  expanded_words.append(contractions.fix(word))  
   
expanded_text = ' '.join(expanded_words)
print('Original text: ' + text)
print('Expanded_text: ' + expanded_text)

the source