Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #6
0
 def test_school(self):
     intext = "School"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmool")
Exemple #7
0
 def test_scotland(self):
     intext = "Scotland"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmotland")
Exemple #8
0
 def test_this(self):
     intext = "this"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmis")
Exemple #9
0
 def test_ash(self):
     intext = "ash"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmash")
Exemple #10
0
 def test_witches(self):
     intext = "witches"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmitches")
Exemple #11
0
 def test_ashmont(self):
     intext = "Ashmont"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmashmont")
Exemple #12
0
 def test_obscene(self):
     intext = "obscene"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmobscene")
Exemple #13
0
 def test_walkman(self):
     intext = "walkman"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmalkman")
Exemple #14
0
 def test_schnozz(self):
     intext = "schnozz"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmozz")
Exemple #15
0
 def test_terrific(self):
     intext = "terrific"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmerrific")
Exemple #16
0
 def test_circus(self):
     intext = "circus"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmircus")
Exemple #17
0
 def test_massage(self):
     intext = "massage"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmassage")
Exemple #18
0
 def test_gibberish(self):
     intext = "gibberish"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmibberish")
Exemple #19
0
 def test_lyrics(self):
     intext = "lyrics"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmyrics")
Exemple #20
0
 def test_schmidt(self):
     intext = "Schmidt"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schnidt")
Exemple #21
0
 def test_quotes(self):
     intext = "quotes"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmotes")
Exemple #22
0
 def test_three_words1(self):
     """
     """
     intext = "red and yellow"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "red and schmellow")
Exemple #23
0
 def test_start_single_consonant2(self):
     intext = "HOTEL"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "SCHMOTEL")
Exemple #24
0
 def test_nothing(self):
     intext = ""
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "")
Exemple #25
0
 def test_start_consonant_cluster2(self):
     intext = "group"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmoup")
Exemple #26
0
 def test_sky(self):
     intext = "sky"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmy")
Exemple #27
0
 def test_schmooze(self):
     intext = "schmooze"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schnooze")
Exemple #28
0
 def test_ishmael(self):
     intext = "Ishmael"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "Schmishmael")
Exemple #29
0
 def test_metalinguistic(self):
     intext = "metalinguistic"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmetalinguistic")
Exemple #30
0
 def test_wig(self):
     intext = "wig"
     outtext = schpy.schpy(intext)
     self.assertEqual(outtext, "schmig")