Roger Oberholtzer <[email protected]> writes:

> On Mon, 2009-09-14 at 12:26 -0500, David Huang wrote:
>> 
>> On Sep 14, 2009, at 11:52 AM, Roger Oberholtzer wrote:
>> 
>> > For the purpose of tags, whitespace should be extended (surely not a
>> > complete list) to include '":;.,()[]{}!?
>> >
>> > I know of no words that contain these characters. Sentences and  
>> > phrases,
>> > yes. Words, no. And tags refer to words, not sentences or phrases.
>> 
>> Perhaps, but where have you configured TagsPlugin to get its tags  
>> from? By default, tags come from the ticket's "keywords" field;  
>> assuming you've left it at the default, the question is why are you  
>> putting punctuation in the keywords field if you don't want them in  
>> the tags. If you're not using the default setting, the question is if  
>> the field you're getting the tags from is really the right place.
>
> I get the tags from the summary and the keywords. This is reasonable.

Only if you can safely assume a single language for all your tickets.
That may be true for your case but it certainly isn't for mine.
We run several trac instances with mixed Japanese/English tickets.

> If this is a problem for the plugin, then it should limit itself to the
> rarefied world of tags. Since it allows ticket fields in general to be
> used, it should then deal with punctuation.

What qualifies as punctuation in Japanese?  In any other language?  Can
the plugin make assumptions as to what language a ticket summary is in,
in general?  Can it do so when it knows the ticket's character encoding?

Not necessarily saying it is a problem for the plugin, but it is most
certainly not trivial to ignore punctuation.

For that matter, splitting on whitespace sucks when you use Japanese
(which normally doesn't use whitespace).  Splitting should be done on
word boundaries.  Hopefully 0.12 will address at least some of these
issues for non-POSIX locales.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS Corporation
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to