roxen.lists.pike.general
Subject | Author | Date |
---|---|---|
Re: Pike function for choosing proper article for a word (a or an) ? | Martin Stjernholm <mast[at]lysator[dot]liu[dot]se> | 21-09-2009 |
Threshold <<mlist[at]thresholdrpg.com>> wrote: > Is there a default Pike function for choosing the proper article for > a word (a or an)? I'm pretty sure there isn't. Afaik the natural language tools are pretty much limited to this one: > String.implode_nicely(({"a", "b", "c"})); (2) Result: "a, b and c" > String.implode_nicely(({"a", "b", "c"}), "or"); (3) Result: "a, b or c" |