class_docstr: Lexer for the declarative big-data ECL language.
  
  .. versionadded:: 1.5
class_docstr_tok: ["Lexer","for","the","declarative","big-data","ECL","language",".","..","versionadded",":",":","1.5"]
docstr: This is very difficult to guess relative to other business languages.
  -> in conjunction with BEGIN/END seems relatively rare though.
docstr_tok: ["This","is","very","difficult","to","guess","relative","to","other","business","languages",".","-",">","in","conjunction","with","BEGIN\/END","seems","relatively","rare","though","."]
code: def analyse_text(text):
      """This is very difficult to guess relative to other business languages.
      -> in conjunction with BEGIN/END seems relatively rare though."""
      result = 0
  
      if "->" in text:
          result += 0.01
      if "BEGIN" in text:
          result += 0.01
      if "END" in text:
          result += 0.01
  
      return result
  
imports: import re
  from pygments.lexer import RegexLexer, include, bygroups, words
  from pygments.token import Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
label_desc: Use image node_id 1 for calling the ECLLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: result