] Where is the error
hello,
when i run the following code to Read and tokenize data from a tagged text as
follows :
from nltk.corpus import brown
from nltk.tagger import TaggedTokenizer
from nltk.tokenizer import *
tagged_txt_str=open('corpus.txt' ).read()
tagged_txt_token=
What version of NLTK are you using? From a look at the API docs,
nltk.tagger.TaggedTokenizer seems to have been removed in v1.4.
Kent
enas khalil wrote:
> hello,
>
>
> when i run the following code to Read and tokenize data from a
> tagged text as follows :
>
>
>
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