class_docstr: For UrbiScript source code.
  
  .. versionadded:: 1.5
class_docstr_tok: ["For","UrbiScript","source","code",".","..","versionadded",":",":","1.5"]
docstr: This is fairly similar to C and others, but freezeif and
  waituntil are unique keywords.
docstr_tok: ["This","is","fairly","similar","to","C","and","others",",","but","freezeif","and","waituntil","are","unique","keywords","."]
code: def analyse_text(text):
      """This is fairly similar to C and others, but freezeif and
      waituntil are unique keywords."""
      result = 0
  
      if "freezeif" in text:
          result += 0.05
  
      if "waituntil" in text:
          result += 0.05
  
      return result
  
imports: import re
  from pygments.lexer import ExtendedRegexLexer, words
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
label_desc: Use image node_id 2 for calling the UrbiscriptLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: result