Skip to content

Commit

Permalink
Remove default "m.sg" for flexcode "3"
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerning authored Feb 20, 2024
1 parent 4df0035 commit a5ea814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aaew_linggloss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def computeLingGlossing(flexcode: int, lemmaID: str, pos_subpos: dict):
#elif flexcode == 4: glossing += '(flex: unclear)'
#elif flexcode == 5: glossing += '(flex: problematic)'
#elif flexcode == 9: glossing += '(flex: to be reviewed)'
if flexcode == 3:
glossing = defaultFlexFromPOS(pos, sub_pos)
#if flexcode == 3: # only iff sentence is morphologically tagged, cannot be made sure at the moment
# glossing = defaultFlexFromPOS(pos, sub_pos)
if glossing == '':
if flexcode == 0: glossing = '(unedited)'
elif flexcode == 1: glossing = '(?)'
Expand Down

0 comments on commit a5ea814

Please sign in to comment.