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:
Custom Shipping Charges (1997)
OT: Typhoon (1998)
Pref settings? (1998)
[index] (1997)
Can't Update records (1997)
DON'T use old cart file! (1997)
Search with Special Chars (1997)
Requiring that certain fields be completed (1997)
IBM DB2 (2000)
[WebDNA] TCPconnect and Bitcoin rate (2017)
Editor (2000)
Banners and sort of random display (1997)
How is it done? (1998)
[addlineitems] display (1997)
Help! WebCat2 bug (1997)
addlineitem mystery (2003)
PCS Emailer's role ? (1997)
Temp DB (Was freeze) (2003)
[WebDNA] Greetings to all (2016)
Sorting problem (2002)