Esempio n. 1
0
 def test_start_single_consonant1(self):
     """
     Words beginning with a single consonant typically replace that
     consonant with shm- (table shmable).
     """
     intext = "table"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmable")
Esempio n. 2
0
 def test_start_vowel1(self):
     """
     Vowel-initial words prepend the shm- directly to the beginning of the
     reduplicant (apple shmapple).
     """
     intext = "apple"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmapple")
Esempio n. 3
0
 def test_two_words1(self):
     """
     When speaking two words, usually only the second word is
     shm-reduplicated (Led Zeppelin Led Shmeppelin).
     """
     intext = "Led Zeppelin"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Led Schmeppelin")
Esempio n. 4
0
 def test_schm_words1(self):
     """
     Shm-reduplication is generally avoided or altered with words that
     already begin with shm-; for instance, schmuck does not yield the
     expected *schmuck schmuck, but rather total avoidance or mutation of
      the shm- (giving forms like schmuck shluck, schmuck fluck, and so on).
     """
     intext = "schmuck"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schnuck")
Esempio n. 5
0
 def test_start_consonant_cluster1(self):
     """
     Words beginning with a consonant cluster are more variable:
     some speakers replace only the first consonant if possible
     (breakfast shmreakfast), others replace the entire cluster
     (breakfast shmeakfast).
     """
     intext = "breakfast"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmeakfast")
Esempio n. 6
0
 def test_school(self):
     intext = "School"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmool")
Esempio n. 7
0
 def test_scotland(self):
     intext = "Scotland"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmotland")
Esempio n. 8
0
 def test_this(self):
     intext = "this"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmis")
Esempio n. 9
0
 def test_ash(self):
     intext = "ash"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmash")
Esempio n. 10
0
 def test_witches(self):
     intext = "witches"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmitches")
Esempio n. 11
0
 def test_ashmont(self):
     intext = "Ashmont"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmashmont")
Esempio n. 12
0
 def test_obscene(self):
     intext = "obscene"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmobscene")
Esempio n. 13
0
 def test_walkman(self):
     intext = "walkman"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmalkman")
Esempio n. 14
0
 def test_schnozz(self):
     intext = "schnozz"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmozz")
Esempio n. 15
0
 def test_terrific(self):
     intext = "terrific"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmerrific")
Esempio n. 16
0
 def test_circus(self):
     intext = "circus"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmircus")
Esempio n. 17
0
 def test_massage(self):
     intext = "massage"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmassage")
Esempio n. 18
0
 def test_gibberish(self):
     intext = "gibberish"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmibberish")
Esempio n. 19
0
 def test_lyrics(self):
     intext = "lyrics"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmyrics")
Esempio n. 20
0
 def test_schmidt(self):
     intext = "Schmidt"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schnidt")
Esempio n. 21
0
 def test_quotes(self):
     intext = "quotes"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmotes")
Esempio n. 22
0
 def test_three_words1(self):
     """
     """
     intext = "red and yellow"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "red and schmellow")
Esempio n. 23
0
 def test_start_single_consonant2(self):
     intext = "HOTEL"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "SCHMOTEL")
Esempio n. 24
0
 def test_nothing(self):
     intext = ""
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "")
Esempio n. 25
0
 def test_start_consonant_cluster2(self):
     intext = "group"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmoup")
Esempio n. 26
0
 def test_sky(self):
     intext = "sky"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmy")
Esempio n. 27
0
 def test_schmooze(self):
     intext = "schmooze"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schnooze")
Esempio n. 28
0
 def test_ishmael(self):
     intext = "Ishmael"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmishmael")
Esempio n. 29
0
 def test_metalinguistic(self):
     intext = "metalinguistic"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmetalinguistic")
Esempio n. 30
0
 def test_wig(self):
     intext = "wig"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmig")