class_docstr: For Inform 6 source code.
  
  .. versionadded:: 2.0
class_docstr_tok: ["For","Inform","6","source","code",".","..","versionadded",":",":","2.0"]
docstr: We try to find a keyword which seem relatively common, unfortunately
  there is a decent overlap with Smalltalk keywords otherwise here..
docstr_tok: ["We","try","to","find","a","keyword","which","seem","relatively","common",",","unfortunately","there","is","a","decent","overlap","with","Smalltalk","keywords","otherwise","here",".."]
code: def analyse_text(text):
      """We try to find a keyword which seem relatively common, unfortunately
      there is a decent overlap with Smalltalk keywords otherwise here..
      """
      result = 0
      if re.search("\borigsource\b", text, re.IGNORECASE):
          result += 0.05
  
      return result
  
imports: import re
  from pygments.lexer import RegexLexer, include, bygroups, using, this, default, words
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Error, Generic
label_desc: Use image node_id 2 for calling the Inform6Lexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: result