| From: sjw28
|
| Basically, I have a code with is almost finished but I've having
| difficultly
| with the last stage of the process. I have a program that gets assigns
| different words with a different value via looking them up in a
| dictionary:
|
| eg if THE is in the writing, it assigns
On 3/10/06, sjw28 <[EMAIL PROTECTED]> wrote:
Basically, I have a code with is almost finished but I've having difficultlywith the last stage of the process. I have a program that gets assignsdifferent words with a different value via looking them up in a dictionary:
eg if THE is in the writing, it
Hi,
> However, I can't seem to get the program to treat the numbers as numbers. If
> I put them in the dictionary as 'THE' = int(0.965) the program returns 1.0
> and if I put 'THE' = float(0.965) it returns 0.9655549 or something
> similar. Neither of these are right! I basically need to acce
Basically, I have a code with is almost finished but I've having difficultly
with the last stage of the process. I have a program that gets assigns
different words with a different value via looking them up in a dictionary:
eg if THE is in the writing, it assigns 0.965
and once the whole passag