class_docstr: Middle English stresser
docstr: :param word: word
  :param p: Specifies the phonetic indexing method
          SE: Soundex variant for MHG
  
  :return: Encoded string corresponding to the word's phonetic
      representation
docstr_tok: [":","param","word",":","word",":","param","p",":","Specifies","the","phonetic","indexing","method","SE",":","Soundex","variant","for","MHG",":","return",":","Encoded","string","corresponding","to","the","word","'s","phonetic","representation"]
code: def phonetic_indexing(self, word, p="SE") -> str:
      """
      :param word: word
      :param p: Specifies the phonetic indexing method
              SE: Soundex variant for MHG
  
      :return: Encoded string corresponding to the word's phonetic
          representation
      """
  
      if p == "SE":
          return self._soundex(word)
  
file_path: cltk/src/cltk/phonology/enm/stress.py
imports: import re
  from typing import List
  from cltk.phonology.enm.syllabifier import CONSONANTS, DIPHTHONGS, SHORT_VOWELS, TRIPHTHONGS
  from cltk.stem.enm import stem
label_desc: Use image node_id 3 for calling the MiddleEnglishStresser obj's underlying member method code with example usage: obj.phonetic_indexing(word, p) and returns: self