class_docstr: Class designed to confirm whether something is **language** based on how many words of **language** appears
  Call confirmLanguage(text, language)
  * text: the text you want to confirm
  * language: the language you want to confirm
  
  Find out what language it is by using chisquared.py, the highest chisquared score is the language
  languageThreshold = 45
  if a string is 45% **language** words, then it's confirmed to be english
class_docstr_tok: ["Class","designed","to","confirm","whether","something","is","*","*","language","*","*","based","on","how","many","words","of","*","*","language","*","*","appears","Call","confirmLanguage","(","text",",","language",")","*","text",":","the","text","you","want","to","confirm","*","language",":","the","language","you","want","to","confirm","Find","out","what","language","it","is","by","using","chisquared.py",",","the","highest","chisquared","score","is","the","language","languageThreshold","=","45","if","a","string","is","45","%","*","*","language","*","*","words",",","then","it","'s","confirmed","to","be","english"]
code: def __init__(self, config: Config):
      # Suppresses warning
      super().__init__(config)
      self.mh = mh.mathsHelper()
  
      phases = config.get_resource(self._params()["phases"])
  
      self.thresholds_phase1 = phases["1"]
      self.thresholds_phase2 = phases["2"]
      self.top1000Words = config.get_resource(
          self._params().get("top1000")
      )
      self.wordlist = config.get_resource(self._params()["wordlist"])
      self.stopwords = config.get_resource(
          self._params().get("stopwords")
      )
  
      self.len_phase1 = len(self.thresholds_phase1)
      self.len_phase2 = len(self.thresholds_phase2)
  
file_path: Ciphey/ciphey/basemods/Checkers/brandon.py
imports: import sys
  from math import ceil
  from typing import Dict, Optional
  import logging
  from rich.logging import RichHandler
  from ciphey.iface import Checker, Config, ParamSpec, T, registry
label_desc: Use image node_id 4 to create a new Brandon object from inherited base classes: Checker with example: obj = Brandon(config)