Bug #3230
Import, lang detection fails on small files
Statut: | Closed | Début: | 22/02/2022 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Import | Temps passé: | - | |
Version cible: | TXM 0.8.3 |
Description
Error message:
Args: .TXM-0.8.2\configuration\org.eclipse.osgi\98\data\-1285204199\plugins\org.txm.treetagger.core.win32_1.0.0.202201251609\res\win32/bin/tree-tagger -token -lemma -sgml -no-unknown -cap-heuristics -quiet -eos-tag <s> TXM-0.8.2\treetagger-models\??.par TXM-0.8.2\corpora\POEMES-DE-QUI\ptreetagger\Alexandrins.xml-src.tt TXM-0.8.2\corpora\POEMES-DE-QUI\treetagger\Alexandrins.xml-out.tt java.io.FileNotFoundException: TXM-0.8.2\corpora\POEMES-DE-QUI\treetagger\Alexandrins.xml-out.tt (Le fichier spécifié est introuvable) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source)
Solution¶
When the input file is too small, no detection is done and the model was not set. We now use the defautl locale lang
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 3 ans
- % réalisé changé de 0 à 80
#2 Mis à jour par Matthieu Decorde il y a plus de 2 ans
- Version cible changé de TXM 0.8.2 à TXM 0.8.3
#3 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#4 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed