class_docstr: Scans Greek texts that already contain macronized
  (i.e., long and shorts) texts.
class_docstr_tok: ["Scans","Greek","texts","that","already","contain","macronized","(","i.e.",",","long","and","shorts",")","texts","."]
docstr: Remove input text of extraneous (non-stop) punction (e.g., ``","``).
  By default, ``":"``, ``";"``, and ``"."`` are defined as stops.
  
  Args:
      text: Text string containing non-stop punctuation.
  
  Returns:
      Text with unnecessary punctuation removed
  
  >>> from cltk.prosody.grc import Scansion
  >>> not_clean = "νέος μὲν καὶ ἄπειρος, δικῶν ἔγωγε ἔτι. μὲν καὶ ἄπειρος."
  >>> Scansion()._clean_text(not_clean)
  'νέος μὲν καὶ ἄπειρος δικῶν ἔγωγε ἔτι. μὲν καὶ ἄπειρος.'
docstr_tok: ["Remove","input","text","of","extraneous","(","non-stop",")","punction","(","e.g.",",","``","``",",","''","``",")",".","By","default",",","``","``",":","''","``",",","``","``",";","''","``",",","and","``","``",".","``","``","are","defined","as","stops",".","Args",":","text",":","Text","string","containing","non-stop","punctuation",".","Returns",":","Text","with","unnecessary","punctuation","removed",">",">",">","from","cltk.prosody.grc","import","Scansion",">",">",">","not_clean","=","``","\u03bd\u03ad\u03bf\u03c2","\u03bc\u1f72\u03bd","\u03ba\u03b1\u1f76","\u1f04\u03c0\u03b5\u03b9\u03c1\u03bf\u03c2",",","\u03b4\u03b9\u03ba\u1ff6\u03bd","\u1f14\u03b3\u03c9\u03b3\u03b5","\u1f14\u03c4\u03b9",".","\u03bc\u1f72\u03bd","\u03ba\u03b1\u1f76","\u1f04\u03c0\u03b5\u03b9\u03c1\u03bf\u03c2",".","''",">",">",">","Scansion","(",")","._clean_text","(","not_clean",")","'\u03bd\u03ad\u03bf\u03c2","\u03bc\u1f72\u03bd","\u03ba\u03b1\u1f76","\u1f04\u03c0\u03b5\u03b9\u03c1\u03bf\u03c2","\u03b4\u03b9\u03ba\u1ff6\u03bd","\u1f14\u03b3\u03c9\u03b3\u03b5","\u1f14\u03c4\u03b9",".","\u03bc\u1f72\u03bd","\u03ba\u03b1\u1f76","\u1f04\u03c0\u03b5\u03b9\u03c1\u03bf\u03c2",".","'"]
code: def _clean_text(self, text: str) -> str:
      """Remove input text of extraneous (non-stop) punction (e.g., ``","``).
      By default, ``":"``, ``";"``, and ``"."`` are defined as stops.
  
      Args:
          text: Text string containing non-stop punctuation.
  
      Returns:
          Text with unnecessary punctuation removed
  
      >>> from cltk.prosody.grc import Scansion
      >>> not_clean = "νέος μὲν καὶ ἄπειρος, δικῶν ἔγωγε ἔτι. μὲν καὶ ἄπειρος."
      >>> Scansion()._clean_text(not_clean)
      'νέος μὲν καὶ ἄπειρος δικῶν ἔγωγε ἔτι. μὲν καὶ ἄπειρος.'
      """
      clean = list()  # type: List[str]
      for char in text:
          if char in self.punc_stops:
              clean += "."
          elif char not in self.punc:
              clean += char
          else:
              pass
      return ("".join(clean)).lower()
  
file_path: cltk/src/cltk/prosody/grc.py
imports: from typing import List
  from cltk.core.cltk_logger import logger
label_desc: Use image node_id 3 for calling the Scansion obj's underlying member method code with example usage: obj._clean_text(text) and returns: str