Skip to content

Commit

Permalink
[Template merge] Revert to multifile lemma extraction instead of for …
Browse files Browse the repository at this point in the history
…loop
  • Loading branch information
snomos committed Mar 6, 2024
1 parent bc53fe5 commit 941c89c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion m4/giella-macros.m4
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ AC_MSG_RESULT([$GIELLA_CORE])
###############################################################
### This is the version of the Giella Core that we require. ###
### UPDATE AS NEEDED.
_giella_core_min_version=0.22.0
_giella_core_min_version=0.22.2
# GIELLA_CORE/GTCORE env. variable, required by the infrastructure to find scripts:
AC_ARG_VAR([GIELLA_CORE], [directory for the Giella infra core scripts and other required resources])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@ checked_lemmas=checked_lemmas.txt
##### Extract lemmas - add additional egrep pattern as parameters: #####
##### --include "(pattern1|pattern2|...)" #####
##### --exclude "(pattern1|pattern2|...)" #####
rm -f $lemmas
touch $lemmas
for f in $source_files; do
@GTCORE@/scripts/extract-lemmas.sh \
@GTCORE@/scripts/extract-lemmas.sh \
--exclude "(CmpN/Only|ShCmp|\+Cmp\/SplitR| Rreal | R | Rnoun |\+V\+|NOT-TO-LEMMATEST)" \
$f >> $lemmas
done
$source_files > $lemmas

####### Start testing: #######

Expand Down

0 comments on commit 941c89c

Please sign in to comment.