singularize() corrupts words that end in double 's'
singularize() corrupts words that end in double 's': a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). The singularize() function in boltons.strutils incorrectly strips the trailing 's' from words that already end in 'ss' and are already singular. For example:
The task
The `singularize()` function in `boltons.strutils` incorrectly strips the trailing `'s'` from words that already end in `'ss'` and are already singular. For example:
Part of FineEnvs/repo2rlenv-r2e-gym.