class_docstr: Tokenizer for tweets.
  
      >>> from nltk.tokenize import TweetTokenizer
      >>> tknzr = TweetTokenizer()
      >>> s0 = "This is a cooool #dummysmiley: :-) :-P <3 and some arrows < > -> <--"
      >>> tknzr.tokenize(s0) # doctest: +NORMALIZE_WHITESPACE
      ['This', 'is', 'a', 'cooool', '#dummysmiley', ':', ':-)', ':-P', '<3', 'and', 'some', 'arrows', '<', '>', '->',
       '<--']
  
  Examples using `strip_handles` and `reduce_len parameters`:
  
      >>> tknzr = TweetTokenizer(strip_handles=True, reduce_len=True)
      >>> s1 = '@remy: This is waaaaayyyy too much for you!!!!!!'
      >>> tknzr.tokenize(s1)
      [':', 'This', 'is', 'waaayyy', 'too', 'much', 'for', 'you', '!', '!', '!']
class_docstr_tok: ["Tokenizer","for","tweets",".",">",">",">","from","nltk.tokenize","import","TweetTokenizer",">",">",">","tknzr","=","TweetTokenizer","(",")",">",">",">","s0","=","``","This","is","a","cooool","#","dummysmiley",":",":","-",")",":","-P","<","3","and","some","arrows","<",">","-",">","<","--","''",">",">",">","tknzr.tokenize","(","s0",")","#","doctest",":","+NORMALIZE_WHITESPACE","[","'This","'",",","'is","'",",","'","a","'",",","'cooool","'",",","'","#","dummysmiley","'",",","'",":","'",",","'",":","-",")","'",",","'",":","-P","'",",","'","<","3","'",",","'and","'",",","'some","'",",","'arrows","'",",","'","<","'",",","'",">","'",",","'-",">","'",",","'","<","--","'","]","Examples","using","`","strip_handles","`","and","`","reduce_len","parameters","`",":",">",">",">","tknzr","=","TweetTokenizer","(","strip_handles=True",",","reduce_len=True",")",">",">",">","s1","=","'","@","remy",":","This","is","waaaaayyyy","too","much","for","you","!","!","!","!","!","!","'",">",">",">","tknzr.tokenize","(","s1",")","[","'",":","'",",","'This","'",",","'is","'",",","'waaayyy","'",",","'too","'",",","'much","'",",","'for","'",",","'you","'",",","'","!","'",",","'","!","'",",","'","!","'","]"]
docstr: Core TweetTokenizer regex
docstr_tok: ["Core","TweetTokenizer","regex"]
code: def WORD_RE(self) -> "regex.Pattern":
      """Core TweetTokenizer regex"""
      # Compiles the regex for this and all future instantiations of TweetTokenizer.
      if not type(self)._WORD_RE:
          type(self)._WORD_RE = regex.compile(
              f"({'|'.join(REGEXPS)})",
              regex.VERBOSE | regex.I | regex.UNICODE,
          )
      return type(self)._WORD_RE
  
file_path: nltk/nltk/tokenize/casual.py
imports: import html
  from typing import List
  import regex
  from nltk.tokenize.api import TokenizerI
label_desc: Use image node_id 3 for calling the TweetTokenizer obj's underlying member method code with example usage: obj.WORD_RE() and returns: type