!pip install keyphrasetransformer
from keyphrasetransformer import KeyPhraseTransformer
kp = KeyPhraseTransformer()
doc = """
I enjoy learning
Learning is a joyful thing!
I enjoy learning computer knowledge
😊 Computers are really fun! What kind of computer knowledge do you want to learn? 💻
I like eating lunch,but i don not like eating dinner.
"""
kp.get_key_phrases(doc)