Skip to content

Commit

Permalink
Merge pull request #93 from jjmccollum/92-update-to-reflect-updates-t…
Browse files Browse the repository at this point in the history
…o-stemma

⚡ Updated number of STEMMA states to 62 in line with latest update
  • Loading branch information
jjmccollum authored Jan 1, 2025
2 parents 4fbe4de + bc947e4 commit 452274d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions teiphy/collation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1988,8 +1988,8 @@ def get_stemma_symbols(self):
A list of individual characters representing states in readings.
"""
possible_symbols = (
list(string.digits) + list(string.ascii_lowercase)[:12]
) # NOTE: the maximum number of symbols allowed in STEMMA format is 22
list(string.digits) + list(string.ascii_lowercase) + list(string.ascii_uppercase)
) # NOTE: the maximum number of symbols allowed in STEMMA format (other than "?" and "-") is 62
# The number of symbols needed is equal to the length of the longest substantive reading vector:
nsymbols = 0
# If there are no witnesses, then no symbols are needed at all:
Expand Down

0 comments on commit 452274d

Please sign in to comment.