<|start_filename|>transformations/shuffle_within_segments/test.json<|end_filename|>
{
  "type": "shuffle_within_segments",
  "test_cases": [
    {
      "class": "ShuffleWithinSegments",
      "inputs": {
        "token_sequence": "<NAME> served as the PM of India .",
        "tag_sequence": "B-PER I-PER O O O O O B-COUNTRY O"
      },
      "outputs": [{
        "token_sequence": "<NAME> served the as of PM India .",
        "tag_sequence": "B-PER I-PER O O O O O B-COUNTRY O"
      }]
    },
    {
      "class": "ShuffleWithinSegments",
      "inputs": {
        "token_sequence": "<NAME> an American astronaut",
        "tag_sequence": "B-PER I-PER I-PER O O B-COUNTRY O"
      },
      "outputs": [{
        "token_sequence": "<NAME> an American astronaut",
        "tag_sequence": "B-PER I-PER I-PER O O B-COUNTRY O"
      }]
    },
    {
      "class": "ShuffleWithinSegments",
      "inputs": {
        "token_sequence": "I am going to New Zealand via Costa Rica .",
        "tag_sequence": "O O O O B-LOC I-LOC O B-LOC I-LOC O"
      },
      "outputs": [{
        "token_sequence": "going to I am New Zealand via Rica Costa .",
        "tag_sequence": "O O O O B-LOC I-LOC O B-LOC I-LOC O"
      }]
    },
    {
      "class": "ShuffleWithinSegments",
      "inputs": {
        "token_sequence": "I am travelling to London .",
        "tag_sequence": "O O O O B-LOC O"
      },
      "outputs": [{
        "token_sequence": "travelling to I am London .",
        "tag_sequence": "O O O O B-LOC O"
      }]
    },
    {
      "class": "ShuffleWithinSegments",
      "inputs": {
        "token_sequence": "Edison was born in North East Ohio .",
        "tag_sequence": "B-PER O O O B-LOC I-LOC I-LOC O"
      },
      "outputs": [{
        "token_sequence": "Edison was in born Ohio East North .",
        "tag_sequence": "B-PER O O O B-LOC I-LOC I-LOC O"
      }]
    },
    {
      "class": "ShuffleWithinSegments",
      "inputs": {
        "token_sequence": "Google head office is located in North East California .",
        "tag_sequence": "B-ORG O O O O O B-LOC I-LOC I-LOC O"
      },
      "outputs": [{
        "token_sequence": "Google head is office in located California East North .",
        "tag_sequence": "B-ORG O O O O O B-LOC I-LOC I-LOC O"
      }]
    }
  ]
}


<|start_filename|>filters/oscillatory_hallucination/test.json<|end_filename|>
{
    "type": "length",
    "test_cases": [
        {
           "class": "OscillatoryHallucinationFilter",
           "args": {
              "ngram_size": 2, 
              "count_threshold": 10, 
              "difference_threshold": 5, 
              "min_length_threshold": 10
            },
           "inputs": {
              "source":"Community, European Parliament common regional policy, Mediterranean region",
              "output": "Arbeitsbedingungen, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung, berufliche Bildung,"
           },
           "outputs": true
        },
        {
           "class": "OscillatoryHallucinationFilter",
           "args": {
            "ngram_size": 2, 
            "count_threshold": 10, 
            "difference_threshold": 5, 
            "min_length_threshold": 10
          },
           "inputs": {
              "source":"China, trade relations foreign policy, Hong Kong, trade relations Japan, trade relations economic cooperation Community relations, institutional cooperation, OECD cooperation agreement, trading, Yugoslavia",
              "output": "Angleichung der Rechtsvorschriften, Angleichung der Rechtsvorschriften, Angleichung der Rechtsvorschriften, Angleichung der Rechtsvorschriften, Angleichung der Rechtsvorschriften, Angleichung der Rechtsvorschriften, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG, Richtlinie EG,"
           },
           "outputs": true
        },
        {
           "class": "OscillatoryHallucinationFilter",
           "args": {
            "ngram_size": 2, 
            "count_threshold": 10, 
            "difference_threshold": 5, 
            "min_length_threshold": 10
          },
           "inputs": {
              "source":"Kenya, UN Conference married person, professional motherhood, women's rights winding-up of a company approximation oflaws, bankruptcy, credit institution cessation of trading, insurance company",
              "output": "Angleichung der Rechtsvorschriften, Bankrott, Bankrott, Kreditinstitut Einstellung des Handels, Versicherungsgesellschaft, Verheiratete Person, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von Mann und Frau, Gleichbehandlung von"
           },
           "outputs": true
        },
        {
           "class": "OscillatoryHallucinationFilter",
           "args": {
            "ngram_size": 2, 
            "count_threshold": 10, 
            "difference_threshold": 5, 
            "min_length_threshold": 10
          },
           "inputs": {
              "source":"Life in the Bahamas is good for a lot of people.",
              "output": "Das Leben auf den Bahamas ist für viele Menschen gut."
           },
           "outputs": false
        },
        {
            "class": "OscillatoryHallucinationFilter",
            "args": {
               "ngram_size": 2, 
               "count_threshold": 10, 
               "difference_threshold": 5, 
               "min_length_threshold": 10
             },
            "inputs": {
               "source":"<NAME> played for Machester United as a striker.",
               "output": "<NAME> spielte als Stürmer für Machester United."
            },
            "outputs": false
         },
         {
            "class": "OscillatoryHallucinationFilter",
            "args": {
               "ngram_size": 2, 
               "count_threshold": 10, 
               "difference_threshold": 5, 
               "min_length_threshold": 10
             },
            "inputs": {
               "source":"Hello, Hello, Hello, Hello, Hello, hello, Hello, Hello, Hello, hello, Hello, hello, Hello, Hello, Hello, Hello, Hello, Hello, Hello",
               "output": "Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo, Hallo"
            },
            "outputs": false
         }
     ]
  }

<|start_filename|>transformations/noun_compound_paraphraser/test.json<|end_filename|>
{
  "type": "noun_compound_paraphraser",
  "test_cases": [
    {
      "class": "NounCompoundParaphraser",
      "inputs": {
        "sentence": "Enter through the front gate, then turn left."
      },
      "outputs": [
        {
          "sentence": "Enter through the gate at the front, then turn left."
        }
      ]
    },
    {
      "class": "NounCompoundParaphraser",
      "inputs": {
        "sentence": "The rugby captain enjoyed his breakfast coffee."
      },
      "outputs": [
        {
          "sentence": "The rugby captain enjoyed his coffee for breakfast."
        },
        {
          "sentence": "The captain of the rugby team enjoyed his breakfast coffee."
        },
        {
          "sentence": "The captain of the rugby team enjoyed his coffee for breakfast."
        }
      ]
    },
    {
      "class": "NounCompoundParaphraser",
      "inputs": {
        "sentence": "Now we shall film the love scene at the garden party."
      },
      "outputs": [
        {
          "sentence": "Now we shall film the love scene at the party in a garden."
        },
        {
          "sentence": "Now we shall film the scene of love at the garden party."
        },
        {
          "sentence": "Now we shall film the scene of love at the party in a garden."
        }
      ]
    },
    {
      "class": "NounCompoundParaphraser",
      "inputs": {
        "sentence": "There was a car accident near the castle gate."
      },
      "outputs": [
        {
          "sentence": "There was a accident caused by a car near the castle gate."
        },
        {
          "sentence": "There was a car accident near the gate of the castle."
        },
        {
          "sentence": "There was a accident caused by a car near the gate of the castle."
        }
      ]
    },
    {
      "class": "NounCompoundParaphraser",
      "inputs": {
        "sentence": "After the bike ride, John stopped by the club house."
      },
      "outputs": [
        {
          "sentence": "After the ride on a bike, John stopped by the club house."
        },
        {
          "sentence": "After the bike ride, John stopped by the house for club activities."
        },
        {
          "sentence": "After the ride on a bike, John stopped by the house for club activities."
        }
      ]
    }
  ]
}


<|start_filename|>transformations/filler_word_augmentation/test.json<|end_filename|>
{
  "type": "filler_word_augmentation",
  "test_cases": [
    {
      "class": "FillerWordAugmentation",
      "inputs": {
        "sentence": "Andrew finally returned the French book to Chris that I bought last week"
      },
      "outputs": [{
        "sentence": "Andrew finally returned actually the uhm French book to Chris that I bought last week"
      }]
    },
    {
      "class": "FillerWordAugmentation",
      "inputs": {
        "sentence": "Sentences with gapping, such as Paul likes coffee and Mary tea, lack an overt predicate to indicate the relation between two or more arguments."
      },
      "outputs": [{
        "sentence": "Sentences with gapping, perhaps such as Paul likes I guess coffee and Mary tea, lack an overt predicate to indicate the relation I guess between two I feel or more arguments."
      }]
    },
    {
      "class": "FillerWordAugmentation",
      "inputs": {
        "sentence": "Alice in Wonderland is a 2010 American live-action/animated dark fantasy adventure film"
      },
      "outputs": [{
        "sentence": "Alice in Wonderland obviously is a 2010 American live-action/animated dark fantasy adventure probably film"
      }]
    },
    {
      "class": "FillerWordAugmentation",
      "inputs": {
        "sentence": "Ujj<NAME>jh served as 33rd Premier of British Columbia from 2000 to 2001"
      },
      "outputs": [{
        "sentence": "Ujj<NAME>jh uhm served as 33rd Premier of British Columbia I feel from ahh 2000 to 2001"
      }]
    },
    {
      "class": "FillerWordAugmentation",
      "inputs": {
        "sentence": "Neuroplasticity is a continuous processing allowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organization."
      },
      "outputs": [{
        "sentence": "Neuroplasticity is a I would say continuous processing allowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organization."
      }]
    }
  ]
}


<|start_filename|>transformations/hashtagify/test.json<|end_filename|>
{
  "type": "hastagify",
  "test_cases": [
    {
      "class": "HashtagifyTransformation",
      "inputs": {
        "sentence": "Apple is looking at buying U.K. startup for $132 billion."
      },
      "outputs": [
        {
          "sentence": "#Apple is looking at #buying U.K. startup for $132 billion."
        }
      ]
    },
    {
      "class": "HashtagifyTransformation",
      "inputs": {
        "sentence": "We had to box part of the pizza to take it home and we were out the door by 6:42."
      },
      "outputs": [
        {
          "sentence": "We had to #box part of the #pizza to take it home and we were out the door by 6:42."
        }
      ]
    },
    {
      "class": "HashtagifyTransformation",
      "inputs": {
        "sentence": "The quick brown fox jumps over the lazy dog."
      },
      "outputs": [
        {
          "sentence": "The quick #brown fox #jumps over the lazy dog."
        }
      ]
    },
    {
      "class": "HashtagifyTransformation",
      "inputs": {
        "sentence": "Mumbai, Bengaluru, New Delhi are among the many famous places in India."
      },
      "outputs": [
        {
          "sentence": "#Mumbai, Bengaluru, #NewDelhi are among the many famous places in India."
        }
      ]
    },
    {
      "class": "HashtagifyTransformation",
      "inputs": {
        "sentence": "New Delhi is among the many famous places in India."
      },
      "outputs": [
        {
          "sentence": "#NewDelhi is among the many famous places in India."
        }
      ]
    },
    {
      "class": "HashtagifyTransformation",
      "inputs": {
        "sentence": "Oh, and their spring rolls and the accompanying peanuts and hot sauces were also delicious."
      },
      "outputs": [
        {
          "sentence": "Oh, and their #spring rolls and the accompanying peanuts and hot sauces were also delicious."
        }
      ]
    }
  ]
}

<|start_filename|>transformations/city_names_transformation/test.json<|end_filename|>
{
    "type": "city_names_transformation", 
    "test_cases": [{
        "class": "CityNamesTransformation", 
        "inputs": {
            "sentence": "Jarry returned to London and applied himself to drinking, writing, and the company of friends who appreciated his witty, sweet-tempered, and unpredictable conversation."
        }, 
        "outputs": [{
            "sentence": "Jarry returned to Woods Creek and applied himself to drinking , writing , and the company of friends who appreciated his witty , sweet - tempered , and unpredictable conversation ."
        }]
    }, 
    {
        "class": "CityNamesTransformation", 
        "inputs": {
            "sentence": "The team was established in Dallas in 1898 and was a charter member of the NFL in 1920."
        }, 
        "outputs": [{
            "sentence": "The team was established in Viera West in 1898 and was a charter member of the NFL in 1920 ."}]
        }, 
    {
        "class": "CityNamesTransformation", 
        "inputs": {
            "sentence": "The Falcons had their first Monday Night Football game in Los Angeles during the 1970 season."
        }, 
        "outputs": [{
            "sentence": "The Falcons had their first Monday Night Football game in Old Jefferson during the 1970 season ."
        }]
    }, 
    {
        "class": "CityNamesTransformation", 
        "inputs": {
            "sentence": "In the event, Manchester was chosen instead of Miami, owing to political circumstances."
        }, 
        "outputs": [{
            "sentence": "In the event , Manchester was chosen instead of Hertford , owing to political circumstances ."
        }]
    }, 
    {
        "class": "CityNamesTransformation", 
        "inputs": {
            "sentence": "In 1841, Sax relocated permanently to Boston and began work on a new set of instruments which were exhibited there in 1844."
        }, 
        "outputs": [{
            "sentence": "In 1841 , Sax relocated permanently to Stony Plain and began work on a new set of instruments which were exhibited there in 1844 ."
        }]
    }
    ]
}

<|start_filename|>transformations/slangificator/test.json<|end_filename|>
{
  "type": "slangificator",
  "test_cases": [
    {
      "class": "Slangificator",
      "inputs": {
        "sentence": "I picked up a stone and attempted to skim it across the water."
      },
      "outputs": [{
        "sentence": "I picked up a ducker and attempted to skim it across the corporation pop."
      }]
    },
    {
      "class": "Slangificator",
      "inputs": {
        "sentence": "The hooligans in balaclavas have attempted to steal jewellery."
      },
      "outputs": [{
        "sentence": "The bovver boys in ballies have attempted to steal bling bling."
      }]
    },
    {
      "class": "Slangificator",
      "inputs": {
        "sentence": "What is relevant to the role of intellectuals is the atmosphere in which these governments based their previous actions that led up to this crisis."
      },
      "outputs": [{
        "sentence": "What is relevant to the role of boffins is the vibe in which these governments based their previous actions that led up to this crisis."
      }]
    },
    {
      "class": "Slangificator",
      "inputs": {
        "sentence": "It was totally excellent but useless bet."
      },
      "outputs": [{
        "sentence": "It was totes grand but cruddy flutter."
      }]
    },
    {
      "class": "Slangificator",
      "inputs": {
        "sentence": "Obviously, money are a great stimulus but people might go to crazy about it."
      },
      "outputs": [{
        "sentence": "Obvs, spondulicks are a nang stimulus but peeps might go to radio rental about it."
      }]
    }
  ]
}


<|start_filename|>transformations/correct_common_misspellings/test.json<|end_filename|>
{
  "type": "correct_common_misspellings",
  "test_cases": [{
      "class": "CorrectCommonMisspellings",
      "inputs": {
        "sentence": "<NAME> Alice finally returnd the French book that I bought lastr week"
      },
      "outputs": [{
        "sentence": "Andrew and Alice finally returned the French book that I bought last week"
      }]
    },
    {
      "class": "CorrectCommonMisspellings",
      "inputs": {
        "sentence": "It took Paul four yeras before he addopted his cat"
      },
      "outputs": [{
        "sentence": "It took Paul four years before he adopted his cat"
      }]
    }, {
      "class": "CorrectCommonMisspellings",
      "inputs": {
        "sentence": "Alice in Wonderland is a 2010 American live-action/animated dark fantasy adventure film"
      },
      "outputs": [{
        "sentence": "Alice in Wonderland is a 2010 American live-action/animated dark fantasy adventure film"
      }]
    }, {
      "class": "CorrectCommonMisspellings",
      "inputs": {
        "sentence": "The chracter in the novel did not know the correct ammount of fuel to put into his vehicle."
      },
      "outputs": [{
        "sentence": "The character in the novel did not know the correct amount of fuel to put into his vehicle."
      }]
    }, {
      "class": "CorrectCommonMisspellings",
      "inputs": {
        "sentence": "Neuroplasticity is a continous processing alowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organiztion"
      },
      "outputs": [{
        "sentence": "Neuroplasticity is a continuous processing allowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organization"
      }]
    }
  ]
}


<|start_filename|>transformations/chinese_person_named_entities_gender/test.json<|end_filename|>
{
  "type": "chinese_person_named_entities_gender",
  "test_cases": [
    {
      "class": "ChinesePersonNamedEntitiesAndGender",
      "inputs": {
        "sentence": "邹志元给自己所有的衬衣都缝上了标有姓名的签条。"
      },
      "outputs": [{
        "sentence": "舒双双给自己所有的衬衣都缝上了标有姓名的签条。"
      }]
    },
    {
      "class": "ChinesePersonNamedEntitiesAndGender",
      "inputs": {
        "sentence": "这些都是按照作者史永莉的字母顺序归档的。"
      },
      "outputs": [{
        "sentence": "这些都是按照作者王克礼的字母顺序归档的。"
      }]
    },
    {
      "class": "ChinesePersonNamedEntitiesAndGender",
      "inputs": {
        "sentence": "我的名字是曾祥莉，我的年龄是20岁。我在江西武宁，我的工作是前台。",
        "seed": 42
      },
      "outputs": [{
        "sentence": "我的名字是陈充全，我的年龄是20岁。我在江西武宁，我的工作是前台。"
      }]
    },
    {
      "class": "ChinesePersonNamedEntitiesAndGender",
      "inputs": {
        "sentence": "中文系毕业后，陈镇奎如愿以偿地进入报社工作。",
        "seed": 42,
        "gender_change": false
      },
      "outputs": [{
        "sentence": "中文系毕业后，陈充全如愿以偿地进入报社工作。"
      }]
    },
    {
      "class": "ChinesePersonNamedEntitiesAndGender",
      "inputs": {
        "sentence": "阿冰只有初中文化程度,担任这样的复杂工种是比较吃力的,但她边干边学,终于胜任了。",
        "seed": 42,
        "gender_change": false
      },
      "outputs": [{
        "sentence": "曾祥莉只有初中文化程度,担任这样的复杂工种是比较吃力的,但她边干边学,终于胜任了。"
      }]
    },
    {
      "class": "ChinesePersonNamedEntitiesAndGender",
      "inputs": {
        "sentence": "阿冰只有初中文化程度,担任这样的复杂工种是比较吃力的,但她边干边学,终于胜任了。",
        "seed": 42,
        "gender_change": true
      },
      "outputs": [{
        "sentence": "陈充全只有初中文化程度,担任这样的复杂工种是比较吃力的,但他边干边学,终于胜任了。"
      }]
    }
  ]
}


<|start_filename|>transformations/use_acronyms/test.json<|end_filename|>
{
  "type": "use_acronyms",
  "test_cases": [

    {
      "class": "UseAcronyms",
      "inputs": {
        "sentence": "I studied at New York University and Massachusetts Institute of Technology."
      },
      "outputs": [
        {
          "sentence": "I studied at NYU and MIT."
        }
      ]
    },
    {
      "class": "UseAcronyms",
      "inputs": {
        "sentence": "They changed my connection flight from Newark Liberty International Airport to Los Angeles International Airport."
      },
      "outputs": [
        {
          "sentence": "They changed my connection flight from EWR to LAX."
        }
      ]
    },
    {
      "class": "UseAcronyms",
      "inputs": {
        "sentence": "My brother works at the Center for Science in the Public Interest."
      },
      "outputs": [
        {
          "sentence": "My brother works at the CSPI."
        }
      ]
    },
    {
      "class": "UseAcronyms",
      "inputs": {
        "sentence": "Electro-Optical Tactical Sensor are a fundamental part of the system."
      },
      "outputs": [
        {
          "sentence": "EOTS are a fundamental part of the system."
        }
      ]
    },
    {
      "class": "UseAcronyms",
      "inputs": {
        "sentence": "A strong ElectroMagnetic Pulse will damage nearby electronic devices."
      },
      "outputs": [
        {
          "sentence": "A strong EMP will damage nearby electronic devices."
        }
      ]
    }
  ]
}

<|start_filename|>transformations/disability_transformation/test.json<|end_filename|>
{
  "type": "different_ability",
  "test_cases": [
    {
      "class": "DifferentAbilityTransformation",
      "inputs": {
        "sentence": "He's blind."
      },
      "outputs": [{
        "sentence": "He's person or people with a visual impairment."
      }]
    },
    {
      "class": "DifferentAbilityTransformation",
      "inputs": {
        "sentence": "They are deaf."
      },
      "outputs": [{
        "sentence": "They are person or people with a hearing disability."
      }]
    },
    {
      "class": "DifferentAbilityTransformation",
      "inputs": {
        "sentence": "Did she become a cripple after the accident?"
      },
      "outputs": [{
        "sentence": "Did she become a person with a physical disability after the accident?"
      }]
    },
    {
      "class": "DifferentAbilityTransformation",
      "inputs": {
        "sentence": "He is a lunatic!!!"
      },
      "outputs": [{
        "sentence": "He is a person with a mental disability!!!"
      }]
    },
    {
      "class": "DifferentAbilityTransformation",
      "inputs": {
        "sentence": "She's wheelchairbound so she needs help."
      },
      "outputs": [{
        "sentence": "She's wheelchair user so she needs help."
      }]
    }
  ]
}


<|start_filename|>transformations/concat/test.json<|end_filename|>
{
  "type": "concat",
  "test_cases": [
    {
     "class": "Concat",
     "inputs": {
       "sentence": "Initial, no concat",
       "target": "Primero, no concat"
     },
      "outputs": [{
        "sentence": "Initial, no concat ",
        "target": "Primero, no concat "
      }]
    },
    {
     "class": "Concat",
     "inputs": {
       "sentence": "a b",
       "target": "a b"
     },
      "outputs": [{
        "sentence": "a b Initial, no concat",
        "target": "a b Primero, no concat"
      }]
    },
    {
     "class": "Concat",
     "inputs": {
       "sentence": "a b",
       "target": "a"
     },
      "outputs": [{
        "sentence": "a b a b",
        "target": "a a b"
      }]
    },
    {
     "class": "Concat",
     "inputs": {
       "sentence": "",
       "target": ""
     },
      "outputs": [{
        "sentence": " a b",
        "target": " a"
      }]
    },
    {
     "class": "Concat",
     "inputs": {
       "sentence": "",
       "target": ""
     },
      "outputs": [{
        "sentence": " ",
        "target": " "
      }]
    },
    {
     "class": "Concat",
     "inputs": {
       "sentence": "long sentence",
       "target": "long sentence"
     },
      "outputs": [{
        "sentence": "long sentence ",
        "target": "long sentence "
      }]
    },
    {
     "class": "Concat",
     "inputs": {
       "sentence": "I am just generating a very very very long sentence to make sure that the method is able to handle it. It does not even need to be a sentence. Right? This is not splitting on punctuation...",
       "target": "I am just generating a very very very long sentence to make sure that the method is able to handle it. It does not even need to be a sentence. Right? This is not splitting on punctuation..."
     },
      "outputs": [{
        "sentence": "I am just generating a very very very long sentence to make sure that the method is able to handle it. It does not even need to be a sentence. Right? This is not splitting on punctuation... long sentence",
        "target": "I am just generating a very very very long sentence to make sure that the method is able to handle it. It does not even need to be a sentence. Right? This is not splitting on punctuation... long sentence"
      }]
    }
  ]
}


<|start_filename|>transformations/chinese_butter_fingers_perturbation/test.json<|end_filename|>
{
  "type": "chinese_butter_fingers_perturbation",
  "test_cases": [
    {
      "class": "ChineseButterFingersPerturbation",
      "inputs": {
        "sentence": "谢尔曼将访问中国天津，中国外交部主管中美关系的副部长谢峰将和她会谈."
      },
      "outputs": [{
        "sentence": "谢尔曼将访问中国天津，中国外交部朱观中美关系的副部长谢峰蒋和她回滩."
      }]
    },
    {
      "class": "ChineseButterFingersPerturbation",
      "inputs": {
        "sentence": "本意是指词的起源义，即词的最初意义。引申义是由词的本意引申出来的并经过推演发展而产生的意义"
      },
      "outputs": [{
        "sentence": "本意始指词的起源义，即词的最初一医。引申义驶由词得本谊引申出来的并经过推演发展而缠声得意义"
      }]
    },
    {
      "class": "ChineseButterFingersPerturbation",
      "inputs": {
        "sentence": "汉字是语素文字，总数非常庞大。汉字总共有多少字？到目前为止，恐怕没人能够答得上来精确的数字。"
      },
      "outputs": [{
        "sentence": "酣紫是语素文字，总数非常庞大。汉字总共有多少字？到目前为止，恐怕美人能够大德上来精确的数字。"
      }]
    },
    {
      "class": "ChineseButterFingersPerturbation",
      "inputs": {
        "sentence": "恰当的运用反义词，可以形成鲜明的对比，把事物的特点表达得更充分，给人留下深刻难忘的印象。"
      },
      "outputs": [{
        "sentence": "恰当的运用反义词，可以形成鲜明的对比，把石屋的特点表达得更充分，给人溜下深刻难忘的印象。"
      }]
    },
    {
      "class": "ChineseButterFingersPerturbation",
      "inputs": {
        "sentence": "随着两个遗迹文明的发展，他们终于开始了争斗。遗迹之间的能量冲突是战争的导火索，因为一方出现，另一方的遗迹能量就会相应的颓落。"
      },
      "outputs": [{
        "sentence": "随着两个遗迹文明的发展，他们终于开始了正斗。遗迹之间的能量冲突驶战争德导火索，因为一方出现，另一方的伊籍能量就挥相应德颓落。"
      }]
    }
  ]
}


<|start_filename|>transformations/tag_subsequence_substitution/test.json<|end_filename|>
{
  "type": "tag_subsequence_substitution",
  "test_cases": [
    {
      "class": "TagSubsequenceSubstitution",
      "inputs": {
        "token_sequence": "EU rejects German call to boycott British lamb .",
        "tag_sequence": "NNP VBZ JJ NN TO VB JJ NN ."
      },
      "outputs": [
        {
          "token_sequence": "EU rejects German move to protect human lamb .",
          "tag_sequence": "NNP VBZ JJ NN TO VB JJ NN ."
        },
        {
          "token_sequence": "EU rejects German call to have total lamb .",
          "tag_sequence": "NNP VBZ JJ NN TO VB JJ NN ."
        },
        {
          "token_sequence": "EU rejects retired governor to speak British lamb .",
          "tag_sequence": "NNP VBZ JJ NN TO VB JJ NN ."
        }
      ]
    },
    {
      "class": "TagSubsequenceSubstitution",
      "inputs": {
        "token_sequence": "<NAME>",
        "tag_sequence": "NNP NNP"
      },
      "outputs": [
        {
          "token_sequence": "<NAME>",
          "tag_sequence": "NNP NNP"
        },
        {
          "token_sequence": "<NAME>",
          "tag_sequence": "NNP NNP"
        },
        {
          "token_sequence": "<NAME>",
          "tag_sequence": "NNP NNP"
        }
      ]
    },
    {
      "class": "TagSubsequenceSubstitution",
      "inputs": {
        "token_sequence": "BRUSSELS 1996-08-22",
        "tag_sequence": "NNP CD"
      },
      "outputs": [
        {
          "token_sequence": "YORK 59",
          "tag_sequence": "NNP CD"
        },
        {
          "token_sequence": "Celaya 2",
          "tag_sequence": "NNP CD"
        },
        {
          "token_sequence": "Alkmaar 2",
          "tag_sequence": "NNP CD"
        }
      ]
    },
    {
      "class": "TagSubsequenceSubstitution",
      "inputs": {
        "token_sequence": "The European Commission said on Thursday it disagreed with German advice to consumers to shun British lamb until scientists determine whether mad cow disease can be transmitted to sheep .",
        "tag_sequence": "DT NNP NNP VBD IN NNP PRP VBD IN JJ NN TO NNS TO VB JJ NN IN NNS VBP IN JJ NN NN MD VB VBN TO NN ."
      },
      "outputs": [
        {
          "token_sequence": "The European Commission said on Thursday it disagreed with German advice to consumers to shun British lamb until scientists determine whether mad cow disease may have contributed to sheep .",
          "tag_sequence": "DT NNP NNP VBD IN NNP PRP VBD IN JJ NN TO NNS TO VB JJ NN IN NNS VBP IN JJ NN NN MD VB VBN TO NN ."
        },
        {
          "token_sequence": "The European Commission said on Thursday it disagreed against German advice to consumers to shun British lamb until scientists determine whether mad cow disease can be transmitted to sheep .",
          "tag_sequence": "DT NNP NNP VBD IN NNP PRP VBD IN JJ NN TO NNS TO VB JJ NN IN NNS VBP IN JJ NN NN MD VB VBN TO NN ."
        },
        {
          "token_sequence": "The European Commission said on Thursday it disagreed with German advice to bombers to stage simultaneous lamb until scientists determine whether mad cow disease can be transmitted to sheep .",
          "tag_sequence": "DT NNP NNP VBD IN NNP PRP VBD IN JJ NN TO NNS TO VB JJ NN IN NNS VBP IN JJ NN NN MD VB VBN TO NN ."
        }
      ]
    },
    {
      "class": "TagSubsequenceSubstitution",
      "inputs": {
        "token_sequence": "Germany 's representative to the European Union 's veterinary committee <NAME> said on Wednesday consumers should buy sheepmeat from countries other than Britain until the scientific advice was clearer .",
        "tag_sequence": "NNP POS NN TO DT NNP NNP POS JJ NN NNP NNP VBD IN NNP NNS MD VB NN IN NNS JJ IN NNP IN DT JJ NN VBD JJR ."
      },
      "outputs": [
        {
          "token_sequence": "Germany 's representative to the European Union 's veterinary committee <NAME> said on Wednesday consumers should buy sheepmeat from countries other than Britain of the apparent threat was clearer .",
          "tag_sequence": "NNP POS NN TO DT NNP NNP POS JJ NN NNP NNP VBD IN NNP NNS MD VB NN IN NNS JJ IN NNP IN DT JJ NN VBD JJR ."
        },
        {
          "token_sequence": "Germany 's representative to the European Union 's Yugoslav committee <NAME> said on Wednesday consumers should buy sheepmeat from countries other than Britain until the scientific advice was clearer .",
          "tag_sequence": "NNP POS NN TO DT NNP NNP POS JJ NN NNP NNP VBD IN NNP NNS MD VB NN IN NNS JJ IN NNP IN DT JJ NN VBD JJR ."
        },
        {
          "token_sequence": "Germany 's representative to the European Union 's veterinary committee <NAME> revealed in June losses should buy sheepmeat from countries other than Britain until the scientific advice was clearer .",
          "tag_sequence": "NNP POS NN TO DT NNP NNP POS JJ NN NNP NNP VBD IN NNP NNS MD VB NN IN NNS JJ IN NNP IN DT JJ NN VBD JJR ."
        }
      ]
    }
  ]
}


<|start_filename|>transformations/decontextualize_sentence/test.json<|end_filename|>
{
  "type": "Decontextualizer",
  "test_cases": [
    {
      "class": "Decontextualize",
      "inputs": {
        "sentence1": "Two women are wandering along the shore drinking iced tea.",
        "sentence2": "Two women are sitting on a blanket near some rocks talking about politics.",
        "target": "Contradiction"
      },
      "outputs": [{
        "sentence1": "Two women are wandering along the shore drinking iced tea.",
        "sentence2": "Two women are sitting on a blanket .",
        "target": "Contradiction"}
      ]
    },
    {
      "class": "Decontextualize",
      "inputs": {
        "sentence1": "John drove the car to reach the hospital.",
        "sentence2": "John drove the car to reach the hospital.",
        "target": "Entailment"
      },
      "outputs": [{
        "sentence1": "John drove the car to reach the hospital.",
        "sentence2": "John drove the car .",
        "target": "Entailment"}
      ]
    },
    {
      "class": "Decontextualize",
      "inputs": {
        "sentence1": "A Filipino hostage in Iraq was released.",
        "sentence2": "A Filipino hostage was freed in Iraq.",
        "target": "Entailment"
      },
      "outputs": [{
        "sentence1": "A Filipino hostage in Iraq was released.",
        "sentence2": "A Filipino hostage was freed .",
        "target": "Entailment"}
      ]
    },
    {
      "class": "Decontextualize",
      "inputs": {
        "sentence1": "Two dogs are running through a field.",
        "sentence2": "The pets are sitting on a couch in a grass field.",
        "target": "Contradiction"
      },
      "outputs": [{
        "sentence1": "Two dogs are running through a field.",
        "sentence2": "The pets are sitting on a couch .",
        "target": "Contradiction"}
      ]
    },
    {
      "class": "Decontextualize",
      "inputs": {
        "sentence1": "American Airlines began laying off hundreds of flight attendants on Tuesday, after a federal judge turned aside a union’s bid to block the job losses",
        "sentence2": "American Airlines will recall hundreds of flight attendants as it steps up the number of flights it operates",
        "target": "Contradiction"
      },
      "outputs": [{
        "sentence1": "American Airlines began laying off hundreds of flight attendants on Tuesday, after a federal judge turned aside a union’s bid to block the job losses",
        "sentence2": "American Airlines will recall hundreds of flight attendants",
        "target": "Contradiction"}
      ]
    }

  ]
}


<|start_filename|>transformations/yes_no_question/test.json<|end_filename|>
{
  "type": "yes_no_question_perturbation",
  "test_cases": [
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "Andrew finally returned the French book to Chris that I bought last week"
      },
      "outputs": [{
        "sentence": "Did Andrew finally return the French book to Chris that I bought last week? Yes."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "<NAME> served as 33rd Premier of British Columbia from 2000 to 2001"
      },
      "outputs": [{
        "sentence": "Did <NAME> serve as 33rd Premier of British Columbia from 2000 to 2001? Yes."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "Neuroplasticity is a continuous processing allowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organization."
      },
      "outputs": [{
        "sentence": "Is neuroplasticity a continuous processing allowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organization? Yes."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "Dave isn't going to Seattle."
      },
      "outputs": [{
        "sentence": "Is Dave going to Seattle? No."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "He has decided that you aren't ready yet."
      },
      "outputs": [{
        "sentence": "Has he decided that you aren't ready yet? Yes."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "He likes me because I cook for him."
      },
      "outputs": [{
        "sentence": "Does he like me because I cook for him? Yes."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "He likes to walk and she likes to run."
      },
      "outputs": [{
        "sentence": "He likes to walk and she likes to run."
      }]
    },
    {
      "class": "YesNoQuestionPerturbation",
      "inputs": {
        "sentence": "Vikram was here yesterday. He didn't want to eat any cake."
      },
      "outputs": [
        {
          "sentence": "Was Vikram here yesterday? Yes. Did he want to eat any cake? No."
        }
      ]
    }
  ]
}


<|start_filename|>transformations/summarization_transformation/test.json<|end_filename|>
{
  "type": "summarization_transformation",
  "test_cases": [
    {
      "class": "Summarization",
      "inputs": {
        "sentence": "Apple is looking at buying U.K. startup which costs me for $132 billion."
      },
      "outputs": [{
        "sentence": "Apple looking startup, startup costs me"
      }]
    },
    {
      "class": "Summarization",
      "inputs": {
        "sentence": "Parsley Energy to acquire Jagged Peak Energy Company in an all-stock deal."
      },
      "outputs": [{
        "sentence": "Energy acquire Company"
      }]
    },
    {
      "class": "Summarization",
      "inputs": {
        "sentence": "Stillwater is not a 2010 American live-action/animated dark fantasy adventure film"
      },
      "outputs": [{
        "sentence": "Stillwater !is film"
      }]
    },
    {
      "class": "Summarization",
      "inputs": {
        "sentence": "Jack was the leader of the team, but Harry is better than him."
      },
      "outputs": [{
        "sentence": "Jack was leader, Harry is better"
      }]
    }
  ]
}


<|start_filename|>transformations/color_transformation/test.json<|end_filename|>
{
  "type": "color_transformation",
  "test_cases": [
    {
      "class": "ColorTransformation",
      "inputs": {
        "sentence": "I am feeling blue today."
      },
      "outputs": [{
        "sentence": "I am feeling misty rose today."
      }]
    },
    {
      "class": "ColorTransformation",
      "inputs": {
        "sentence": "I bought this pink pair of shoes today! Isn't it pretty?"
      },
      "outputs": [{
        "sentence": "I bought this misty rose pair of shoes today! Isn't it pretty?"
      }]
    },
    {
      "class": "ColorTransformation",
      "inputs": {
        "sentence": "What is your favorite color? I think mine is blue, but sometimes I prefer orange."
      },
      "outputs": [{
        "sentence": "What is your favorite color? I think mine is orchid, but sometimes I prefer misty rose."
      }]
    },
    {
      "class": "ColorTransformation",
      "inputs": {
        "sentence": "Tom bought 3 apples, 1 orange, and 4 bananas and paid $10."
      },
      "outputs": [{
        "sentence": "Tom bought 3 apples, 1 misty rose, and 4 bananas and paid $10."
      }]
    },
    {
      "class": "ColorTransformation",
      "inputs": {
        "sentence": "All swans are white."
      },
      "outputs": [{
        "sentence": "All swans are misty rose."
      }]
    }
  ]
}


<|start_filename|>transformations/replace_financial_amounts/test.json<|end_filename|>
{
  "type": "replace_financial_amounts",
  "test_cases": [
    {
      "class": "ReplaceFinancialAmount",
      "inputs": {
        "sentence": "Please, could you lend me € 20. I own Fred € 10 and I need € 10 for the bus?"
      },
      "outputs": [{
        "sentence": "Please, could you lend me 2 949.13 Yen. I own Fred 1 474.57 Yen and I need 1 474.57 Yen for the bus?"
      }]
    },
    {
      "class": "ReplaceFinancialAmount",
      "inputs": {
        "sentence": "It is 10 euros or 10 USD or 10 Pounds for the ticket? It is actually £ 20!"
      },
      "outputs": [{
        "sentence": "It is 1 474.57 Yen or 11 dollars or 105 yuan for the ticket? It is actually 211.28 yuan!"
      }]
    },
    {
      "class": "ReplaceFinancialAmount",
      "inputs": {
        "sentence": "Paul likes coffee and Mary tea does not contain financial amounts to replace."
      },
      "outputs": [{
        "sentence": "Paul likes coffee and Mary tea does not contain financial amounts to replace."
      }]
    },
    {
      "class": "ReplaceFinancialAmount",
      "inputs": {
        "sentence": "The email from the HR indicated that my salary will increase by a whole $13 000."
      },
      "outputs": [{
        "sentence": "The email from the HR indicated that my salary will increase by a whole 1610869 Yen."
      }]
    },
    {
      "class": "ReplaceFinancialAmount",
      "inputs": {
        "sentence": "Hi Franck. It seems that the 50 giftcards at 10 USD each amounts to 200 USD on the bill when it should be 500 USD."
      },
      "outputs": [{
        "sentence": "Hi Franck. It seems that the 50 giftcards at 1 239.13 Yen each amounts to 24 782.61 Yen on the bill when it should be 61,956 Yen."
      }]
    },
    {
      "class": "ReplaceFinancialAmount",
      "inputs": {
        "sentence": "You need to pay 0.01 bitcoin in order to get your file back before 2 days."
      },
      "outputs": [{
        "sentence": "You need to pay 271.34 Pounds in order to get your file back before 2 days."
      }]
    }
  ]
}


<|start_filename|>transformations/dyslexia_words_swap/test.json<|end_filename|>
{
  "type": "DyslexiaWordsSwap",
  "test_cases": [
    {
      "class": "DyslexiaWordsSwap",
      "inputs": {
        "sentence": "The Interim Cryogenic Propulsion Stage for the second flight of NASA’s Space Launch System (SLS) rocket arrived in Florida on July 28 for the final phase of production."
      },
      "outputs": [
        {
          "sentence": "The Interim Cryogenic Propulsion Stage four the second flight off NASA’s Space Launch System (SLS) rocket arrived in Florida on July 28 four the final phase off production."
        }
      ]
    },
    {
      "class": "DyslexiaWordsSwap",
      "inputs": {
        "sentence": "Biden hails your relationship with Australia just days after new partnership drew ire from France."
      },
      "outputs": [
        {
          "sentence": "Biden hails you're relationship with Australia just days after new partnership drew ire from France."
        }
      ]
    },
    {
      "class": "DyslexiaWordsSwap",
      "inputs": {
        "sentence": "When a deep learning model is deployed in the wild, it can encounter test data drawn from distributions different from the training data distribution and suffer drop in performance."
      },
      "outputs": [
        {
          "sentence": "When a deep learning model is deployed in the wild, it can encounter test data drawn from distributions different from the training data distribution and suffer drop in performance."
        }
      ]
    },
    {
      "class": "DyslexiaWordsSwap",
      "inputs": {
        "sentence": "Data distribution in the real world may be wildly different from the training dataset for various reasons such as covariate shift due to domain divergence"
      },
      "outputs": [
        {
          "sentence": "Data distribution in the real world may be wildly different from the training dataset four various reasons such as covariate shift due too domain divergence"
        }
      ]
    },
    {
      "class": "DyslexiaWordsSwap",
      "inputs": {
        "sentence": "Please, you should be careful and must wear a mask."
      },
      "outputs": [
        {
          "sentence": "Please, you should be careful and must where a mask."
        }
      ]
    }
  ]
}


<|start_filename|>transformations/speech_disfluency_perturbation/test.json<|end_filename|>
{
  "type": "speech_disfluency_perturbation",
  "test_cases": [
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "Andrew finally returned the French book to Chris that I bought last week"
      },
      "outputs": [
        {
          "sentence": "Andrew finally um returned the French book to Chris that I bought last ah week"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "Sentences with gapping, such as Paul likes coffee and Mary tea, lack an overt predicate to indicate the relation between two or more arguments."
      },
      "outputs": [
        {
          "sentence": "Sentences with gapping, uh such as Paul likes coffee and Mary tea, lack an er overt predicate to indicate the uh relation between two or more arguments."
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "Alice in Wonderland is a 2010 American live-action/animated dark fantasy adventure film"
      },
      "outputs": [
        {
          "sentence": "Alice in Wonderland is er a 2010 American live-action/animated dark fantasy adventure film"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "<NAME> served as 33rd Premier of British Columbia from 2000 to 2001"
      },
      "outputs": [
        {
          "sentence": "<NAME> served as 33rd Premier of British Columbia from 2000 to ah 2001"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "Neuroplasticity is a continuous processing allowing short-term, medium-term, and long-term remodeling of the neuronosynaptic organization."
      },
      "outputs": [
        {
          "sentence": "Neuroplasticity is a continuous processing allowing short-term, medium-term, and long-term remodeling of uh the neuronosynaptic organization."
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "Yes"
      },
      "outputs": [
        {
          "sentence": "Yes ah"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": "Of course"
      },
      "outputs": [
        {
          "sentence": "Of ah course"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "inputs": {
        "sentence": ""
      },
      "outputs": [
        {
          "sentence": "ah"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "args": {
        "filler_words": [
          "oof",
          "agh"
        ]
      },
      "inputs": {
        "sentence": "Where did you learn how to drive again?"
      },
      "outputs": [
        {
          "sentence": "Where did you learn how oof to drive again?"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "args": {
        "filler_words": [
          "eek"
        ]
      },
      "inputs": {
        "sentence": "I'm deathly afraid of mice!"
      },
      "outputs": [
        {
          "sentence": "I'm deathly eek afraid of mice!"
        }
      ]
    },
    {
      "class": "SpeechDisfluencyPerturbation",
      "args": {
        "filler_words": [
          "hmph",
          "ahem",
          "wheeze"
        ]
      },
      "inputs": {
        "sentence": "I've had a sore throat all week."
      },
      "outputs": [
        {
          "sentence": "I've had ahem a sore throat all week."
        }
      ]
    }
  ]
}


<|start_filename|>filters/englishness/vocab_map.json<|end_filename|>
{
  "Scotch tape": "sellotape",
  "a little": "a tad",
  "a look": "a gander",
  "angry": "cheesed off",
  "asylum": "nuthouse",
  "attorney": "barrister",
  "baby carriage": "pram",
  "bathroom": "loo",
  "boss": "gaffer",
  "broken": "knackered",
  "call collect": "reverse charges",
  "cat": "moggy",
  "checkers": "draughts",
  "cigarette": "fag",
  "corn": "maize",
  "cuffs": "turn-ups",
  "curb": "kerb",
  "customer": "punter",
  "cutlery": "eating irons",
  "dangerous": "dodgy",
  "desirable": "jammy",
  "diaper": "nappy",
  "difficult": "dodgy",
  "disgusted": "cheesed off",
  "dish-towel": "tea-towel",
  "divided highway": "dual carriageway",
  "drug store": "chemist's",
  "drunk": "gassed",
  "eavesdrop": "earwig",
  "employer": "gaffer",
  "engineer": "engine driver",
  "English muffin": "crumpet",
  "excellent": "corking",
  "exhausted": "knackered",
  "fed up": "cheesed off",
  "fool": "prat",
  "foolish": "moony",
  "foreman": "gaffer",
  "freeway": "motorway",
  "funds": "lolly",
  "gambler": "punter",
  "garbage": "rubbish",
  "garbage can": "rubbish-bin",
  "garbage collector": "dustman",
  "garbageman": "dustman",
  "gasoline": "petrol",
  "gear-shift": "gear-lever",
  "generator": "dynamo",
  "handcuffs": "darbies",
  "house": "gaff",
  "kitten": "moggy",
  "lavatory": "loo",
  "lies": "porkies",
  "liquor store": "off-license",
  "lucky": "jammy",
  "mail carrier": "postman",
  "mailbox": "postbox",
  "mailman": "postman",
  "man": "bloke",
  "math": "maths",
  "money": "lolly",
  "moron": "pillock",
  "mouth": "gob",
  "nonsense": "codswallop",
  "nose": "hooter",
  "nothing": "nowt",
  "odds and ends": "odds and sods",
  "offended": "miffed",
  "oil pan": "sump",
  "old man": "geezer",
  "optometrist": "optician",
  "outstanding": "corking",
  "patron": "punter",
  "pavement": "road surface",
  "pleasant": "jammy",
  "potato chips": "potato crisps",
  "railroad": "railway",
  "railway car": "railway carriage",
  "raincoat": "mackintosh",
  "schedule": "timetable",
  "sedan": "saloon",
  "shopper": "punter",
  "sneakers": "gym shoes",
  "spat": "gobbed",
  "spool of thread": "reel of cotton",
  "stroller": "push-chair",
  "subway": "underground railway",
  "sucker": "punter",
  "teeth": "ivories",
  "the brakes": "the anchors",
  "the movies": "the cinema",
  "the police": "the fuzz",
  "thumbtack": "drawing pin",
  "tired": "knackered",
  "trash": "rubbish",
  "trash can": "rubbish-bin",
  "trashcan": "rubbish-bin",
  "truck": "lorry",
  "turnpike": "toll motorway",
  "upset": "miffed",
  "vacation": "holiday",
  "vacuum cleaner": "hoover",
  "windshield": "windscreen",
  "wrench": "spanner"
}

<|start_filename|>transformations/yoda_transform/test.json<|end_filename|>
{
  "type": "yoda_transform",
  "test_cases": [
    {
      "class": "YodaPerturbation",
      "inputs": {
        "sentence": "Andrew returned my book"
      },
      "outputs": [{
        "sentence": "My book, Andrew returned"
      }]
    },
    {
      "class": "YodaPerturbation",
      "inputs": {
        "sentence": "You must find the treasure"
      },
      "outputs": [{
        "sentence": "Find the treasure, you must"
      }]
    },
    {
      "class": "YodaPerturbation",
      "inputs": {
        "sentence": "Alice in Wonderland is a 2010 American live-action/animated dark fantasy adventure film"
      },
      "outputs": [{
        "sentence": "A 2010 american live- action/ animated dark fantasy adventure film, alice in Wonderland is"
      }]
    },
    {
      "class": "YodaPerturbation",
      "inputs": {
        "sentence": "The brain is one of the most complex organs in the body"
      },
      "outputs": [{
        "sentence": "One of the most complex organs in the body, the brain is"
      }]
    },
    {
      "class": "YodaPerturbation",
      "inputs": {
        "sentence": "We are unwrapping our Christmas presents"
      },
      "outputs": [{
        "sentence": "Unwrapping our Christmas presents, we are"
      }]
    }
  ]
}


<|start_filename|>transformations/grapheme_to_phoneme_transformation/test.json<|end_filename|>

{
  "type": "phoneme_substitution",
  "test_cases": [
    {
      "class": "PhonemeSubstitution",
      "inputs": {
        "sentence": "Andrew finally returned the French book to Chris that I bought last week."
      },
      "outputs": [
        {
          "sentence": [
            "Andrew finally rihternd dhah French buhk to krihs dhaet I bought last wiyk."
          ]
        }
      ]
    },
    {
      "class": "PhonemeSubstitution",
      "inputs": {
        "sentence": "Sentences with gapping, such as Paul likes coffee and Mary tea, lack an overt predicate to indicate the relation between two or more arguments."
      },
      "outputs": [
        {
          "sentence": [
            "Sentences with gapping, sahch as paol likes kaafiy ahnd Mary tea, lack aen overt predicate tuw indicate the relation between tuw or more arguments."
          ]
        }
      ]
    },
    {
      "class": "PhonemeSubstitution",
      "inputs": {
        "sentence": "Albany Theatre is a historic theater in Albany, Georgia. It was added to the National Register of Historic Places on August 21, 2006."
      },
      "outputs": [
        {
          "sentence": [
            "Albany Theatre ihz ah historic thiyahter in aolbahniy, jhaorjhah. It was added tuw the National rehjhihster of Historic Places on aagahst 21, 2006."
          ]
        }
      ]
    },
    {
      "class": "PhonemeSubstitution",
      "inputs": {
        "sentence": "The Royal Air Force (RAF) is the United Kingdom's aerial warfare force."
      },
      "outputs": [
        {
          "sentence": [
            "The Royal ehr faors( RAF) ihz the yuwnaytihd kihngdahm 's aerial warfare faors."
          ]
        }
      ]
    },
    {
      "class": "PhonemeSubstitution",
      "inputs": {
        "sentence": " The drink's name is a combination of the word pisco, which is its base liquor, and the term sour, in reference to sour citrus juice and sweetener components."
      },
      "outputs": [
        {
          "sentence": [
            "  The drihngk ehs name ihz a kaambahneyshahn ahv the word pisco, wihch is its beys liquor, and the term sawer, in reference to sawer sihtrahs jhuws and sweetener components."
          ]
        }
      ]
    }
  ]
}

<|start_filename|>transformations/replace_abbreviation_and_acronyms/test.json<|end_filename|>
{
  "type": "replace_abbreviation_and_acronyms",
  "test_cases": [
    {
      "class": "ReplaceAbbreviations",
      "inputs": {
        "sentence": "Please, could you send me your report asap?"
      },
      "outputs": [{
        "sentence": "Please, could you send me your report as soon as possible?"
      }]
    },
    {
      "class": "ReplaceAbbreviations",
      "inputs": {
        "sentence": "Paul likes coffee and Mary tea does not contain relation predicate."
      },
      "outputs": [{
        "sentence": "Paul likes coffee and Mary tea does not contain relation predicate."
      }]
    },
    {
      "class": "ReplaceAbbreviations",
      "inputs": {
        "sentence": "The email from the HR indicated that the whole COVID situation is not solved yet."
      },
      "outputs": [{
        "sentence": "The email from the human resources indicated that the whole COVID situation is not solved yet."
      }]
    },
    {
      "class": "ReplaceAbbreviations",
      "inputs": {
        "sentence": "Sorry, I am currently out. I will be out of office until May 3rd for personal reasons."
      },
      "outputs": [{
        "sentence": "Sorry, I am currently out. I will be OOO until May 3rd for personal reasons."
      }]
    },
    {
      "class": "ReplaceAbbreviations",
      "inputs": {
        "sentence": "The new R&D department was assigned a new chief technology officer in order to replace the previous one as soon as possible"
      },
      "outputs": [{
        "sentence": "The new research and development department was assigned a new CTO in order to replace the previous one as soon as possible"
      }]
    },
    {
      "class": "ReplaceAbbreviations",
      "inputs": {
        "sentence": "Kapur's credit,"
      },
      "outputs": [{
        "sentence": "Kapur's CR,"
      }]
    }
  ]
}


<|start_filename|>transformations/back_translation_ner/test.json<|end_filename|>
{
    "type": "back_translation_ner",
    "test_cases": [
        {
            "class": "BackTranslationNER",
            "inputs": {"token_sequence": "Musk has been the subject of criticism due to unorthodox or unscientific stances and highly publicized controversies.",
            "tag_sequence": "B-PER O O O O O O O O O O O O O O O O"},
            "outputs": [
                {"token_sequence": "Musk has been criticized for unorthodox or unscientific attitudes and public controversies.",
                "tag_sequence": "B-PER O O O O O O O O O O O"}
            ]
        },
        {
            "class": "BackTranslationNER",
            "inputs": {"token_sequence": "The US Securities and Exchange Commission sued Musk for falsely tweeting that he had secured funding for a private takeover of Tesla.",
            "tag_sequence": "O B-ORG I-ORG I-ORG I-ORG I-ORG O B-PER O O O O O O O O O O O O O B-ORG"},
            "outputs": [
              {"token_sequence": "The US Securities and Exchange Commission sued Musk because he mistakenly tweeted that he had secured funding for a private takeover of Tesla.",
                "tag_sequence": "O B-ORG I-ORG I-ORG I-ORG I-ORG O B-PER O O O O O O O O O O O O O O B-ORG"}
            ]
          },
          {
            "class": "BackTranslationNER",
            "inputs": {"token_sequence": "At age 10 , Musk developed an interest in computing and video games and purchased a Commodore VIC-20.",
            "tag_sequence": "O O O O B-PER O O O O O O O O O O O B-DEVICE I-DEVICE"},
            "outputs": [
              {"token_sequence": "At the age of 10 years, Musk developed an interest in computer and video games and bought a Commodore VIC-20.",
                "tag_sequence": "O O O O O O B-PER O O O O O O O O O O O B-DEVICE I-DEVICE"}
            ]
          },
          {
            "class": "BackTranslationNER",
            "inputs": {"token_sequence": "Shannon received his PhD from MIT in 1940.",
            "tag_sequence": "B-PER O O O O B-ORG O O"},
            "outputs": [
              {"token_sequence": "Shannon received his doctorate from MIT in 1940.",
                "tag_sequence": "B-PER O O O O B-ORG O O"}
            ]
          },
          {
            "class": "BackTranslationNER",
            "inputs": {"token_sequence": "Facebook announced that it would combat fake news by using fact checkers from sites like FactCheck.org and Associated Press.",
            "tag_sequence": "B-ORG O O O O O O O O O O O O O O B-WEBSITE O B-WEBSITE I-WEBSITE"},
            "outputs": [
              {"token_sequence": "Facebook announced that it would fight fake news by providing fact-checkers from sites such as FactCheck.org and Associated Press.",
                "tag_sequence": "B-ORG O O O O O O O O O O O O O O B-WEBSITE O B-WEBSITE I-WEBSITE"}
            ]
          }
      ]
    }
