class_docstr: Lexer for Ezhil, a Tamil script-based programming language.
  
  .. versionadded:: 2.1
class_docstr_tok: ["Lexer","for","Ezhil",",","a","Tamil","script-based","programming","language",".","..","versionadded",":",":","2.1"]
docstr: This language uses Tamil-script. We'll assume that if there's a
  decent amount of Tamil-characters, it's this language. This assumption
  is obviously horribly off if someone uses string literals in tamil
  in another language.
docstr_tok: ["This","language","uses","Tamil-script",".","We","'ll","assume","that","if","there","'s","a","decent","amount","of","Tamil-characters",",","it","'s","this","language",".","This","assumption","is","obviously","horribly","off","if","someone","uses","string","literals","in","tamil","in","another","language","."]
code: def analyse_text(text):
      """This language uses Tamil-script. We'll assume that if there's a
      decent amount of Tamil-characters, it's this language. This assumption
      is obviously horribly off if someone uses string literals in tamil
      in another language."""
      if len(re.findall(r"[\u0b80-\u0bff]", text)) > 10:
          return 0.25
  
imports: import re
  from pygments.lexer import RegexLexer, include, words
  from pygments.token import Keyword, Comment, Name, String, Number, Punctuation, Operator, Whitespace
label_desc: Use image node_id 1 for calling the EzhilLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: int