CodeProject challenges
-
I'm not after spell-ckecking - every decent browser already has that. I've after spell fixing. But really, not even spelling: just punctuation and stuff. Light touch to make a big difference.
cheers Chris Maunder
Chris Maunder wrote:
I'm not after spell-ckecking
Obviously :rolleyes:
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
} -
I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?
cheers Chris Maunder
So "gimme code plz" will be auto-corrected to "Give me code please"? That will be an improvement :rolleyes: Seriously though, I wonder how much can really be corrected? Such a library has to be very 'smart' to fix some of the stuff I read on CP (luckily there's more good than bad though!). If someone doesn't value grammar can they form correct sentences? im sure this sentence couldve been fixed. but this sentense may it can be fixed, srry for my bad english?
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
} -
Is it just me or is this just a semi-respectable way of getting us to do your work? ;P "Gee Huck, Gee Becky... whitewashing this fence sure is fun!"
Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington
Mike Mullikin wrote:
Is it just me or is this just a semi-respectable way of getting us to do your work?
:laugh:
Jeremy Falcon
-
I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?
cheers Chris Maunder
I'm not going to make a full submission; but want to suggest that anyone serious about it be sure to implement this family of fixes (only one example given because I'm a slacker):
str.replace("I have got", "I've <b>GOTTEN</b>");
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?
cheers Chris Maunder
-
Definitely
cheers Chris Maunder
<FlagellatingTheExpiredEquine> The must be an off switch, and it must stay off. Spelling checkers are an abomination, and grammar checkers are worse. For every case where they find I've made an error, they come up with 100's of false positives to annoy me. While the grammar checker in Microsoft Word (for example) can be tailored, it takes too much work for far too little result. Bitch at me about dangling participles (bad habit1) and passive voice (bad habit2), and STFU. I won't have an impudent piece of shit software telling me how to express myself. </FlagellatingTheExpiredEquine>
Software Zen:
delete this;
-
MacSpudster wrote:
Oh, and of your phrase "yeah, that means you lot," it doesn't work.
It's technically correct and perfect grammar when speaking Australian.
cheers Chris Maunder
Oh great. We're going to have Mick arbitrate grammar rules, I just know it. All of us stupid "Mercans" are fucked.
Software Zen:
delete this;
-
I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?
cheers Chris Maunder
But who will determine which version is correct? Some Brits and convicts, or people who write and speak English? ;)
Will Rogers never met me.
-
The grammar Nazi in me would make it a three-strike rule. And if you write "urgentz", the account gets suspended for a day. :-p
If you write "urgentz", we nuke your house from orbit. It's the only way to be sure.
Software Zen:
delete this;
-
But who will determine which version is correct? Some Brits and convicts, or people who write and speak English? ;)
Will Rogers never met me.
-
If it were easy it wouldn't be a challenge.
cheers Chris Maunder
There's a bit of a killer crevasse between "challenge" and "life's work". Human languages are just too damned complicated to handle with a computer without, at the very least, a several-year-old backprop routine. You just can't treat correcting English like correcting a humongously simpler computer language. Lookit: With a good writer: -- If your amendment is correct/appropriate, his response will be "Thanks!", because no-one understands snow-blindness better than an experienced writer. -- If your amendment is incorrect/inappropriate, he probably won't say anything, but he'll take his work elsewhere, next time. With a poor writer: -- If your amendment is correct/appropriate, you'll at best get a "humph!" in reply. -- If your amendment is incorrect/inappropriate, it'll escalate to a screaming fit before you can type a greengrocers' apostrophe. Here be monsters, eh? The easiest person to turn into an enemy is the one who's not entirely sure what he's doing.
I wanna be a eunuchs developer! Pass me a bread knife!
-
I'm not after spell-ckecking - every decent browser already has that. I've after spell fixing. But really, not even spelling: just punctuation and stuff. Light touch to make a big difference.
cheers Chris Maunder
Ah, you forgot the number one annoyance, "This is better then that." I assume it's when English is the third language...
-
Oh great. We're going to have Mick arbitrate grammar rules, I just know it. All of us stupid "Mercans" are fucked.
Software Zen:
delete this;
Gary R. Wheeler wrote:
Oh great. We're going to have Mick arbitrate grammar rules, I just know it. All of us stupid "Mercans" are f***ed.
Absolutely spot on.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
But who will determine which version is correct? Some Brits and convicts, or people who write and speak English? ;)
Will Rogers never met me.
Roger Wright wrote:
...or people who write and speak English? ;)
So that is all of North America fucked then
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?
cheers Chris Maunder
-
Is it just me or is this just a semi-respectable way of getting us to do your work? ;P "Gee Huck, Gee Becky... whitewashing this fence sure is fun!"
Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington
Let's just remove the "semi-respectable" and be done with it, eh?
cheers Chris Maunder
-
Chris Maunder wrote:
I'm not after spell-ckecking
Obviously :rolleyes:
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}Oh, you get a 5 for that :D
cheers Chris Maunder
-
So "gimme code plz" will be auto-corrected to "Give me code please"? That will be an improvement :rolleyes: Seriously though, I wonder how much can really be corrected? Such a library has to be very 'smart' to fix some of the stuff I read on CP (luckily there's more good than bad though!). If someone doesn't value grammar can they form correct sentences? im sure this sentence couldve been fixed. but this sentense may it can be fixed, srry for my bad english?
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}I was thinking we start simple. "i have a problem. can someone help me?" goes to "I have a problem. Can someone help me?". We then look to see common issues and do some simple stuff. cant => can't, Sql => SQL. Treading softly. Keeping it simple.
cheers Chris Maunder
-
I'm not going to make a full submission; but want to suggest that anyone serious about it be sure to implement this family of fixes (only one example given because I'm a slacker):
str.replace("I have got", "I've <b>GOTTEN</b>");
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
May the wrath of Bob descend on thee.
cheers Chris Maunder
-
I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?
cheers Chris Maunder
Why JavaScript? Are you wanting to plug it into this text editor we type in? I did a quick search and such libraries already exist, though they probably don't get into punctuation. English punctuation is complex and sometimes inconsistent, coming up with the logic would be tougher than the programming. Think about how you would design an algorithm to determine whether or not "its" or "it's" is correct in a given sentence, you're probably going to need to build trees of sentence diagrams and I got enough of that in the fifth grade. Plural possessives are even worse, and speaking of plurals you're in a world of hurt with things like "attorneys general." I'll consider it but I'm not sure I'm up for that. Can't you just find some desperate English major to "intern" and proof everything for free leftover pizza?