


import re

from filelock import FileLock


try:
   import nltk

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

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






def 						lowercase_(    SCREAMING_SNAKE_CASE_      ):


  '''simple docstring'''

  re.sub("<n>" ,		"" ,		UpperCamelCase__      )  # 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(UpperCamelCase__      )      )




'''simple docstring'''




def __lowerCAmelCase					(				UpperCamelCase__							)      ->       bool:
    if number < 0:
        raise ValueError('''number must not be negative'''							)
    return number & (number - 1) == 0


if __name__ == "__main__":
  import doctest

  doctest.testmod()
