Skip to content

Commit

Permalink
coverage for Joshua
Browse files Browse the repository at this point in the history
  • Loading branch information
jtauber committed Jan 28, 2017
1 parent bc6d8a5 commit 2f5375a
Show file tree
Hide file tree
Showing 5 changed files with 312 additions and 17 deletions.
4 changes: 2 additions & 2 deletions generate_lxxmorph_lexicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

STEM_GUESSES = defaultdict(lambda: defaultdict(set))

for row in get_words("lxxmorph/06.Deut.mlxx"):
for row in get_words("lxxmorph/08.JoshA.mlxx"):
form = row["word"]
preverb = row["preverb"]
lemma = row["lemma"]
Expand Down Expand Up @@ -44,7 +44,7 @@
else:
stem_guess = [
stem for key, stem in
ginflexion.possible_stems(form, "^" + key + "$")]
ginflexion.possible_stems2(form, "^" + key + "$")]

if [strip_length(w) for w in sorted(generated)] == \
[strip_length(w) for w in sorted(form.split("/"))]:
Expand Down

0 comments on commit 2f5375a

Please sign in to comment.