Skip to content

Commit

Permalink
Add test cases and adjust new inflections accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
hatapitk committed Nov 25, 2020
1 parent 9dc31c1 commit b58ea55
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
6 changes: 6 additions & 0 deletions tests/voikkotest/fi-x-vfst/morpho.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2355,6 +2355,12 @@ word:tyhmähkö
expected:1
analysis
CLASS=laatusana
word:ummikoin
expected:2
analysis
COMPARISON=superlative
analysis
SIJAMUOTO=keinonto
word:21.
expected:1
analysis
Expand Down
6 changes: 6 additions & 0 deletions tests/voikkotest/fi-x-vfst/spell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,7 @@ huimahko
hoikahko
!huimahkompi
multavahko
harvinaisehko
haikeahko
tiuhahko
kolkohko
Expand Down Expand Up @@ -865,6 +866,10 @@ tappiota # Kotus 3
!autioa # Kotus 3
aaloeta # Kotus 3
!aaloeeseen # Kotus 3
!ummiksuus # Kotus 4
ummikkous # Kotus 4
ummikompi # Kotus 4
ummikoin # Kotus 4
glamouriton # Kotus 5
!glamoureton # Kotus 5
!poppkissa # Kotus 5
Expand Down Expand Up @@ -940,6 +945,7 @@ hervottomimpaa # Kotus 34
!hervottomaimman # Kotus 34
!hervottomaimpaa # Kotus 34
!lämpimätön # Kotus 35
työttömänsä # Kotus 35
hyttynen # Kotus 38
!leikkimielisisissä # Kotus 38, ei inen-johdosta
!kissahyttysinen # Kotus 38, ei inen-johdosta
Expand Down
26 changes: 11 additions & 15 deletions voikko-fi/vocabulary/joukahainen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Time of generation: 2020-11-25 21:40:49 EET
Time of generation: 2020-11-25 22:06:17 EET
-->
<wordlist xml:lang="fi">
<word id="w499539">
Expand Down Expand Up @@ -509100,37 +509100,33 @@
<infclass>edam</infclass>
</inflection>
</word>
<word id="w539618">
<word id="w539619">
<forms>
<form>työtön</form>
<form>karitatiivinen</form>
</forms>
<classes>
<wclass>noun</wclass>
<wclass>adjective</wclass>
</classes>
<inflection>
<infclass>onneton-av2</infclass>
<infclass>nainen</infclass>
</inflection>
<application>
<flag>not_voikko</flag>
</application>
<info>
<description>Ihminen, jolla ei ole töitä. (-:</description>
<description>hyväntekeväisyys-, (kirkollinen) palvelutyö- </description>
<link>https://fi.wiktionary.org/wiki/karitatiivinen</link>
</info>
</word>
<word id="w539619">
<word id="w539620">
<forms>
<form>karitatiivinen</form>
<form>työtön</form>
</forms>
<classes>
<wclass>adjective</wclass>
<wclass>noun</wclass>
</classes>
<inflection>
<infclass>nainen</infclass>
<infclass>onneton-av2</infclass>
</inflection>
<info>
<description>hyväntekeväisyys-, (kirkollinen) palvelutyö- </description>
<link>https://fi.wiktionary.org/wiki/karitatiivinen</link>
<description>Ihminen, jolla ei ole töitä</description>
</info>
</word>
</wordlist>
Expand Down
4 changes: 2 additions & 2 deletions voikko-fi/vvfst/taivutuskaavat.lexc.in
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ k<O>:k<O> <WC>YhteisetMonikonSijat2_<A> ;
[Sill][Nm]<O>ihi:<O>ihi <WC>LiOlN_<A> ;
<O>:<O> <WC>YhteisetYksikönPaikallissijat_<A> ;
<O>:<O> <WC>YhteisetMonikonPaikallissijat_<A> ;
?Laatusana k:k Johdin_UUs_<A> ;
?Laatusana k<O>:k<O> Johdin_Us_<A> ;
?Laatusana <O>:<O> Voittoaste_<A> ;
?Laatusana k<O>:k<O> Yliaste_<A> ;
?Laatusana <O>:<O> Yliaste_<A> ;
?Nimisana k<O>:k<O> Johdin_inen_vain_lipulla_<A> ;
?Nimisana <O>:<O> Johdin_tOn_<A> ;
?Nimisana k<O>:k<O> Johdin_mAinen_<A> ;
Expand Down

0 comments on commit b58ea55

Please sign in to comment.