HF RL Explorer

Task: Efficiently Replace All Accented Characters in a String

Task: Efficiently Replace All Accented Characters in a String: a task in Terminal-Lego-15k (Harbor dataset). Implement a JavaScript function that efficiently replaces all accented characters in a string with their non-accented equivalents. This is commonly needed for implementing "poor man's…

The task

Implement a JavaScript function that efficiently replaces all accented characters in a string with their non-accented equivalents. This is commonly needed for implementing "poor man's collation-correct sorting" on the client side.

Part of PrimeIntellect/Terminal-Lego-15k.