0

Text Cleaning: Emojis

Unsolved
Data Wrangling
NLP

Difficulty: 2 | Problem written by vivek
Text preprocessing is an important task in NLP. There are multiple ways of cleaning text before processing. 

Write a function that will remove any emojis present in the input text. The output will be clean text without any icons or emojis. 

Sample Input:
<class 'list'>
text: Hi πŸ˜‚! Have a nice weekend πŸ’•πŸ‘­

Expected Output:
<class 'str'>
Hi ! Have a nice weekend

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Ut provident quos alias dolore nesciunt, distinctio eaque earum culpa fuga nemo pariatur, quisquam est asperiores repellendus dolorem quia assumenda tempora iste eveniet aliquam?

Enim reiciendis quidem porro perspiciatis ullam laborum? Deserunt tempore velit doloribus magnam rerum sint id ratione in harum minus, saepe provident consectetur quaerat, dolore magnam voluptatem molestiae ad itaque cumque. Adipisci nemo eius tenetur sit impedit officiis aperiam excepturi, quis excepturi exercitationem? Consequatur quasi suscipit iusto a, consectetur veniam ex quidem dicta assumenda, delectus mollitia sequi fugit dolor dignissimos hic, nulla perspiciatis velit neque amet iste tempore cupiditate vel, eveniet accusantium quidem aut molestias sunt sapiente.

Incidunt nesciunt voluptate repudiandae fugit corrupti, perspiciatis obcaecati ab.

This is a premium feature.
To access this and other such features, click on upgrade below.

Ready.

Input Test Case

Please enter only one test case at a time
numpy has been already imported as np (import numpy as np)