class_docstr: The scansion symbols used can be configured by passing a suitable constants class to
  the constructor.
docstr: Return a list of syllables that contain a dipthong
  
  :param syllables:
  :return:
docstr_tok: ["Return","a","list","of","syllables","that","contain","a","dipthong",":","param","syllables",":",":","return",":"]
code: def flag_dipthongs(self, syllables: List[str]) -> List[int]:
      """
      Return a list of syllables that contain a dipthong
  
      :param syllables:
      :return:
      """
      long_positions = []
      for idx, syl in enumerate(syllables):
          for dipthong in self.constants.DIPTHONGS:
              if dipthong in syllables[idx]:
                  if not string_utils.starts_with_qu(syllables[idx]):
                      long_positions.append(idx)
      return long_positions
  
imports: import logging
  import re
  from typing import Any, Dict, List
  import cltk.prosody.lat.string_utils
  from cltk.prosody.lat.metrical_validator import MetricalValidator
  from cltk.prosody.lat.scansion_constants import ScansionConstants
  from cltk.prosody.lat.scansion_formatter import ScansionFormatter
  from cltk.prosody.lat.syllabifier import Syllabifier
  from cltk.prosody.lat.verse import Verse
label_desc: Use image node_id 8 for calling the VerseScanner obj's underlying member method code with example usage: obj.flag_dipthongs(syllables) and returns: long_positions