Exemple #1
0
    def get_racism_xenophobia_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.RACISM_XENOPHOBIA_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #2
0
    def get_sexual_abuse_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SEXUAL_ABUSE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #3
0
    def get_my_gender_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.MY_GENDER_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #4
0
    def get_praise_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.PRAISE

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #5
0
    def get_verbal_offense_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.VERBAL_OFFENSE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #6
0
    def get_my_age_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.MY_AGE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #7
0
    def get_helpful_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.HELPFUL_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #8
0
    def get_sports_and_playing_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SPORTS_AND_PLAYING_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #9
0
    def get_funny_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.FUNNY_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #10
0
    def get_greeting_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.GREETING_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #11
0
    def get_forbidden_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.FORBIDDEN_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #12
0
    def get_acknowledge_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.ACKNOWLEDGEMENT_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #13
0
    def get_goodbye_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.WHAT_AM_I_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #14
0
    def get_sorry_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SORRY_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #15
0
    def get_illegal_stuff_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.ILLEGAL_STUFF_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #16
0
    def get_who_am_i_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.WHO_AM_I_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #17
0
    def get_music_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.MUSIC_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #18
0
    def get_suicide_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SUICIDE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Exemple #19
0
    def get_threat_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.TRHEAT_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)