





"""simple docstring"""






import re

from filelock import FileLock


try:
		import nltk

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

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

def       __A (     a_  :str)						->						str:
				re.sub('''<n>'''				,    ''''''				,    a_)  # 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(a_))






"""simple docstring"""






def       __A (     a_  :float)						->						float:

				if edge <= 0 or not isinstance(a_				,    a_):
								raise ValueError('''Length must be a positive.''')
				return 3 * ((25 + 10 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)

def       __A (     a_  :float)						->						float:

				if edge <= 0 or not isinstance(a_				,    a_):
								raise ValueError('''Length must be a positive.''')
				return ((15 + (7 * (5 ** (1 / 2)))) / 4) * (edge**3)


if __name__ == "__main__":
		import doctest

		doctest.testmod()