Re: Public beta 6 for WebCatalog 4.0 is now available
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32725
interpreted = N
texte = I'll is a good example that I hadn't thought of; the others are weakerbecause it is unlikely you would ever want to capitalize all words in asentence, just the initial word. I do think it is less than useful, butof course I can build my own version using [grep].John PeacockMichael Winston wrote:> > >I just checked and the [capitalize] context is still too sensitive to> >the apostrophe embedded in the string. For example:> > [EXAMPLE DELETED]> > >If the> >parser performed a lookahead and only capitalized after an apostrophe> >when the second character after is a letter, not whitespace.> > What about word's like they're and I'll or if a multiple> possession ends a sentence (giving you ...the three boys'. New> sentence.)? Ideally, there would be a built in list of words that> are parsed properly, but I imagine that the internal code to account> for that would be a far cry from what it is now.> > But I agree, there should be some extra parsing. Maybe options added> to the [CAPITALIZE] tag ([CAPITALIZE posessive=t&contractions=t]). I> don't know exactly how the options would work, but possessive could> just ignore any apostrophes with an s after it, contractions would> look for 'll, etc. It's not a perfect scheme because it ignore> words like don't and can't, but it's a start.> > Michael> > #############################################################> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to #############################################################This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to
Associated Messages, from the most recent to the oldest:
I'll is a good example that I hadn't thought of; the others are weakerbecause it is unlikely you would ever want to capitalize all words in asentence, just the initial word. I do think it is less than useful, butof course I can build my own version using [grep].John PeacockMichael Winston wrote:> > >I just checked and the [capitalize] context is still too sensitive to> >the apostrophe embedded in the string. For example:> > [EXAMPLE DELETED]> > >If the> >parser performed a lookahead and only capitalized after an apostrophe> >when the second character after is a letter, not whitespace.> > What about word's like they're and I'll or if a multiple> possession ends a sentence (giving you ...the three boys'. New> sentence.)? Ideally, there would be a built in list of words that> are parsed properly, but I imagine that the internal code to account> for that would be a far cry from what it is now.> > But I agree, there should be some extra parsing. Maybe options added> to the [capitalize] tag ([CAPITALIZE posessive=t&contractions=t]). I> don't know exactly how the options would work, but possessive could> just ignore any apostrophes with an s after it, contractions would> look for 'll, etc. It's not a perfect scheme because it ignore> words like don't and can't, but it's a start.> > Michael> > #############################################################> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to #############################################################This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Help with (2003)
Concerning Emailer under Linux... does it exist? (2000)
catagories (1997)
hyperlinking unique input strings on the fly when displayingin HTML (2000)
What am I doing wrong? (2000)
Can you do this??? and other stuff (1997)
[WebDNA] [OT] - One Man. One Road. (2010)
Re:E-Mailer (WebCatb15acgiMac) (1997)
[tcpsend] (2001)
What happens to an include when a template gets encrypted? (2005)
WC1.6 to WC2 date formatting (1997)
[WriteFile] problems (1997)
Re2: Calculating multiple shipping... (1997)
EMailer - WebSTAR V - OSX - WebDNA (2003)
Emailer file formats (1998)
Nice package (1998)
Upgrading old WebCat Database Files (1997)
Emailer connect failure definitions (2003)
[OT] Read and weep (2003)
Fw: Webcat followup question (1999)