Welcome Guest, Not a member yet? Register   Sign In
What is the use of word_is_countable() function in codeigniter

I am new to php frameworks and am studying codeigniter. While going through the code of the helper functions, I found the word_is_countable($word) function in inflector_helper.php under helpers.

The function is given in the bottom half here:

The function seems to be pretty straightforward but seems to just check for a few words. If it checks for so few words, then how can we expect it to be robust and fulfill the needs of a dynamic application which might need to search for any word in the dictionary.

As such, I wished to know the reason for including this function in the framework. I am sorry if this sounds like a novice question. Thanks.

Also, I am a student with a commerce degree and have been able to teach myself coding from the front end to core php/nodejs/mysql and frameworks till now. I can make simple crud applications and applications with simple functionality in codeigniter. I will be grateful if experienced members of this forum could suggest what I should do next in order to become employable in this field. Thank you. 

Theme © iAndrew 2016 - Forum software by © MyBB