





import re

from filelock import FileLock


try:
  import nltk

  SCREAMING_SNAKE_CASE__       :			Dict			      =						True
except (ImportError, ModuleNotFoundError):
  SCREAMING_SNAKE_CASE__       :			List[Any]			      =						False

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






def       _A  (      lowerCamelCase   ):
   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   )   )








SCREAMING_SNAKE_CASE__       :			Union[str, Any]			      =						9.80665






def       _A  (      lowerCamelCase							, lowerCamelCase							, lowerCamelCase = g   ):

   if fluid_density <= 0:
      raise ValueError("Impossible fluid density"   )
   if volume < 0:
      raise ValueError("Impossible Object volume"   )
   if gravity <= 0:
      raise ValueError("Impossible Gravity"   )

   return fluid_density * gravity * volume


if __name__ == "__main__":
  import doctest

  # run doctest
  doctest.testmod()

