Yii Framework Forum: CGrammar - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CGrammar Generate natural, grammatically correct text Rate Topic: -----

#1 User is offline   Alex Muir 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 96
  • Joined: 25-April 09

Posted 01 July 2010 - 04:55 PM

This is a discussion for the CGrammar extension

This extension is a simple helper class which I use to make sure text generated by my application is natural.

Plurals - no need to put bracket(s) after your word(s).
Lists - produce a nice, simple and clean list from an array.
Vowels - Words beginning with a vowel are prefixed with a/an.
My sites: The Big Eat and The Big Space
0

#2 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,016
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 02 July 2010 - 03:39 AM

Thanks for your contribution. :)

Since it's a new extension, maybe you could still fix a little issue: "C" is actually preserved for framework classes. "E" might be a good alternative. Now is still time, before millions of users of your extension have to update their code... ;)

And yes, there are more extensions, breaking this rule. But that's not excuse to not improve the situation...
0

#3 User is offline   Alex Muir 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 96
  • Joined: 25-April 09

Posted 02 July 2010 - 09:27 AM

Thanks Mike, I've updated the files and docs. Can't change the name of the extension now sadly.
My sites: The Big Eat and The Big Space
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users