battre / autocomplete-attribute-explainer

Proposal to extend the autocomplete attribute of the HTML Spec
6 stars 1 forks source link

Add comparison stop words #31

Closed battre closed 1 year ago

battre commented 1 year ago

Formatting can add tokens to a string. E.g. the formatting rule

in-building-location:
- prefix: "Apt. "
- unit
- separator: ", "
- prefix: "Floor "
- floor

adds the strings "Apt. " and "Floor ".

Stop words are tokens that should be ignored when comparing tokens. So the stop words for 'in-building-location' could be defined as

in-building-location: Apt\.|Floor