class_docstr: Replace J/V with I/U.
  Latin alphabet does not distinguish between J/j and I/i and V/v and U/u;
  Yet, many texts bear the influence of later editors and the predilections of other languages.
  
  In practical terms, the JV substitution is recommended on all Latin text preprocessing; it
  helps to collapse the search space.
  
  >>> replacer = JVReplacer()
  >>> replacer.replace("Julius Caesar")
  'Iulius Caesar'
  
  >>> replacer.replace("In vino veritas.")
  'In uino ueritas.'
class_docstr_tok: ["Replace","J\/V","with","I\/U",".","Latin","alphabet","does","not","distinguish","between","J\/j","and","I\/i","and","V\/v","and","U\/u",";","Yet",",","many","texts","bear","the","influence","of","later","editors","and","the","predilections","of","other","languages",".","In","practical","terms",",","the","JV","substitution","is","recommended","on","all","Latin","text","preprocessing",";","it","helps","to","collapse","the","search","space",".",">",">",">","replacer","=","JVReplacer","(",")",">",">",">","replacer.replace","(","``","Julius","Caesar","''",")","'Iulius","Caesar'",">",">",">","replacer.replace","(","``","In","vino","veritas",".","''",")","'In","uino","ueritas",".","'"]
docstr: Initialization for JVReplacer, reads replacement pattern tuple.
docstr_tok: ["Initialization","for","JVReplacer",",","reads","replacement","pattern","tuple","."]
code: def __init__(self):
      """Initialization for JVReplacer, reads replacement pattern tuple."""
      patterns = [(r"j", "i"), (r"v", "u"), (r"J", "I"), (r"V", "U")]
      self.patterns = [
          (re.compile(regex), repl) for (regex, repl) in patterns
      ]
  
imports: import re
  from typing import Dict
  from cltk.alphabet.text_normalization import cltk_normalize, remove_odd_punct, split_leading_punct, split_trailing_punct
label_desc: Use image node_id 1 to create a new JVReplacer object  with example: obj = JVReplacer()