HF RL Explorer

HTML Entity Unescaping in Python 3

HTML Entity Unescaping in Python 3: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python 3 script that unescapes HTML entities in strings. HTML entities are special character sequences used in HTML to represent characters that have special meaning or cannot be easily typed…

The task

You need to write a Python 3 script that unescapes HTML entities in strings. HTML entities are special character sequences used in HTML to represent characters that have special meaning or cannot be easily typed. Your task is to convert these encoded entities back to their original characters.

Part of PrimeIntellect/Terminal-Lego-15k.