Add new GREL function to normalize characters #6608
Labels
grel
The default expression language, GREL, could be improved in many ways!
Type: Feature Request
Identifies requests for new features or enhancements. These involve proposing new improvements.
It would be easier if OpenRefine allows searching for words with diacritical marks or extended western characters.
For example, if I have the name
Björn Borg
in a data set, if you try to useText filter
and writeBjorn Borg
, you won't get any results.Proposed solution
Transform the cells value to its normalization. This could happen by providing a new builtin GREL function, perhaps called
normalize()
, that do the following :For example:
"gödel".normalize()
->godel
"Villazón".normalize()
->Villazon
Alternatives considered
Installing Jython 2.7 + unidecode library (like here)
Additional context
Look at the
normalize()
function inFingerprintKeyer
class hereThe text was updated successfully, but these errors were encountered: