From e1807cb2705dd64814a82b960346b629107a6f18 Mon Sep 17 00:00:00 2001 From: Flammie A Pirinen Date: Thu, 12 Sep 2024 15:48:41 +0200 Subject: [PATCH] test all lexcies and version++ for new one --- configure.ac | 2 +- src/fst/Makefile.am | 4 +++- src/fst/testroot.lexc | 13 +++++++++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d013049..70811db 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . -AC_INIT([giella-shared-mul], [0.0.1], [bugs@divvun.no], [giella-shared-mul], [http://divvun.no]) +AC_INIT([giella-shared-mul], [0.0.2], [bugs@divvun.no], [giella-shared-mul], [http://divvun.no]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.9 tar-pax -Wall -Werror foreign]) diff --git a/src/fst/Makefile.am b/src/fst/Makefile.am index c04b235..cfab086 100644 --- a/src/fst/Makefile.am +++ b/src/fst/Makefile.am @@ -23,6 +23,8 @@ pkgsrcfst_DATA=url.lexc if CAN_HFST_LEXC check-local: $(HFST_LEXC) --Werror -v url.lexc -o /dev/null - $(HFST_LEXC) --Werror -v testroot.lexc stems/telephone.lexc -o /dev/null + $(HFST_LEXC) --Werror -v testroot.lexc \ + stems/telephone.lexc stems/symbols.lexc \ + stems/punctuation.lexc -o /dev/null endif diff --git a/src/fst/testroot.lexc b/src/fst/testroot.lexc index f94e715..4b9f097 100644 --- a/src/fst/testroot.lexc +++ b/src/fst/testroot.lexc @@ -6,12 +6,13 @@ Multichar_Symbols +TEL +URL +Gen +Sg +URL +Num +Arab +Use/Circ - ++N +Sym LEXICON Root 0 telephones ; - +0 Punctuation ; +0 Symbols ; LEXICON telephoneNumInflections @@ -23,3 +24,11 @@ LEXICON telephoneURLInflections 0 # ; +LEXICON Noun_symbols_never_inflected + ++N+Sym:0 # ; + +LEXICON Noun_symbols_possibly_inflected + ++N+Sym:0 # ; ++N+Sym+Gen+Sg:'s # ;