def METHOD_NAME(
    domain_path: Text, training_data_file: Text
) -> Tuple[List[TrackerWithCachedStates], Domain]:
    importer = RasaFileImporter(
        domain_path=domain_path, training_data_paths=[training_data_file]
    )
    validator = Validator.from_importer(importer)
    trackers = TrainingDataGenerator(
        validator.story_graph,
        domain=validator.domain,
        remove_duplicates=False,
        augmentation_factor=0,
    ).generate()
    return trackers, validator.domain