Open dmavroeidis opened 11 years ago
The reason for these extra spaces is a generic “prettify” function for pre-defined values.
Other bad examples are these:
The problem is, however, that there are many more cases where it makes sense to add whitespaces around dashes:
In some cases it might make sense to change the pre-defined values in the XML Schema to get rid of the dashes:
I think I can easily add some restrictions to this method to avoid this behaviour. The following criteria would -at least- catch the problematic values we have spotted so far and leave the rest untouched:
@dmavroeidis Sounds good to me as a first improvement. Note however, that this will likely also affect our nightly tests.
For instance, in a textngram resource "5-gram" appears as "5 - gram".