Skip to content

Commit

Permalink
Bugs NOSTOP
Browse files Browse the repository at this point in the history
  • Loading branch information
glorieux-f committed Feb 16, 2025
1 parent d2a3bda commit 301cbcb
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 12 deletions.
Binary file modified alix-cli/lib/alix-0.9.2-SNAPSHOT.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ public FormEnum formEnum(final BitSet docFilter, final TagFilter formFilter, Dis
else if (locs) { // special tag
if(!formId4isLoc.get(formId)) continue;
}
else if (hasTags) {
// tags which are not NOSTOP or LOC
if (hasTags) {
if(!formFilter.get(formId4flag[formId])) continue;
}
// if formId is negative, let the error go, problem in reader
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/com/github/oeuvres/alix/fr/locutions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ a priori,SUB,,
à votre encontre,ADV,,
à vrai dire,ADV,,
au premier chef,ADV,,
au premier abord,ADV,,
au bas,ADV,,
au bas d',PREP,au bas de,
au bas de,PREP,,
Expand Down Expand Up @@ -522,6 +523,7 @@ de plus en plus,ADV,,
de préférence à,PREP,de préférence à,
de préférence au,PREP,de préférence à,
de préférence aux,PREP,de préférence à,
de prime abord,ADV,,
de profundis,SUB,,
de santis,SUB,,
de sorte que,CONJsub,,
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/com/github/oeuvres/alix/fr/orth.csv
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@ Schéhérazade;Shéhérazade
Schérer;Scherer
Sénancour;Senancour
Sénancourt;Senancour
sensorimoteur;sensori-moteur
sensorimotrice;sensori-motrice
sensorimotrices;sensori-motrices
sensorimoteurs;sensori-moteurs
Sforce;Sforza
shakspearien;shakespearien
Shylok;Shylock
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/com/github/oeuvres/alix/fr/stop.csv
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ ceulx
ceux
cf.
chacun
chap
chaque
chascun
cher
Expand All @@ -255,6 +256,7 @@ cinq
cinquante
cit.
cm
coll
com
combien
comme
Expand Down Expand Up @@ -819,6 +821,10 @@ seroit
serons
seront
ses
seul
seule
seules
seuls
si
sien
sienne
Expand Down
24 changes: 14 additions & 10 deletions src/main/resources/com/github/oeuvres/alix/fr/word.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ GRAPH;CAT;LEM;graph=lem;orthfreq;lemfreq;orthis;lemis;
a;VERBaux;avoir;;2926.69;12800.81;1;;
a;VERB;avoir;;1669.39;6426.49;0;;
à;PREP;;1;19209.05;19209.05;1;;
a b c;SUB
A B C;SUB
a b c;SUB;;;;;;;
A B C;SUB;;;;;;;
a contrario;ADV;;1;0.27;0.27;1;;
a fortiori;ADV;;1;0.88;0.88;1;;
a giorno;ADV;;1;0.27;0.27;1;;
Expand Down Expand Up @@ -11707,7 +11707,7 @@ autonome;SUB;;1;0.14;0.27;0;;
autonomes;ADJ;autonome;;1.01;2.91;1;;
autonomes;SUB;autonome;;0.14;0.27;0;;
autonomie;SUB;;1;2.16;2.16;1;;
autonomies;SUB;autonomie
autonomies;SUB;autonomie;;;;;;
autonomique;ADJ;;1;0;0;1;;
autonomistes;SUB;autonomiste;;0.14;0.14;1;;
autonomistes;ADJ;autonomiste;;0.07;0.07;0;;
Expand Down Expand Up @@ -41354,7 +41354,7 @@ dénuée;VERBppass;dénuer;;1.42;4.8;1;;
dénuée;ADJ;dénué;;0.27;0.34;0;;
dénuées;VERBppass;dénuer;;0.81;4.8;1;;
dénuement;SUB;;1;3.92;3.92;1;;
dénuer;VERB;
dénuer;VERB;;;;;;;
dénués;VERBppass;dénuer;;0.88;4.8;1;;
dénués;ADJ;dénué;;0.07;0.34;0;;
deo gratias;SUB;;1;0.2;0.2;1;;
Expand Down Expand Up @@ -62552,7 +62552,7 @@ fédéralisme;SUB;;1;0.07;0.07;1;;
fédéraliste;ADJ;;1;0;0;1;;
fédérateur;SUB;;1;0.07;0.07;1;;
fédérateur;ADJ;;1;0;0;0;;
fédératif;ADJ
fédératif;ADJ;;;;;;;
fédération;SUB;;1;2.23;2.36;1;;
fédérations;SUB;fédération;;0.14;2.36;1;;
fédérative;ADJ;fédératif;;0.07;0.07;1;;
Expand Down Expand Up @@ -91250,7 +91250,7 @@ misanthropie;SUB;;1;0.41;0.41;1;;
misanthropiques;ADJ;misanthropique;;0.07;0.07;1;;
misât;VERB;miser;;0.07;3.78;1;;
miscible;ADJ;;1;0;0;1;;
# mises en question
# mises en question;;;;;;;;
mise;VERB;mettre;;46.69;1083.72;1;;
mises;VERB;mettre;;46.69;1083.72;1;;
mise;SUB;;1;36.08;39.86;0;;
Expand Down Expand Up @@ -94168,7 +94168,7 @@ nationalisent;VERB;nationaliser;;0.07;0.68;1;;
nationaliser;VERB;;1;0.07;0.68;1;;
nationalisés;VERBppass;nationaliser;;0;0.68;1;;
nationalisme;SUB;;1;3.11;3.11;1;;
nationalismes;SUB;nationalisme
nationalismes;SUB;nationalisme;;;;;;
nationalisons;VERB;nationaliser;;0.07;0.68;1;;
nationaliste;ADJ;;1;1.76;2.57;1;;
nationaliste;SUB;;1;0.34;1.55;0;;
Expand Down Expand Up @@ -119155,7 +119155,7 @@ remisa;VERB;remiser;;0.2;4.19;1;;
remisai;VERB;remiser;;0.14;4.19;1;;
remisaient;VERB;remiser;;0.07;4.19;1;;
remisait;VERB;remiser;;0.27;4.19;1;;
# remise en question
# remise en question;;;;;;;;
remise;VERB;remettre;;8.58;202.5;0;;
remises;VERB;remettre;;8.58;202.5;0;;
remise;SUB;;1;10.95;12.09;1;;
Expand Down Expand Up @@ -128304,6 +128304,10 @@ sensoriel;ADJ;;1;0.07;0.54;1;;
sensorielle;ADJ;sensoriel;;0.34;0.54;1;;
sensorielles;ADJ;sensoriel;;0.14;0.54;1;;
sensoriels;ADJ;sensoriel;;0;0.54;1;;
sensori-moteur;ADJ;;1;;;;;
sensori-motrice;ADJ;sensori-moteur;;;;;;
sensori-motrices;ADJ;sensori-moteur;;;;;;
sensori-moteurs;ADJ;sensori-moteur;;;;;;
sensualiste;SUB;;1;0.07;0.07;1;;
sensualité;SUB;;1;6.69;6.76;1;;
sensualités;SUB;sensualité;;0.07;6.76;1;;
Expand Down Expand Up @@ -130545,7 +130549,7 @@ sorbets;SUB;sorbet;;0.74;1.55;1;;
sorbier;SUB;;1;0.34;0.47;1;;
sorbiers;SUB;sorbier;;0.14;0.47;1;;
sorbitol;SUB;;1;0;0;1;;
sorbonnard;SUB;
sorbonnard;SUB;;;;;;;
sorbonnarde;SUB;sorbonnard;;0.07;0.07;1;;
sorcellerie;SUB;;1;1.22;1.35;1;;
sorcelleries;SUB;sorcellerie;;0.14;1.35;1;;
Expand Down Expand Up @@ -142558,7 +142562,7 @@ va;VERBaux2;aller;;694.59;2854.93;1;;
va;SUB;;1;0;0;0;;
va-et-vient;SUB;;1;10.61;10.61;1;;
va-tout;SUB;;1;0.41;0.41;1;;
va-t'en;VERB;
va-t'en;VERB;;;;;;;
vacance;SUB;;1;0.88;82.57;1;;
vacances;SUB;vacance;;81.69;82.57;1;;
vacancier;SUB;;1;0.14;2.23;1;;
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/com/github/oeuvres/alix/xml/alix.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,14 @@
</xsl:call-template>
</alix:field>
<xsl:call-template name="links"/>
<xsl:copy-of select="$tags"/>
<xsl:choose>
<xsl:when test="$doctype = 'book'">
<!-- No tags for a book -->
<!-- process chapters -->
<xsl:apply-templates mode="alix" select="*"/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$tags"/>
<alix:field name="text" type="text">
<article>
<xsl:choose>
Expand Down

0 comments on commit 301cbcb

Please sign in to comment.