Exemplo n.º 1
0
        assert mark not in otherMarks
        assert mark not in cantillationMarks
    for j,mark in enumerate( otherMarks ):
        #print( j, mark )
        assert otherMarks.count(mark)==1
        assert mark not in consonants
        assert mark not in vowelPoints
        assert mark not in cantillationMarks
    for j,mark in enumerate( cantillationMarks ):
        #print( j, mark )
        assert cantillationMarks.count(mark)==1
        assert mark not in consonants
        assert mark not in vowelPoints
        assert mark not in otherMarks

    BibleOrgSysGlobals.printUnicodeInfo( vowelPoints, "Vowel points" )
    BibleOrgSysGlobals.printUnicodeInfo( cantillationMarks, "Cantillation marks" )



class Hebrew():
    """
    Class for handling a Hebrew string.
    """
    def __init__( self, text ):
        """ Create an new Hebrew object. """
        self.originalText = text
        self.currentText = text
    # end of Hebrew.__init__

Exemplo n.º 2
0
        assert mark not in otherMarks
        assert mark not in cantillationMarks
    for j, mark in enumerate(otherMarks):
        #print( j, mark )
        assert otherMarks.count(mark) == 1
        assert mark not in consonants
        assert mark not in vowelPoints
        assert mark not in cantillationMarks
    for j, mark in enumerate(cantillationMarks):
        #print( j, mark )
        assert cantillationMarks.count(mark) == 1
        assert mark not in consonants
        assert mark not in vowelPoints
        assert mark not in otherMarks

    BibleOrgSysGlobals.printUnicodeInfo(vowelPoints, "Vowel points")
    BibleOrgSysGlobals.printUnicodeInfo(cantillationMarks,
                                        "Cantillation marks")


class Hebrew():
    """
    Class for handling a Hebrew string.
    """
    def __init__(self, text):
        """ Create an new Hebrew object. """
        self.originalText = text
        self.currentText = text

    # end of Hebrew.__init__