# Path: fedjax/datasets/scripts/cornell_movie_dialogs/data_to_sqlite.py
# FLAGS = flags.FLAGS
# def main(argv) -> None:
# def normalize_dialogue_string(dialogue: str) -> str:


from absl.testing import absltest
from absl.testing import parameterized
from fedjax.datasets.scripts.cornell_movie_dialogs import data_to_sqlite
          'input_string': 'Thank God! If I had to hear one more story...\n',
          'desired': 'thank god if i had to hear one more story',
      }, {
          'testcase_name': 'test decimal',
          'input_string': 'Pi is 3.14 and pi day is in 10      months.',
          'desired': 'pi is <NUMERIC> and pi day is in <NUMERIC> months',
      }, {
          'testcase_name': 'test dollar',
          'input_string': 'I have 50,000.00 dollars in my account right now.\n',
          'desired': 'i have <NUMERIC> dollars in my account right now',
      }, {
          'testcase_name': 'test hyphen',
          'input_string': 'This is a double--hyphen! And this is a single-one.',
          'desired': 'this is a double hyphen and this is a single-one',
      }, {
          'testcase_name': 'test ellipses',
          'input_string': 'I..do...not......know.....\n',
          'desired': 'i do not know',
      }, {
          'testcase_name':
              'test html tags',
          'input_string':
              '<u>These are</u> underlining HTML and <b>bold</b> HTML tags.',
          'desired':
              'these are underlining html and bold html tags',
      })

  def test_normalize_dialogue_string(self, input_string, desired):
    self.assertEqual(
        desired,

# Path: fedjax/datasets/scripts/cornell_movie_dialogs/data_to_sqlite.py
# FLAGS = flags.FLAGS
# def main(argv) -> None:
# def normalize_dialogue_string(dialogue: str) -> str:


# Path: fedjax/datasets/scripts/cornell_movie_dialogs/data_to_sqlite_test.py
from absl.testing import absltest
from absl.testing import parameterized
from fedjax.datasets.scripts.cornell_movie_dialogs import data_to_sqlite

          'input_string': 'Thank God! If I had to hear one more story...\n',
          'desired': 'thank god if i had to hear one more story',
      }, {
          'testcase_name': 'test decimal',
          'input_string': 'Pi is 3.14 and pi day is in 10      months.',
          'desired': 'pi is <NUMERIC> and pi day is in <NUMERIC> months',
      }, {
          'testcase_name': 'test dollar',
          'input_string': 'I have 50,000.00 dollars in my account right now.\n',
          'desired': 'i have <NUMERIC> dollars in my account right now',
      }, {
          'testcase_name': 'test hyphen',
          'input_string': 'This is a double--hyphen! And this is a single-one.',
          'desired': 'this is a double hyphen and this is a single-one',
      }, {
          'testcase_name': 'test ellipses',
          'input_string': 'I..do...not......know.....\n',
          'desired': 'i do not know',
      }, {
          'testcase_name':
              'test html tags',
          'input_string':
              '<u>These are</u> underlining HTML and <b>bold</b> HTML tags.',
          'desired':
              'these are underlining html and bold html tags',
      })

  def test_normalize_dialogue_string(self, input_string, desired):
    self.assertEqual(
        desired,

        data_to_sqlite.normalize_dialogue_string(input_string))