On 24/01/2014 8:05 PM, theguy wrote:
I have a science project that involves designing a program which can examine a
bit of text with the author's name given, then figure out who the author is if
another piece of example text without the name is given.
This sounds like exactly the sort of thin
On Saturday, January 25, 2014 8:12:20 PM UTC+5:30, Dennis Lee Bieber wrote:
>
> Heck, at the very least turn all those _99 variables into single
> lists The posted code looks like something from 1968 K&K BASIC.
Yes thats correct.
My suggestion of data-files is a second step.
A fir
On Fri, 24 Jan 2014 20:58:50 -0800, theguy wrote:
> I know. I'm kind of ashamed of the code, but it does the job I need it
> to up to a certain point
OK, well first of all take a step back and look at the problem.
You have n exemplars, each from a known author.
You analyse each exemplar, and de
theguy wrote:
If I could get it to actually
calculate the "points" for AUTHOR_SCOREBOARD properly, then all my problems
would be solved.
Have you tried getting it to print out the values
it's getting for the scores, and comparing them
with what you calculate by hand?
--
Greg
--
https://mail.py
theguy wrote:
I so far have
three different authors in the program and have already put in the example
text but for some reason, the program always leans toward one specific
author, Suzanne Collins, no matter what insane number I try to put in or how
much I tinker with the coding.
It's obvious
kvxde...@gmail.com Wrote in message:
> Alright. I have the code here. Now, I just want to note that the code was not
> designed to work "quickly" or be very well-written. It was rushed, as I only
> had a few days to finish the work, and by the time I wrote the program, I
> hadn't worked with Py
On Friday, January 24, 2014 7:06:55 PM UTC-8, Rustom Mody wrote:
> On Saturday, January 25, 2014 8:12:41 AM UTC+5:30, kvxd...@gmail.com wrote:
>
> > Alright. I have the code here. Now, I just want to note that the code was
> > not designed to work "quickly" or be very well-written. It was rushed,
On Saturday, January 25, 2014 8:12:41 AM UTC+5:30, kvxd...@gmail.com wrote:
> Alright. I have the code here. Now, I just want to note that the code was not
> designed to work "quickly" or be very well-written. It was rushed, as I only
> had a few days to finish the work, and by the time I wrote t
Alright. I have the code here. Now, I just want to note that the code was not
designed to work "quickly" or be very well-written. It was rushed, as I only
had a few days to finish the work, and by the time I wrote the program, I
hadn't worked with Python (which I never had TOO much experience wi
In article ,
Ben Finney wrote:
> bob gailer writes:
>
> > On 1/24/2014 5:05 AM, theguy wrote:
> > > I would post the code, but I don't know if it's fine to put it here,
> > > as it contains pieces from books. I do believe that would go against
> > > copyright laws.
>
> > AFAIK copyright laws
On 1/24/2014 7:34 PM, Chris Angelico wrote:
On Sat, Jan 25, 2014 at 10:38 AM, bob gailer wrote:
On 1/24/2014 5:05 AM, theguy wrote:
I have a science project that involves designing a program which can
examine a bit of text with the author's name given, then figure out who the
author is if ano
bob gailer writes:
> On 1/24/2014 5:05 AM, theguy wrote:
> > I would post the code, but I don't know if it's fine to put it here,
> > as it contains pieces from books. I do believe that would go against
> > copyright laws.
> AFAIK copyright laws apply to reproducing something for profit.
That's
On Sat, Jan 25, 2014 at 10:38 AM, bob gailer wrote:
> On 1/24/2014 5:05 AM, theguy wrote:
>>
>> I have a science project that involves designing a program which can
>> examine a bit of text with the author's name given, then figure out who the
>> author is if another piece of example text without
On 1/24/2014 5:05 AM, theguy wrote:
I have a science project that involves designing a program which can examine a
bit of text with the author's name given, then figure out who the author is if
another piece of example text without the name is given. I so far have three
different authors in th
theguy wrote:
> I have a science project that involves designing a program which can
> examine a bit of text with the author's name given, then figure out who
> the author is if another piece of example text without the name is given.
> I so far have three different authors in the program and have
I have a science project that involves designing a program which can examine a
bit of text with the author's name given, then figure out who the author is if
another piece of example text without the name is given. I so far have three
different authors in the program and have already put in the
16 matches
Mail list logo