chrislit/abydos

View on GitHub
abydos/phonetic/_beider_morse_data.py

Summary

Maintainability
F
5 mos
Test Coverage

File _beider_morse_data.py has 5470 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Copyright 2014-2020 by Christopher C. Little.
# This file is part of Abydos.
#
# This file is based on Alexander Beider and Stephen P. Morse's implementation
# of the Beider-Morse Phonetic Matching (BMPM) System, available at
Severity: Major
Found in abydos/phonetic/_beider_morse_data.py - About 2 wks to fix

    Remove this commented out code.
    Open

        ),  # fragakis = fraggakis = frangakis; angel = agel = aggel  # noqa: E501

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # ("s", "", "$", "(s|)"), # Attia(s)

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # burg = berg

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

    # Ashkenazic = Argentina

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ('tsch', '', '', 'tS'),  # german

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # ("aill","","e","aj"), # non Jewish

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ('g', '', '[iey]', '(g|dZ)'),  # get, gem, giant, gigabyte

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ('mb', '', '', '(mb|b)'),  # Liberis = Limperis = Limberis

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

    # General = Ashkenazic

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # ("e", "[BbdfgklmnprsStvzZ]", "[ln][BbdfgklmnprsStvzZ]", ""),

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # burg = berg

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ('g', '', '[iey]', '(g|dZ)'),  # get, gem, giant, gigabyte

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ),  # Panajotti = Panaiotti; Louijos = Louizos; Pantajis = Pantazis = Pantagis  # noqa: E501

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # ("dels", "^", "", "(dilz|s)"),

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ('s', '[aeiouAEIOU]', '[^aeiouAEIOU]', '(s|[64])'),  # Groslot, Grosleau

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # ("des", "^", "", "(dis|dAs|)"),

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        # ("aill","","e","aj"), # non Jewish

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Remove this commented out code.
    Open

        ('lEE', '[bdfgkmnprsStvzZ]', '', '(li|il[32])'),  # Apple = Appel

    Programmers should not comment out code as it bloats programs and reduces readability.

    Unused code should be deleted and can be retrieved from source control history if required.

    See

    • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
    • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
    • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
    • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_RULES_POLISH = (
        # CONVERTING FEMININE TO MASCULINE
        ('ska', '', '$', 'ski'),
        ('cka', '', '$', 'tski'),
        ('lowa', '', '$', '(lova|lof|l|el)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 1 wk to fix
    abydos/phonetic/_beider_morse_data.py on lines 5634..5783

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 876.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_RULES_POLISH = (
        # CONVERTING FEMININE TO MASCULINE
        ('ska', '', '$', 'ski'),
        ('cka', '', '$', 'tski'),
        ('lowa', '', '$', '(lova|lof|l|el)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 1 wk to fix
    abydos/phonetic/_beider_morse_data.py on lines 2521..2670

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 876.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_RULES_GERMAN = (
        # CONSONANTS
        ('ewitsch', '', '$', 'evitS'),
        ('owitsch', '', '$', 'ovitS'),
        ('evitsch', '', '$', 'evitS'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 5 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 5418..5518

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 582.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_RULES_GERMAN = (
        # CONSONANTS
        ('ziu', '', '', 'tsu'),
        ('zia', '', '', 'tsa'),
        ('zio', '', '', 'tso'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 5 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 1986..2086

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 582.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    _GEN_RULES_ENGLISH = (
        # CONSONANTS
        ('’', '', '', ''),  # O’Neill
        ("'", '', '', ''),  # O’Neill
        ('mc', '^', '', 'mak'),  # McDonald
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 2 other locations - About 5 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 59..165
    abydos/phonetic/_beider_morse_data.py on lines 4574..4664

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 516.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    _GEN_APPROX_ANY = (
        # VOWELS
        # "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong")  # noqa: E501
        # {a,o} are totally interchangeable if non-stressed; in German "a/o" can actually be from "ä/ö" (that are equivalent to "e")  # noqa: E501
        # {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i")  # noqa: E501
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 2 other locations - About 5 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 1785..1884
    abydos/phonetic/_beider_morse_data.py on lines 4574..4664

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 516.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    _ASH_HEBREW_COMMON = (
        ('ts', '', '', 'C'),  # for not confusion Gutes [=guts] and Guts [=guc]
        ('tS', '', '', 'C'),  # same reason
        ('S', '', '', 's'),
        ('p', '', '', 'f'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 2 other locations - About 5 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 59..165
    abydos/phonetic/_beider_morse_data.py on lines 1785..1884

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 516.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _GEN_RULES_PORTUGUESE = (
        ('kh', '', '', 'x'),  # foreign
        ('ch', '', '', 'S'),
        ('ss', '', '', 's'),
        ('sc', '', '[ei]', 's'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 4 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 784..864
    abydos/phonetic/_beider_morse_data.py on lines 1588..1663
    abydos/phonetic/_beider_morse_data.py on lines 5160..5235

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 456.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _GEN_RULES_CYRILLIC = (
        ('ця', '', '', 'tsa'),
        ('цю', '', '', 'tsu'),
        ('циа', '', '', 'tsa'),
        ('цие', '', '', 'tse'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 4 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 784..864
    abydos/phonetic/_beider_morse_data.py on lines 2675..2762
    abydos/phonetic/_beider_morse_data.py on lines 5160..5235

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 456.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _GEN_HEBREW_COMMON = (
        ('ts', '', '', 'C'),  # for not confusion Gutes [=guts] and Guts [=guc]
        ('tS', '', '', 'C'),  # same reason
        ('S', '', '', 's'),
        ('p', '', '', 'f'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 4 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 1588..1663
    abydos/phonetic/_beider_morse_data.py on lines 2675..2762
    abydos/phonetic/_beider_morse_data.py on lines 5160..5235

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 456.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _ASH_RULES_CYRILLIC = (
        ('ця', '', '', 'tsa'),
        ('цю', '', '', 'tsu'),
        ('циа', '', '', 'tsa'),
        ('цие', '', '', 'tse'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 4 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 784..864
    abydos/phonetic/_beider_morse_data.py on lines 1588..1663
    abydos/phonetic/_beider_morse_data.py on lines 2675..2762

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 456.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_RULES_GREEK = (
        (
            'αυ',
            '',
            '$',
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 4 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 3709..3795

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 450.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _SEP_RULES_PORTUGUESE = (
        ('kh', '', '', 'x'),  # foreign
        ('ch', '', '', 'S'),
        ('ss', '', '', 's'),
        ('sc', '', '[ei]', 's'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 4 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2091..2180

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 450.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _GEN_RULES_HUNGARIAN = (
        # CONSONANTS
        ('sz', '', '', 's'),
        ('zs', '', '', 'Z'),
        ('cs', '', '', 'tS'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 510..566
    abydos/phonetic/_beider_morse_data.py on lines 3801..3869
    abydos/phonetic/_beider_morse_data.py on lines 4326..4382
    abydos/phonetic/_beider_morse_data.py on lines 5569..5628

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 342.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _SEP_RULES_SPANISH = (
        # Includes both Spanish (Castillian) & Catalan
        # CONSONANTS
        ('ñ', '', '', '(n|nj)'),
        ('ny', '', '', 'nj'),  # Catalan
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 510..566
    abydos/phonetic/_beider_morse_data.py on lines 2341..2400
    abydos/phonetic/_beider_morse_data.py on lines 4326..4382
    abydos/phonetic/_beider_morse_data.py on lines 5569..5628

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 342.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _ASH_RULES_HUNGARIAN = (
        # CONSONANTS
        ('sz', '', '', 's'),
        ('zs', '', '', 'Z'),
        ('cs', '', '', 'tS'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 510..566
    abydos/phonetic/_beider_morse_data.py on lines 2341..2400
    abydos/phonetic/_beider_morse_data.py on lines 3801..3869
    abydos/phonetic/_beider_morse_data.py on lines 4326..4382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 342.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _ASH_APPROX_POLISH = (
        ('aiB', '', '[bp]', '(D|Dm)'),
        ('oiB', '', '[bp]', '(D|Dm)'),
        ('uiB', '', '[bp]', '(D|Dm)'),
        ('eiB', '', '[bp]', '(D|Dm)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 510..566
    abydos/phonetic/_beider_morse_data.py on lines 2341..2400
    abydos/phonetic/_beider_morse_data.py on lines 3801..3869
    abydos/phonetic/_beider_morse_data.py on lines 5569..5628

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 342.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _GEN_APPROX_POLISH = (
        ('aiB', '', '[bp]', '(D|Dm)'),
        ('oiB', '', '[bp]', '(D|Dm)'),
        ('uiB', '', '[bp]', '(D|Dm)'),
        ('eiB', '', '[bp]', '(D|Dm)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2341..2400
    abydos/phonetic/_beider_morse_data.py on lines 3801..3869
    abydos/phonetic/_beider_morse_data.py on lines 4326..4382
    abydos/phonetic/_beider_morse_data.py on lines 5569..5628

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 342.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_RULES_DUTCH = (
        # CONSONANTS
        ('ssj', '', '', 'S'),
        ('sj', '', '', 'S'),
        ('ch', '', '', 'x'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2937..3002

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 336.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_RULES_SPANISH = (
        # Includes both Spanish (Castillian) & Catalan
        # CONSONANTS
        ('ñ', '', '', '(n|nj)'),
        ('ny', '', '', 'nj'),  # Catalan
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 3 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 1721..1779

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 336.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _ASH_APPROX_GERMAN = (
        ('I', '', '$', 'i'),
        ('I', '[aeiAEIOUouQY]', '', 'i'),
        ('I', '', '[^k]$', 'i'),
        ('Ik', '[lr]', '$', '(ik|Qk)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 438..486
    abydos/phonetic/_beider_morse_data.py on lines 641..692
    abydos/phonetic/_beider_morse_data.py on lines 3156..3207
    abydos/phonetic/_beider_morse_data.py on lines 4462..4513

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 294.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _GEN_APPROX_GERMAN = (
        ('I', '', '$', 'i'),
        ('I', '[aeiAEIOUouQY]', '', 'i'),
        ('I', '', '[^k]$', 'i'),
        ('Ik', '[lr]', '$', '(ik|Qk)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 641..692
    abydos/phonetic/_beider_morse_data.py on lines 3156..3207
    abydos/phonetic/_beider_morse_data.py on lines 4266..4314
    abydos/phonetic/_beider_morse_data.py on lines 4462..4513

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 294.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _GEN_EXACT_APPROX_COMMON = (
        ('h', '', '$', ''),
        # VOICED - UNVOICED CONSONANTS
        ('b', '', '[fktSs]', 'p'),
        ('b', '', 'p', ''),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 438..486
    abydos/phonetic/_beider_morse_data.py on lines 3156..3207
    abydos/phonetic/_beider_morse_data.py on lines 4266..4314
    abydos/phonetic/_beider_morse_data.py on lines 4462..4513

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 294.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _ASH_EXACT_APPROX_COMMON = (
        ('h', '', '$', ''),
        # VOICED - UNVOICED CONSONANTS
        ('b', '', '[fktSs]', 'p'),
        ('b', '', 'p', ''),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 438..486
    abydos/phonetic/_beider_morse_data.py on lines 641..692
    abydos/phonetic/_beider_morse_data.py on lines 3156..3207
    abydos/phonetic/_beider_morse_data.py on lines 4266..4314

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 294.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    _SEP_EXACT_APPROX_COMMON = (
        ('h', '', '$', ''),
        # VOICED - UNVOICED CONSONANTS
        ('b', '', '[fktSs]', 'p'),
        ('b', '', 'p', ''),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 4 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 438..486
    abydos/phonetic/_beider_morse_data.py on lines 641..692
    abydos/phonetic/_beider_morse_data.py on lines 4266..4314
    abydos/phonetic/_beider_morse_data.py on lines 4462..4513

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 294.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _SEP_RULES_HEBREW = (
        ('אי', '', '', 'i'),
        ('עי', '', '', 'i'),
        ('עו', '', '', 'VV'),
        ('או', '', '', 'VV'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2296..2335
    abydos/phonetic/_beider_morse_data.py on lines 2464..2515
    abydos/phonetic/_beider_morse_data.py on lines 5524..5563

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 240.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _GEN_RULES_HEBREW = (
        ('אי', '', '', 'i'),
        ('עי', '', '', 'i'),
        ('עו', '', '', 'VV'),
        ('או', '', '', 'VV'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2464..2515
    abydos/phonetic/_beider_morse_data.py on lines 3608..3647
    abydos/phonetic/_beider_morse_data.py on lines 5524..5563

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 240.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _GEN_RULES_LATVIAN = (
        # CONSONANTS
        ('č', '', '', 'tS'),
        ('ģ', '', '', '(d|dj)'),
        # ("ķ","","","(t|ti)"),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2296..2335
    abydos/phonetic/_beider_morse_data.py on lines 3608..3647
    abydos/phonetic/_beider_morse_data.py on lines 5524..5563

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 240.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    _ASH_RULES_HEBREW = (
        ('אי', '', '', 'i'),
        ('עי', '', '', 'i'),
        ('עו', '', '', 'VV'),
        ('או', '', '', 'VV'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 3 other locations - About 2 days to fix
    abydos/phonetic/_beider_morse_data.py on lines 2296..2335
    abydos/phonetic/_beider_morse_data.py on lines 2464..2515
    abydos/phonetic/_beider_morse_data.py on lines 3608..3647

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 240.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_APPROX_RUSSIAN = (
        # VOWELS
        ('I', '', '$', 'i'),
        ('I', '', '[^k]$', 'i'),
        ('Ik', '[lr]', '$', '(ik|Qk)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 1 day to fix
    abydos/phonetic/_beider_morse_data.py on lines 578..605

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 162.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_APPROX_RUSSIAN = (
        # VOWELS
        ('I', '', '$', 'i'),
        ('I', '', '[^k]$', 'i'),
        ('Ik', '[lr]', '$', '(ik|Qk)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 1 day to fix
    abydos/phonetic/_beider_morse_data.py on lines 4391..4418

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 162.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_APPROX_ENGLISH = (
        # VOWELS
        ('I', '', '[^aEIeiou]e', '(Q|i|D)'),  # like in "five"
        ('I', '', '$', 'i'),
        ('I', '[aEIeiou]', '', 'i'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 1 day to fix
    abydos/phonetic/_beider_morse_data.py on lines 391..421

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 150.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_APPROX_ENGLISH = (
        # VOWELS
        ('I', '', '[^aEIeiou]e', '(Q|i|D)'),  # like in "five"
        ('I', '', '$', 'i'),
        ('I', '[aEIeiou]', '', 'i'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 1 day to fix
    abydos/phonetic/_beider_morse_data.py on lines 4205..4235

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 150.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_EXACT_COMMON = (
        ('H', '', '', ''),
        # VOICED - UNVOICED CONSONANTS
        ('s', '[^t]', '[bgZd]', 'z'),
        ('Z', '', '[pfkst]', 'S'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 3 hrs to fix
    abydos/phonetic/_beider_morse_data.py on lines 4520..4531

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_EXACT_COMMON = (
        ('H', '', '', 'h'),
        # VOICED - UNVOICED CONSONANTS
        ('s', '[^t]', '[bgZd]', 'z'),
        ('Z', '', '[pfkst]', 'S'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 3 hrs to fix
    abydos/phonetic/_beider_morse_data.py on lines 702..713

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_EXACT_ANY = (
        ('A', '', '', 'a'),
        ('B', '', '', 'a'),
        ('E', '', '', 'e'),
        ('F', '', '', 'e'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 2 hrs to fix
    abydos/phonetic/_beider_morse_data.py on lines 169..178

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_APPROX_ARABIC = (
        ('1a', '', '', '(D|a)'),
        ('1i', '', '', '(D|i|e)'),
        ('1u', '', '', '(D|u|o)'),
        ('j1', '', '', '(ja|je|jo|ju|j)'),
    Severity: Major
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 2 hrs to fix
    abydos/phonetic/_beider_morse_data.py on lines 4448..4457

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _GEN_EXACT_POLISH = (
        ('B', '', '', 'a'),
        ('F', '', '', 'e'),
        ('P', '', '', 'o'),
        ('E', '', '', 'e'),
    Severity: Minor
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 50 mins to fix
    abydos/phonetic/_beider_morse_data.py on lines 4554..4559

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 36.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    _ASH_EXACT_POLISH = (
        ('B', '', '', 'a'),
        ('F', '', '', 'e'),
        ('P', '', '', 'o'),
        ('E', '', '', 'e'),
    Severity: Minor
    Found in abydos/phonetic/_beider_morse_data.py and 1 other location - About 50 mins to fix
    abydos/phonetic/_beider_morse_data.py on lines 756..761

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 36.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Line too long (103/100)
    Open

    # e.g., ^ means start of word, $ Means End Of Word, [^ei] means anything but e or i, etc.  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (129/100)
    Open

    # pattern is a sequence of characters that might appear after a word has been transliterated into phonetic alphabet  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (110/100)
    Open

        ),  # maybe to add a rule for final m/n that disappears [preceeding vowel becomes nasalized]  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (119/100)
    Open

        # ("c","","[aou]","(k|C[294912])"), # "C" means that the actual letter could be "ç" (cedille omitted)  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (142/100)
    Open

        # "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong")  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (135/100)
    Open

        # "e" and "i" ARE TO BE OMITTED BEFORE (SYLLABIC) n & l: Halperin=Halpern; Frankel = Frankl, Finkelstein = Finklstein  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (102/100)
    Open

        ),  # Applebaum < Appelbaum (English + blend English-something forms as Finklestein)  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (105/100)
    Open

    # These rules are applied after the word has been transliterated into the phonetic alphabet  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (107/100)
    Open

    # if "pattern" matches and acceptance is false, name is not in any of the languages indicated  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (110/100)
    Open

        ),  # maybe to add a rule for final m/n that disappears [preceeding vowel becomes nasalized]  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (116/100)
    Open

    # if "pattern" matches and acceptance is true, name is in one of the languages indicated and no others  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (106/100)
    Open

        ),  # in german, "y" usually appears only in the last position; sometimes before a vowel  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (108/100)
    Open

    # A, E, I, O, P, U should create variants, but a, e, i, o, u should not create any new variant  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (102/100)
    Open

        ),  # Applebaum < Appelbaum (English + blend English-something forms as Finklestein)  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (108/100)
    Open

    # A, E, I, O, P, U should create variants, but a, e, i, o, u should not create any new variant  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (142/100)
    Open

        # "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong")  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (103/100)
    Open

    # e.g., ^ means start of word, $ Means End Of Word, [^ei] means anything but e or i, etc.  # noqa: E501

    Used when a line is longer than a given number of characters.

    Too many lines in module (6216/1000)
    Open

    # Copyright 2014-2020 by Christopher C. Little.

    Used when a module has too many lines, reducing its readability.

    Line too long (135/100)
    Open

        # "e" and "i" ARE TO BE OMITTED BEFORE (SYLLABIC) n & l: Halperin=Halpern; Frankel = Frankl, Finkelstein = Finklstein  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (123/100)
    Open

        ),  # maybe to add a rule for m/n before a consonant that disappears [preceeding vowel becomes nasalized]  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (116/100)
    Open

    # if "pattern" matches and acceptance is true, name is in one of the languages indicated and no others  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (135/100)
    Open

        # {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i")  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (107/100)
    Open

    # if "pattern" matches and acceptance is false, name is not in any of the languages indicated  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (109/100)
    Open

        ),  # sound "h" (absent) can be expressed via /x/, Cojab in Spanish = Kohab ; Hakim = Fakim  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (123/100)
    Open

        ),  # maybe to add a rule for m/n before a consonant that disappears [preceeding vowel becomes nasalized]  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (108/100)
    Open

    # A, E, I, O, P, U should create variants, but a, e, i, o, u should not create any new variant  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (142/100)
    Open

        # {a,o} are totally interchangeable if non-stressed; in German "a/o" can actually be from "ä/ö" (that are equivalent to "e")  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (102/100)
    Open

        ),  # Applebaum < Appelbaum (English + blend English-something forms as Finklestein)  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (112/100)
    Open

    # These rules are substitution rules within the phonetic character space rather than mapping rules  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (135/100)
    Open

        # {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i")  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (102/100)
    Open

    # pattern is a sequence of characters that might appear in the word to be transliterated  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (142/100)
    Open

        # {a,o} are totally interchangeable if non-stressed; in German "a/o" can actually be from "ä/ö" (that are equivalent to "e")  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (102/100)
    Open

        ),  # Applebaum < Appelbaum (English + blend English-something forms as Finklestein)  # noqa: E501

    Used when a line is longer than a given number of characters.

    Line too long (106/100)
    Open

        ),  # in german, "y" usually appears only in the last position; sometimes before a vowel  # noqa: E501

    Used when a line is longer than a given number of characters.

    There are no issues that match your filters.

    Category
    Status