where i can find this module

2006-08-03 Thread enas khalil
hello first i want to subscribe on this list   i have a question , i run a script which uses module as follows import sysimport agimport reimport getoptimport codecsimport timeimport os     but got the error :   ImportError: No module named ag   so where can i obtain this module thank

What is the difference

2005-12-07 Thread enas khalil
hello   i want to know what the iterator type differs from  list type also if youplease advice me a tutorial on how to use Unicode and different string methods as encode ,decode   thanks Yahoo! Personals Single? There's someone we'd like you to meet. Lots of someones, actually. Yahoo! P

TypeError: unsubscriptable object

2005-11-29 Thread enas khalil
when i run this script to make a training of some text and so can use condfreqdistributions to guess text in test , my code isas follows: from nltk.probability import ConditionalFreqDistfrom nltk.tokenizer import WhitespaceTokenizerfrom nltk.tagger import *token1 = []train_tokens = []cfdist=Co

TypeError: unsubscriptable object

2005-11-28 Thread enas khalil
when i run this script to make a training of some text and so can use condfreqdistributions to guess text in test , my code isas follows: from nltk.probability import ConditionalFreqDistfrom nltk.tokenizer import WhitespaceTokenizerfrom nltk.tagger import *token1 = []train_tokens = []cfdist=Condit

need a tutorial in tokens ,different types

2005-11-20 Thread enas khalil
hello all could any one suggest me tutorials in different tokenizations and clear describtion of how can i use token type and assign diff attributes to tokens  ,also good tutorials in diff data types in python thanks every body enas Yahoo! FareChase - Search multiple travel sites in one clic

need help in how to make my script read arabic lang

2005-11-20 Thread enas khalil
hello , i want to know if yu please how can i use python code in tagging arabic text file my code is as follow : # -*- coding: cp1256 -*-import codecsfrom nltk.tagger import *from nltk.corpus import brownfrom nltk.tokenizer import WhitespaceTokenizerfrom nltk import *from nltk.tokenreader.tagge

how to convert between type string and token

2005-11-14 Thread enas khalil
hello all when i run the code : # -*- coding: cp1256 -*-from nltk.tagger import *from nltk.corpus import brownfrom nltk.tokenizer import WhitespaceTokenizer # Tokenize ten texts from the Brown Corpustrain_tokens = []xx=Token(TEXT=open('fataha2.txt').read())WhitespaceTokenizer().tokenize(xx)f

IOError: brown is not installed

2005-10-13 Thread enas khalil
hello , when i run this code for unigramtagger :   from nltk.tagger import *from nltk.corpus import brown    # Tokenize ten texts from the Brown Corpustrain_tokens = []for item in brown.items()[:10]:    train_tokens.append(brown.read(item))    # Initialise and train a unigram taggermytagger = Unigr

another error in tagging program

2005-10-12 Thread enas khalil
hello all i have run  the following code :# the taggerI interfacefrom nltk.tagger import *from nltk.tokenizer import WhitespaceTokenizerfrom nltk.tokenizer import *from nltk.token import * # Using UnigramTagger##Before aUnigramTagger can be used to tag data ,it must be trained on training corpus,#

Where is the error

2005-10-11 Thread enas khalil
hello, when i run the following code to Read and tokenize data from a tagged text as follows : from nltk.corpus import brownfrom nltk.tagger import TaggedTokenizerfrom nltk.tokenizer import *tagged_txt_str=open('corpus.txt' ).read()tagged_txt_token=Token(TEXT=tagged_txt_str)TaggedTokenizer.token

ImportError: No module named numarray

2005-07-11 Thread enas khalil
when i write a code to import some module like the following :     from nltk.probability import ConditionalFreqDist   I got the error :   Traceback (most recent call last):  File "C:\Python24\toky.py", line 1, in -toplevel-    from nltk.probability import ConditionalFreqDist  File "C:\Python24\L

ImportError: No module named numarray

2005-07-09 Thread enas khalil
dear all could you tell me how can i fix this error appears when i try to import modules from nltk as follows   from nltk.probability import  ConditionalFreqDist Traceback (most recent call last):  File "", line 1, in -toplevel-    from nltk.probability import  ConditionalFreqDist  File "C:\Python

if you please i want a help in running a nltk modules

2005-06-30 Thread enas khalil
if you please i want a help im a beginner in using python i want to know how can i run a GUI module i installed python on windows platform thanks [EMAIL PROTECTED] wrote: Send Python-list mailing list submissions topython-list@python.orgTo subscribe or unsubscribe via the World Wide Web, visitht

Help - im a beinner in using python

2005-06-27 Thread enas khalil
dear all could you if you please tell me how can i start learning python im reading on tutorial and i have  questions about: - how can i adjust the environmental variable on windows platform  -where should i put the NLTK data to be accessible by python -how can i use TKinter in python