Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / [DBC] Pluraliser!

Author
Message
Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 1st Nov 2007 22:55
Is it possible to have a comprehensive pluraliser for all words in the English language?
Or is it just too screwed up?
please comment any interesting pluralisations and I'll try to add them in.
I don't think my method is very good, it doesn't work for mouse because you'd have to check all the way back to m! I can't think of any other words that end in "se" that aren't pluralised to "ses"



"You must be someone's friend to make comments about them." - MySpace lied.
gbark
13
Years of Service
User Offline
Joined: 14th Oct 2005
Location: US - Virginia
Posted: 2nd Nov 2007 00:07
It might be possible to come up with a function to pluralize every word, but I'd imagine it would be kinda hard to set up all the rules in just 20 lines.

Mouse, as you said, is a weird case, but there are other weird words as well, like "Goose - Geese" or even "Fish - Fish"... You'd almost have to have a list of basic rules for most words, but have a seperate list for all the weird words that don't seem to follow any of the rules.
Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 2nd Nov 2007 06:49
ahh screw it. you pay peanuts; you get monkies (subtle joke there )
well at least i've got vertices, matrices and virii covered

"You must be someone's friend to make comments about them." - MySpace lied.
pcRaider
12
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 2nd Nov 2007 13:18
aluseus GOD
12
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 3rd Nov 2007 20:53
words edning with um turn into ending with a.
words ending with us turn into ending with i.
words ending with s turn into ending with ses.
wierd words have their own rules.
Every other word ends with s.

examples:
datum-> data
cat-> cats
radius-> radii

etc.

www.alus.com go there. You will NOT regret it. Hopefully. Piggys.
n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 14th Nov 2007 22:57
...The plural of Virus is Viruses. Not Virii.

n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 15th Nov 2007 22:56
Quote: "
Hehe, it is... for noobs who like leet speak. Hackers tended to use virii as the plural form as well, back in the good old days."

Hahahahah!

Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 16th Nov 2007 04:19
It turns out n008 is right!
some people think it is "virii" because that's the Latin way of pluralising ("radius" -> "radii"), but that doesn't work as it would have to be "virius" to begin with.
It's viruses

"You must be someone's friend to make comments about them." - MySpace lied.
aluseus GOD
12
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 16th Nov 2007 04:31
did you look this up obese, because im 99.9% sure virus pluralised is virii. actually viri.
radi+us -> radi+i -> radii
vir+us -> vir+i -> viri

alus.portbb.com go there.
[quote]A book. I hate books. book is stupid. I know that I need codes but I dont know the codes.[/quote} -zenicanin14 the stupidest user in the world.
Benjamin
16
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 16th Nov 2007 05:03
Quote: "The form virii would not have been a correct plural, since the ending -ii only occurs in the plural of masculine and feminine words ending in -ius. For instance, take radius, plural radii: the root is radi-, with the singular ending -us and the plural -i. Thus the plural virii is that of the nonexistent word virius. The form viri would also be incorrect in Latin. The ending -i is normally used for masculine or feminine nouns, not neuter ones such as virus; moreover, viri (albeit with a short i in the first syllable) is the plural of vir, and means "men.""


From Wikipedia: http://en.wikipedia.org/wiki/Plural_of_virus

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
aluseus GOD
12
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 16th Nov 2007 05:18
wikipedia! (gets holy water and burns)

alus.portbb.com go there.
[quote]A book. I hate books. book is stupid. I know that I need codes but I dont know the codes.[/quote} -zenicanin14 the stupidest user in the world.
Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 17th Nov 2007 16:36
I think this can be locked now

"You must be someone's friend to make comments about them." - MySpace lied.
n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 17th Nov 2007 17:03
Why does it need to be locked? I think this program's pretty cool, maybe someone could come fix up the rules to make it more accurate? I can't, though. I am in the middle of my own project .

Insert Name Here
12
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 19th Nov 2007 22:22
By your code,
Random--->Rands
Frog----->Frgs
Apopoleptic---->Apoplepts


Sudoku arts, the rabi and Nancy DrewG
Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 20th Nov 2007 00:18
Really?
I've disowned it anyway

"You must be someone's friend to make comments about them." - MySpace lied.
n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 20th Nov 2007 01:15
Apopoleptic <-- Is this some kind of version of Epileptic?

Insert Name Here
12
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 22nd Nov 2007 20:47
It means
RARGH!!!!!!!!!!!DHSFGHDFHDFHDH!!!!

Basically immense frustration/anger.


Sudoku arts, the rabi and Nancy DrewG
n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 23rd Nov 2007 00:44
Oh, well then his pluralizer is right, because you don't pluralize verbs .

aluseus GOD
12
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 23rd Nov 2007 23:59
@WindowsKiller
1. Yes, I don't trust wikipedia. Sue me.
2. Viruses comes up so often because that is the way most people think you have to spell it.
3. I suppose virus is one of those words that has a normal plural, but people used a different plural for so long, it became completely integrated and official.

alus.portbb.com go there.
Quote: A book. I hate books. book is stupid. I know that I need codes but I dont know the codes -zenicanin14 the stupidest user in the world
n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 24th Nov 2007 05:53 Edited at: 24th Nov 2007 05:54
No, not at all. If you had read the article you would have found why Virus is never pluralised in that way.

Insert Name Here
12
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 24th Nov 2007 16:26
Quote: "Oh, well then his pluralizer is right, because you don't pluralize verbs "

Apopoleptic is an abjective...


Sudoku arts, the rabi and Nancy DrewG
n008
12
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 24th Nov 2007 17:01 Edited at: 24th Nov 2007 17:02
Nevermind

Insert Name Here
12
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 28th Nov 2007 21:50
I am aware...
I wasn't arguing that you can't pluralise it, I was arguing that it's not a verb.


Sudoku arts, the rabi and Nancy DrewG
RPDan
12
Years of Service
User Offline
Joined: 29th Apr 2007
Location:
Posted: 29th Nov 2007 17:55
Has anyone talked about programming at all since post 4?
Blobby 101
13
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 9th Jan 2008 19:31
no offence but every single word i typed in came out wrong.


thanks to deathead for the sig! please Click on it!
Libervurto
13
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 12th Jan 2008 03:24
Quote: "no offence but every single word i typed in came out wrong."

umm yeah that's because its about 30 lines long, the english language is very complicated.
I gave up on this a long time ago
Quote: "I've disowned it anyway "


sinisterstuf
12
Years of Service
User Offline
Joined: 28th Mar 2007
Location: Namibia, Southern Africa
Posted: 23rd Jan 2008 15:01
and you can't pluralise adjectives either

Login to post a reply

Server time is: 2019-08-19 15:11:46
Your offset time is: 2019-08-19 15:11:46