Komistasin sellise vea otsa: kui sisendlause on pikem kui 10 sõna, muutub morfoloogilise analüsaatori JSON väljundis sõnade paigutus ning lause lõpus olevad sõnad (alates 11ndast sõnast) paigutatakse väljundis lause algusesse.
Ehk siis: "Homme tiheneb" järele on tõstetud lause lõpp ("mitmel pool tuleb äikest.") ja seejärel tuleb lauseosa "kõikjal pilvisus ja vihmasadu laieneb õhtuks üle Eesti,".
Jääb mulje, nagu oleks sõnade täisarvulised indeksid tehtud stringideks ning sõnad väljastatud string-kujul indeksite järjekorras (st '1' < '10' < '11' < '12' < ... < '19' < '2').
Komistasin sellise vea otsa: kui sisendlause on pikem kui 10 sõna, muutub morfoloogilise analüsaatori JSON väljundis sõnade paigutus ning lause lõpus olevad sõnad (alates 11ndast sõnast) paigutatakse väljundis lause algusesse.
Näide. Kui sisendlause on:
siis analüsaatori väljund on järgmine:
Ehk siis: "Homme tiheneb" järele on tõstetud lause lõpp ("mitmel pool tuleb äikest.") ja seejärel tuleb lauseosa "kõikjal pilvisus ja vihmasadu laieneb õhtuks üle Eesti,".
Jääb mulje, nagu oleks sõnade täisarvulised indeksid tehtud stringideks ning sõnad väljastatud string-kujul indeksite järjekorras (st '1' < '10' < '11' < '12' < ... < '19' < '2').