class_docstr: Replace Beta Code with Unicode.
  
  >>> from cltk.alphabet.grc.beta_to_unicode import BetaCodeReplacer
  >>> beta_code_replace = BetaCodeReplacer()
  >>> beta_code_str = "O(/PWS OU)=N MH\ TAU)TO\ "
  >>> beta_code_replace.replace_beta_code(beta_code_str)
  'ὅπως οὖν μὴ ταὐτὸ '
  >>> beta_code_str = "PROU+POTETAGME/NWN"
  >>> beta_code_replace.replace_beta_code(beta_code_str)
  'προϋποτεταγμένων'
class_docstr_tok: ["Replace","Beta","Code","with","Unicode",".",">",">",">","from","cltk.alphabet.grc.beta_to_unicode","import","BetaCodeReplacer",">",">",">","beta_code_replace","=","BetaCodeReplacer","(",")",">",">",">","beta_code_str","=","``","O","(","\/PWS","OU",")","=N","MH\\","TAU",")","TO\\","``",">",">",">","beta_code_replace.replace_beta_code","(","beta_code_str",")","'\u1f45\u03c0\u03c9\u03c2","\u03bf\u1f56\u03bd","\u03bc\u1f74","\u03c4\u03b1\u1f50\u03c4\u1f78","'",">",">",">","beta_code_str","=","``","PROU+POTETAGME\/NWN","''",">",">",">","beta_code_replace.replace_beta_code","(","beta_code_str",")","'\u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03c4\u03b5\u03c4\u03b1\u03b3\u03bc\u03ad\u03bd\u03c9\u03bd","'"]
code: def __init__(self, pattern=None, reorder_pattern=None):
      if pattern is None:
          pattern = BETA_REPLACE
      if reorder_pattern is None:
          reorder_pattern = BETA_REORDER
      self.pattern = [
          (regex.compile(beta_regex, flags=regex.VERSION1), repl)
          for (beta_regex, repl) in pattern
      ]
      self.reorder_pattern = [
          (regex.compile(beta_regex, flags=regex.VERSION1), repl)
          for (beta_regex, repl) in reorder_pattern
      ]
  
imports: from unicodedata import normalize
  import regex
label_desc: Use image node_id 1 to create a new BetaCodeReplacer object  with example: obj = BetaCodeReplacer(pattern, reorder_pattern)