aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xopenrussian.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/openrussian.lua b/openrussian.lua
index 3a4f7e9..39677de 100755
--- a/openrussian.lua
+++ b/openrussian.lua
@@ -187,7 +187,7 @@ function format.noun(word_id, accented)
-- but since the DB lists the partner as a string instead of
-- word_id, finding the right entry could be unreliable.
out_stream:write('.SH PARTNER\n',
- row.partner, '\n')
+ map_accented(row.partner), '\n')
end
out_stream:write('.SH DECLENSION\n',
@@ -276,7 +276,7 @@ function format.verb(word_id, accented)
-- but since the DB lists the partner as a string instead of
-- word_id, finding the right entry could be unreliable
out_stream:write('.SH PARTNER\n',
- lutf8.gsub(row.partner, "[;,] *", ", "), '\n')
+ lutf8.gsub(map_accented(row.partner), "[;,] *", ", "), '\n')
end
-- FIXME: Can we assume that verbs without specified aspect are always