
lowerCamelCase_							=     [
    '''Audio''',
    '''Array2D''',
    '''Array3D''',
    '''Array4D''',
    '''Array5D''',
    '''ClassLabel''',
    '''Features''',
    '''Sequence''',
    '''Value''',
    '''Image''',
    '''Translation''',
    '''TranslationVariableLanguages''',
]
from .audio import Audio
from .features import ArrayaD, ArrayaD, ArrayaD, ArrayaD, ClassLabel, Features, Sequence, Value
from .image import Image
from .translation import Translation, TranslationVariableLanguages









'''simple docstring'''
import re

from filelock import FileLock


try:
  import nltk

  UpperCamelCase__    					=      True
except (ImportError, ModuleNotFoundError):
  UpperCamelCase__    					=      False

if NLTK_AVAILABLE:
  with FileLock('''.lock''') as lock:
    nltk.download('''punkt''', quiet=True)





def 					a__       (					lowerCAmelCase__						)    ->	str:
    re.sub('''<n>'''  ,					''''''  ,					lowerCAmelCase__						)  # remove pegasus newline char
    assert NLTK_AVAILABLE, "nltk must be installed to separate newlines between sentences. (pip install nltk)"
    return "\n".join(nltk.sent_tokenize(lowerCAmelCase__						)						)
