UAlbertaALTLab / korp-config

0 stars 0 forks source link

spaces in extended search fields #3

Closed fbanados closed 1 month ago

fbanados commented 1 month ago

Since CWB annoyingly cannot deal with spaces and slashes, search for complex glosses can become cumbersome.

The extended search fields should automatically deal with this case and escape the characters so that search works.

For documentation (and consistency in future corpora), we will use the   HTML entity to represent a whitespace, and the / entity for a forward slash.

fbanados commented 1 month ago

Currently deployed fix works in korp.altlab.dev

Screenshot 2024-09-20 at 3 24 32 PM

fbanados commented 1 month ago

@aarppe

aarppe commented 1 month ago

Very useful improvement. It is worthwhile that the special characters end up in the Advanced Search window, since those are current needed - though the ideal solution would be able to deal with spaces (and slashes) as is.