~linuxgoose/linguistics-robin

729f20b8b8e838f3b19501fc2480fb8e27f34fa9 — Jordan 8 months ago 4b409a6
Update caverphone2.py
1 files changed, 4 insertions(+), 3 deletions(-)

M linguistics_robin/phonetics/caverphone2.py
M linguistics_robin/phonetics/caverphone2.py => linguistics_robin/phonetics/caverphone2.py +4 -3
@@ 2,9 2,7 @@ from .phonetic_algorithm import PhoneticAlgorithm
from ..utils import check_str, check_empty
from typing import List
import string
    
# defined vowels as well as additional characters defined in the specification ("æ","ā","ø")
__vowels : List[str] = ["a","e","i","o","u","æ","ā","ø"]  


class Caverphone2(PhoneticAlgorithm):
    """


@@ 13,6 11,9 @@ class Caverphone2(PhoneticAlgorithm):
    def __init__(self):
        super().__init__()

    # defined vowels as well as additional characters defined in the specification ("æ","ā","ø")
    __vowels : List[str] = ["a","e","i","o","u","æ","ā","ø"]  

    def phonetics(self, word):
        # Step 1.
        check_empty(word)