How to account for punctuation?

talatnat - October 6, 2009 - 11:23
Project:Glossary
Version:6.x-1.6
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

If I use the word-type match, then a word like carbon. (end of sentence) or carbon, (comma punctuation) or carbon" (quotes) does not get recognized. If I use any of the other match options, then there are issues with matching phrases, such as " carbon sink " or " carbon tax ", when there are multiple words starting with the same beginning word (carbon), quite common in glossaries. A left-string match does not work here. Using the any-string match option gets you matches like hydrocarbon (where it recognizes carbon), again not ideal.

It would help to have an option to ignore punctuation: basically single and double quotes, and parentheses at the left string, and periods, commas, colons, semicolons, parentheses on the right string. We could then match phrases on word match.

I don't know if this is a support request (if there is already an answer, I couldn't find it), a bug report, or a feature request...

 
 

Drupal is a registered trademark of Dries Buytaert.