def test_step4_14(): assert _PorterAlgorithm('communism').stem(4) == 'commun'
def test_step1b_11(): assert _PorterAlgorithm('falling').stem(1) == 'fall'
def test_step1c_1(): assert _PorterAlgorithm('happy').stem(1) == 'happi'
def test_step1b_7(): assert _PorterAlgorithm('conflated').stem(1) == 'conflate'
def test_step1b_9(): assert _PorterAlgorithm('sized').stem(1) == 'size'
def test_step1b_3(): assert _PorterAlgorithm('bled').stem(1) == 'bled'
def test_step1b_5(): assert _PorterAlgorithm('sing').stem(1) == 'sing'
def test_step5_1(): assert _PorterAlgorithm('rate').stem(5) == 'rate'
def test_step5_2(): assert _PorterAlgorithm('probate').stem(5) == 'probat'
def test_step4_18(): assert _PorterAlgorithm('effective').stem(4) == 'effect'
def test_step4_19(): assert _PorterAlgorithm('bowdlerize').stem(4) == 'bowdler'
def test_step4_17(): assert _PorterAlgorithm('homologous').stem(4) == 'homolog'
def test_step4_16(): assert _PorterAlgorithm('angulariti').stem(4) == 'angular'
def test_step4_15(): assert _PorterAlgorithm('activate').stem(4) == 'activ'
def test_step1b_1(): assert _PorterAlgorithm('feed').stem(1) == 'feed'
def test_step5_3(): assert _PorterAlgorithm('cease').stem(5) == 'ceas'
def test_step1b_2(): assert _PorterAlgorithm('agreed').stem(1) == 'agree'
def test_step5_4(): assert _PorterAlgorithm('roll').stem(5) == 'roll'
def test_step1b_4(): assert _PorterAlgorithm('plastered').stem(1) == 'plaster'
def test_step5_5(): assert _PorterAlgorithm('controll').stem(5) == 'control'
def test_step1b_6(): assert _PorterAlgorithm('motoring').stem(1) == 'motor'
def test_step1a_2(): assert _PorterAlgorithm('ties').stem(1) == 'ti'
def test_step1b_8(): assert _PorterAlgorithm('troubled').stem(1) == 'trouble'
def test_is_consonant(): assert _PorterAlgorithm('you')._is_consonant('you', 0) == True
def test_step1b_10(): assert _PorterAlgorithm('tanned').stem(1) == 'tan'
def test_step1a_3(): assert _PorterAlgorithm('caress').stem(1) == 'caress'
def test_step1b_13(): assert _PorterAlgorithm('filing').stem(1) == 'file'
def test_step1a_4(): assert _PorterAlgorithm('cats').stem(1) == 'cat'
def test_step1c_2(): assert _PorterAlgorithm('sky').stem(1) == 'sky'
def test_step4_12(): assert _PorterAlgorithm('adoption').stem(4) == 'adopt'