{"action":"opened","issue":{"url":"https://api.github.com/repos/nltk/nltk/issues/1135","labels_url":"https://api.github.com/repos/nltk/nltk/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/nltk/nltk/issues/1135/comments","events_url":"https://api.github.com/repos/nltk/nltk/issues/1135/events","html_url":"https://github.com/nltk/nltk/issues/1135","id":107062093,"number":1135,"title":"Python 3.5: from nltk.books import *     |    Attribute Error: parsed_pattern.pattern.groups = 1","user":{"login":"Zenohm","id":13170615,"avatar_url":"https://avatars.githubusercontent.com/u/13170615?v=3","gravatar_id":"","url":"https://api.github.com/users/Zenohm","html_url":"https://github.com/Zenohm","followers_url":"https://api.github.com/users/Zenohm/followers","following_url":"https://api.github.com/users/Zenohm/following{/other_user}","gists_url":"https://api.github.com/users/Zenohm/gists{/gist_id}","starred_url":"https://api.github.com/users/Zenohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zenohm/subscriptions","organizations_url":"https://api.github.com/users/Zenohm/orgs","repos_url":"https://api.github.com/users/Zenohm/repos","events_url":"https://api.github.com/users/Zenohm/events{/privacy}","received_events_url":"https://api.github.com/users/Zenohm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T19:57:45Z","updated_at":"2015-09-17T19:57:45Z","closed_at":null,"body":"    >>> from nltk.book import *\r\n    *** Introductory Examples for the NLTK Book ***\r\n    Loading text1, ..., text9 and sent1, ..., sent9\r\n    Type the name of the text or sentence to view it.\r\n    Type: 'texts()' or 'sents()' to list the materials.\r\n    Traceback (most recent call last):\r\n      File \"<stdin>\", line 1, in <module>\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\book.py\", line 19, in <module>\r\n        text1 = Text(gutenberg.words('melville-moby_dick.txt'))\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\text.py\", line 295, in __init__\r\n        tokens = list(tokens)\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\corpus\\reader\\util.py\", line 233, in __len__\r\n        for tok in self.iterate_from(self._toknum[-1]): pass\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\corpus\\reader\\util.py\", line 291, in iterate_from\r\n        tokens = self.read_block(self._stream)\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\corpus\\reader\\plaintext.py\", line 117, in _read_word_block\r\n        words.extend(self._word_tokenizer.tokenize(stream.readline()))\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\tokenize\\regexp.py\", line 126, in tokenize\r\n        self._check_regexp()\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\tokenize\\regexp.py\", line 121, in _check_regexp\r\n        self._regexp = compile_regexp_to_noncapturing(self._pattern, self._flags)\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\internals.py\", line 56, in compile_regexp_to_noncapturing\r\n        return sre_compile.compile(convert_regexp_to_noncapturing_parsed(sre_parse.parse(pattern)), flags=flags)\r\n      File \"C:\\Users\\Isaac\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\site-packages\\nltk\\internals.py\", line 52, in convert_regexp_to_noncapturing_parsed\r\n        parsed_pattern.pattern.groups = 1\r\n    AttributeError: can't set attribute"}}