Skip to content

Commit

Permalink
Switched the tag conversion for unspecified actor from X 'someone' to…
Browse files Browse the repository at this point in the history
… XPl 'people'.
  • Loading branch information
aarppe committed Jun 28, 2024
1 parent 912d616 commit 14f6fef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CreeDictionary/API/search/espt_crk.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"+Px3Pl",
"+Px4Sg/Pl",
"+PxX",
"+PxXPl",
],
3: [
# N: number
Expand Down Expand Up @@ -65,6 +66,7 @@
"+4Sg/Pl",
"+5Sg/Pl",
"+X",
"+XPl",
],
3: [
# V: Person - object
Expand All @@ -80,6 +82,7 @@
"+4Sg/PlO",
"+5Sg/PlO",
"+XO",
"+XPlO",
],
}

Expand Down Expand Up @@ -111,13 +114,15 @@ def passthrough_tags_to_tuples(passthrough_tags):
"+12Pl",
2,
), # see https://github.com/UAlbertaALTLab/morphodict/issues/1005
("+XPl", "+X", 2),
# Person - object
("+0SgO", (), 3),
(
"+21PlO",
"+12PlO",
3,
),
("+XPlO", "+XO", 3),
(
"+PV/pimi",
("PV/pimi+"),
Expand All @@ -130,5 +135,6 @@ def passthrough_tags_to_tuples(passthrough_tags):
noun_tag_map = TagMap(
("+Dim", "+Der/Dim", 2),
("+Px21Pl", "+Px12Pl", 2),
("+PxXPl", "+PxX", 2),
*passthrough_tags_to_tuples(noun_passthrough_tags)
)

0 comments on commit 14f6fef

Please sign in to comment.