Datasets:
Commit
•
1acfac5
1
Parent(s):
bc7efbe
Use locally hosted data file
Browse files- universal_dependencies.py +444 -620
universal_dependencies.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import conllu
|
2 |
|
3 |
import datasets
|
@@ -391,790 +393,634 @@ _DESCRIPTIONS = {
|
|
391 |
"wo_wtb": "UD_Wolof-WTB is a natively manual developed treebank for Wolof. Sentences were collected from encyclopedic, fictional, biographical, religious texts and news.",
|
392 |
"yo_ytb": "Parts of the Yoruba Bible and of the Yoruba edition of Wikipedia, hand-annotated natively in Universal Dependencies.",
|
393 |
}
|
|
|
|
|
394 |
_PREFIX = "https://raw.githubusercontent.com/UniversalDependencies/"
|
395 |
_UD_DATASETS = {
|
396 |
"af_afribooms": {
|
397 |
-
"train": "UD_Afrikaans-AfriBooms/
|
398 |
-
"
|
399 |
-
"test": "UD_Afrikaans-AfriBooms/
|
400 |
-
},
|
401 |
-
"akk_pisandub": {
|
402 |
-
|
403 |
-
},
|
404 |
-
"
|
405 |
-
|
406 |
-
},
|
407 |
-
"aqz_tudet": {
|
408 |
-
"test": "UD_Akuntsu-TuDeT/r2.7/aqz_tudet-ud-test.conllu",
|
409 |
-
},
|
410 |
-
"sq_tsa": {
|
411 |
-
"test": "UD_Albanian-TSA/r2.7/sq_tsa-ud-test.conllu",
|
412 |
-
},
|
413 |
-
"am_att": {
|
414 |
-
"test": "UD_Amharic-ATT/r2.7/am_att-ud-test.conllu",
|
415 |
-
},
|
416 |
"grc_perseus": {
|
417 |
-
"train": "UD_Ancient_Greek-Perseus/
|
418 |
-
"
|
419 |
-
"test": "UD_Ancient_Greek-Perseus/
|
420 |
},
|
421 |
"grc_proiel": {
|
422 |
-
"train": "UD_Ancient_Greek-PROIEL/
|
423 |
-
"
|
424 |
-
"test": "UD_Ancient_Greek-PROIEL/
|
425 |
-
},
|
426 |
-
"apu_ufpa": {
|
427 |
-
"test": "UD_Apurina-UFPA/r2.7/apu_ufpa-ud-test.conllu",
|
428 |
},
|
|
|
429 |
"ar_nyuad": {
|
430 |
-
"train": "UD_Arabic-NYUAD/
|
431 |
-
"
|
432 |
-
"test": "UD_Arabic-NYUAD/
|
433 |
},
|
434 |
"ar_padt": {
|
435 |
-
"train": "UD_Arabic-PADT/
|
436 |
-
"
|
437 |
-
"test": "UD_Arabic-PADT/
|
438 |
-
},
|
439 |
-
"ar_pud": {
|
440 |
-
"test": "UD_Arabic-PUD/r2.7/ar_pud-ud-test.conllu",
|
441 |
},
|
|
|
442 |
"hy_armtdp": {
|
443 |
-
"train": "UD_Armenian-ArmTDP/
|
444 |
-
"
|
445 |
-
"test": "UD_Armenian-ArmTDP/
|
446 |
-
},
|
447 |
-
"aii_as": {
|
448 |
-
"test": "UD_Assyrian-AS/r2.7/aii_as-ud-test.conllu",
|
449 |
-
},
|
450 |
-
"bm_crb": {
|
451 |
-
"test": "UD_Bambara-CRB/r2.7/bm_crb-ud-test.conllu",
|
452 |
},
|
|
|
|
|
453 |
"eu_bdt": {
|
454 |
-
"train": "UD_Basque-BDT/
|
455 |
-
"
|
456 |
-
"test": "UD_Basque-BDT/
|
457 |
},
|
458 |
"be_hse": {
|
459 |
-
"train": "UD_Belarusian-HSE/
|
460 |
-
"
|
461 |
-
"test": "UD_Belarusian-HSE/
|
462 |
-
},
|
463 |
-
"bho_bhtb": {
|
464 |
-
"test": "UD_Bhojpuri-BHTB/r2.7/bho_bhtb-ud-test.conllu",
|
465 |
-
},
|
466 |
-
"br_keb": {
|
467 |
-
"test": "UD_Breton-KEB/r2.7/br_keb-ud-test.conllu",
|
468 |
},
|
|
|
|
|
469 |
"bg_btb": {
|
470 |
-
"train": "UD_Bulgarian-BTB/
|
471 |
-
"
|
472 |
-
"test": "UD_Bulgarian-BTB/
|
473 |
-
},
|
474 |
-
"bxr_bdt": {
|
475 |
-
"train": "UD_Buryat-BDT/r2.7/bxr_bdt-ud-train.conllu",
|
476 |
-
"test": "UD_Buryat-BDT/r2.7/bxr_bdt-ud-test.conllu",
|
477 |
-
},
|
478 |
-
"yue_hk": {
|
479 |
-
"test": "UD_Cantonese-HK/r2.7/yue_hk-ud-test.conllu",
|
480 |
},
|
|
|
|
|
481 |
"ca_ancora": {
|
482 |
-
"train": "UD_Catalan-AnCora/
|
483 |
-
"
|
484 |
-
"test": "UD_Catalan-AnCora/
|
485 |
-
},
|
486 |
-
"zh_cfl": {
|
487 |
-
"test": "UD_Chinese-CFL/r2.7/zh_cfl-ud-test.conllu",
|
488 |
},
|
|
|
489 |
"zh_gsd": {
|
490 |
-
"train": "UD_Chinese-GSD/
|
491 |
-
"
|
492 |
-
"test": "UD_Chinese-GSD/
|
493 |
},
|
494 |
"zh_gsdsimp": {
|
495 |
-
"train": "UD_Chinese-GSDSimp/
|
496 |
-
"
|
497 |
-
"test": "UD_Chinese-GSDSimp/
|
498 |
-
},
|
499 |
-
"zh_hk": {
|
500 |
-
"test": "UD_Chinese-HK/r2.7/zh_hk-ud-test.conllu",
|
501 |
-
},
|
502 |
-
"zh_pud": {
|
503 |
-
"test": "UD_Chinese-PUD/r2.7/zh_pud-ud-test.conllu",
|
504 |
-
},
|
505 |
-
"ckt_hse": {
|
506 |
-
"test": "UD_Chukchi-HSE/r2.7/ckt_hse-ud-test.conllu",
|
507 |
},
|
|
|
|
|
|
|
508 |
"lzh_kyoto": {
|
509 |
-
"train": "UD_Classical_Chinese-Kyoto/
|
510 |
-
"
|
511 |
-
"test": "UD_Classical_Chinese-Kyoto/
|
512 |
},
|
513 |
"cop_scriptorium": {
|
514 |
-
"train": "UD_Coptic-Scriptorium/
|
515 |
-
"
|
516 |
-
"test": "UD_Coptic-Scriptorium/
|
517 |
},
|
518 |
"hr_set": {
|
519 |
-
"train": "UD_Croatian-SET/
|
520 |
-
"
|
521 |
-
"test": "UD_Croatian-SET/
|
522 |
},
|
523 |
"cs_cac": {
|
524 |
-
"train": "UD_Czech-CAC/
|
525 |
-
"
|
526 |
-
"test": "UD_Czech-CAC/
|
527 |
},
|
528 |
"cs_cltt": {
|
529 |
-
"train": "UD_Czech-CLTT/
|
530 |
-
"
|
531 |
-
"test": "UD_Czech-CLTT/
|
532 |
},
|
533 |
"cs_fictree": {
|
534 |
-
"train": "UD_Czech-FicTree/
|
535 |
-
"
|
536 |
-
"test": "UD_Czech-FicTree/
|
537 |
},
|
538 |
"cs_pdt": {
|
539 |
-
"train":
|
540 |
-
|
541 |
-
|
542 |
-
"UD_Czech-PDT/r2.7/cs_pdt-ud-train-c.conllu",
|
543 |
-
"UD_Czech-PDT/r2.7/cs_pdt-ud-train-v.conllu",
|
544 |
-
],
|
545 |
-
"dev": "UD_Czech-PDT/r2.7/cs_pdt-ud-dev.conllu",
|
546 |
-
"test": "UD_Czech-PDT/r2.7/cs_pdt-ud-test.conllu",
|
547 |
-
},
|
548 |
-
"cs_pud": {
|
549 |
-
"test": "UD_Czech-PUD/r2.7/cs_pud-ud-test.conllu",
|
550 |
},
|
|
|
551 |
"da_ddt": {
|
552 |
-
"train": "UD_Danish-DDT/
|
553 |
-
"
|
554 |
-
"test": "UD_Danish-DDT/
|
555 |
},
|
556 |
"nl_alpino": {
|
557 |
-
"train": "UD_Dutch-Alpino/
|
558 |
-
"
|
559 |
-
"test": "UD_Dutch-Alpino/
|
560 |
},
|
561 |
"nl_lassysmall": {
|
562 |
-
"train": "UD_Dutch-LassySmall/
|
563 |
-
"
|
564 |
-
"test": "UD_Dutch-LassySmall/
|
565 |
},
|
566 |
"en_esl": {
|
567 |
-
"train": "UD_English-ESL/
|
568 |
-
"
|
569 |
-
"test": "UD_English-ESL/
|
570 |
},
|
571 |
"en_ewt": {
|
572 |
-
"train": "UD_English-EWT/
|
573 |
-
"
|
574 |
-
"test": "UD_English-EWT/
|
575 |
},
|
576 |
"en_gum": {
|
577 |
-
"train": "UD_English-GUM/
|
578 |
-
"
|
579 |
-
"test": "UD_English-GUM/
|
580 |
},
|
581 |
"en_gumreddit": {
|
582 |
-
"train": "UD_English-GUMReddit/
|
583 |
-
"
|
584 |
-
"test": "UD_English-GUMReddit/
|
585 |
},
|
586 |
"en_lines": {
|
587 |
-
"train": "UD_English-LinES/
|
588 |
-
"
|
589 |
-
"test": "UD_English-LinES/
|
590 |
},
|
591 |
"en_partut": {
|
592 |
-
"train": "UD_English-ParTUT/
|
593 |
-
"
|
594 |
-
"test": "UD_English-ParTUT/
|
595 |
-
},
|
596 |
-
"en_pronouns": {
|
597 |
-
"test": "UD_English-Pronouns/r2.7/en_pronouns-ud-test.conllu",
|
598 |
-
},
|
599 |
-
"en_pud": {
|
600 |
-
"test": "UD_English-PUD/r2.7/en_pud-ud-test.conllu",
|
601 |
-
},
|
602 |
-
"myv_jr": {
|
603 |
-
"test": "UD_Erzya-JR/r2.7/myv_jr-ud-test.conllu",
|
604 |
},
|
|
|
|
|
|
|
605 |
"et_edt": {
|
606 |
-
"train": "UD_Estonian-EDT/
|
607 |
-
"
|
608 |
-
"test": "UD_Estonian-EDT/
|
609 |
},
|
610 |
"et_ewt": {
|
611 |
-
"train": "UD_Estonian-EWT/
|
612 |
-
"
|
613 |
-
"test": "UD_Estonian-EWT/
|
614 |
},
|
615 |
"fo_farpahc": {
|
616 |
-
"train": "UD_Faroese-FarPaHC/
|
617 |
-
"
|
618 |
-
"test": "UD_Faroese-FarPaHC/
|
619 |
-
},
|
620 |
-
"fo_oft": {
|
621 |
-
"test": "UD_Faroese-OFT/r2.7/fo_oft-ud-test.conllu",
|
622 |
},
|
|
|
623 |
"fi_ftb": {
|
624 |
-
"train": "UD_Finnish-FTB/
|
625 |
-
"
|
626 |
-
"test": "UD_Finnish-FTB/
|
627 |
-
},
|
628 |
-
"fi_ood": {
|
629 |
-
"test": "UD_Finnish-OOD/r2.7/fi_ood-ud-test.conllu",
|
630 |
-
},
|
631 |
-
"fi_pud": {
|
632 |
-
"test": "UD_Finnish-PUD/r2.7/fi_pud-ud-test.conllu",
|
633 |
},
|
|
|
|
|
634 |
"fi_tdt": {
|
635 |
-
"train": "UD_Finnish-TDT/
|
636 |
-
"
|
637 |
-
"test": "UD_Finnish-TDT/
|
638 |
-
},
|
639 |
-
"fr_fqb": {
|
640 |
-
"test": "UD_French-FQB/r2.7/fr_fqb-ud-test.conllu",
|
641 |
},
|
|
|
642 |
"fr_ftb": {
|
643 |
-
"train": "UD_French-FTB/
|
644 |
-
"
|
645 |
-
"test": "UD_French-FTB/
|
646 |
},
|
647 |
"fr_gsd": {
|
648 |
-
"train": "UD_French-GSD/
|
649 |
-
"
|
650 |
-
"test": "UD_French-GSD/
|
651 |
},
|
652 |
"fr_partut": {
|
653 |
-
"train": "UD_French-ParTUT/
|
654 |
-
"
|
655 |
-
"test": "UD_French-ParTUT/
|
656 |
-
},
|
657 |
-
"fr_pud": {
|
658 |
-
"test": "UD_French-PUD/r2.7/fr_pud-ud-test.conllu",
|
659 |
},
|
|
|
660 |
"fr_sequoia": {
|
661 |
-
"train": "UD_French-Sequoia/
|
662 |
-
"
|
663 |
-
"test": "UD_French-Sequoia/
|
664 |
},
|
665 |
"fr_spoken": {
|
666 |
-
"train": "UD_French-Spoken/
|
667 |
-
"
|
668 |
-
"test": "UD_French-Spoken/
|
669 |
},
|
670 |
"gl_ctg": {
|
671 |
-
"train": "UD_Galician-CTG/
|
672 |
-
"
|
673 |
-
"test": "UD_Galician-CTG/
|
674 |
},
|
675 |
"gl_treegal": {
|
676 |
-
"train": "UD_Galician-TreeGal/
|
677 |
-
"test": "UD_Galician-TreeGal/
|
678 |
},
|
679 |
"de_gsd": {
|
680 |
-
"train": "UD_German-GSD/
|
681 |
-
"
|
682 |
-
"test": "UD_German-GSD/
|
683 |
},
|
684 |
"de_hdt": {
|
685 |
-
"train":
|
686 |
-
|
687 |
-
|
688 |
-
"UD_German-HDT/r2.7/de_hdt-ud-train-b-1.conllu",
|
689 |
-
"UD_German-HDT/r2.7/de_hdt-ud-train-b-2.conllu",
|
690 |
-
],
|
691 |
-
"dev": "UD_German-HDT/r2.7/de_hdt-ud-dev.conllu",
|
692 |
-
"test": "UD_German-HDT/r2.7/de_hdt-ud-test.conllu",
|
693 |
-
},
|
694 |
-
"de_lit": {
|
695 |
-
"test": "UD_German-LIT/r2.7/de_lit-ud-test.conllu",
|
696 |
-
},
|
697 |
-
"de_pud": {
|
698 |
-
"test": "UD_German-PUD/r2.7/de_pud-ud-test.conllu",
|
699 |
},
|
|
|
|
|
700 |
"got_proiel": {
|
701 |
-
"train": "UD_Gothic-PROIEL/
|
702 |
-
"
|
703 |
-
"test": "UD_Gothic-PROIEL/
|
704 |
},
|
705 |
"el_gdt": {
|
706 |
-
"train": "UD_Greek-GDT/
|
707 |
-
"
|
708 |
-
"test": "UD_Greek-GDT/
|
709 |
},
|
710 |
"he_htb": {
|
711 |
-
"train": "UD_Hebrew-HTB/
|
712 |
-
"
|
713 |
-
"test": "UD_Hebrew-HTB/
|
714 |
},
|
715 |
"qhe_hiencs": {
|
716 |
-
"train": "UD_Hindi_English-HIENCS/
|
717 |
-
"
|
718 |
-
"test": "UD_Hindi_English-HIENCS/
|
719 |
},
|
720 |
"hi_hdtb": {
|
721 |
-
"train": "UD_Hindi-HDTB/
|
722 |
-
"
|
723 |
-
"test": "UD_Hindi-HDTB/
|
724 |
-
},
|
725 |
-
"hi_pud": {
|
726 |
-
"test": "UD_Hindi-PUD/r2.7/hi_pud-ud-test.conllu",
|
727 |
},
|
|
|
728 |
"hu_szeged": {
|
729 |
-
"train": "UD_Hungarian-Szeged/
|
730 |
-
"
|
731 |
-
"test": "UD_Hungarian-Szeged/
|
732 |
},
|
733 |
"is_icepahc": {
|
734 |
-
"train": "UD_Icelandic-IcePaHC/
|
735 |
-
"
|
736 |
-
"test": "UD_Icelandic-IcePaHC/
|
737 |
-
},
|
738 |
-
"is_pud": {
|
739 |
-
"test": "UD_Icelandic-PUD/r2.7/is_pud-ud-test.conllu",
|
740 |
},
|
|
|
741 |
"id_csui": {
|
742 |
-
"train": "UD_Indonesian-CSUI/
|
743 |
-
"test": "UD_Indonesian-CSUI/
|
744 |
},
|
745 |
"id_gsd": {
|
746 |
-
"train": "UD_Indonesian-GSD/
|
747 |
-
"
|
748 |
-
"test": "UD_Indonesian-GSD/
|
749 |
-
},
|
750 |
-
"id_pud": {
|
751 |
-
"test": "UD_Indonesian-PUD/r2.7/id_pud-ud-test.conllu",
|
752 |
},
|
|
|
753 |
"ga_idt": {
|
754 |
-
"train": "UD_Irish-IDT/
|
755 |
-
"
|
756 |
-
"test": "UD_Irish-IDT/
|
757 |
},
|
758 |
"it_isdt": {
|
759 |
-
"train": "UD_Italian-ISDT/
|
760 |
-
"
|
761 |
-
"test": "UD_Italian-ISDT/
|
762 |
},
|
763 |
"it_partut": {
|
764 |
-
"train": "UD_Italian-ParTUT/
|
765 |
-
"
|
766 |
-
"test": "UD_Italian-ParTUT/
|
767 |
},
|
768 |
"it_postwita": {
|
769 |
-
"train": "UD_Italian-PoSTWITA/
|
770 |
-
"
|
771 |
-
"test": "UD_Italian-PoSTWITA/
|
772 |
-
},
|
773 |
-
"it_pud": {
|
774 |
-
"test": "UD_Italian-PUD/r2.7/it_pud-ud-test.conllu",
|
775 |
},
|
|
|
776 |
"it_twittiro": {
|
777 |
-
"train": "UD_Italian-TWITTIRO/
|
778 |
-
"
|
779 |
-
"test": "UD_Italian-TWITTIRO/
|
780 |
},
|
781 |
"it_vit": {
|
782 |
-
"train": "UD_Italian-VIT/
|
783 |
-
"
|
784 |
-
"test": "UD_Italian-VIT/
|
785 |
},
|
786 |
"ja_bccwj": {
|
787 |
-
"train": "UD_Japanese-BCCWJ/
|
788 |
-
"
|
789 |
-
"test": "UD_Japanese-BCCWJ/
|
790 |
},
|
791 |
"ja_gsd": {
|
792 |
-
"train": "UD_Japanese-GSD/
|
793 |
-
"
|
794 |
-
"test": "UD_Japanese-GSD/
|
795 |
-
},
|
796 |
-
"ja_modern": {
|
797 |
-
|
798 |
-
},
|
799 |
-
"
|
800 |
-
|
801 |
-
},
|
802 |
-
"
|
803 |
-
|
804 |
-
},
|
805 |
-
"kk_ktb": {
|
806 |
-
"train": "UD_Kazakh-KTB/r2.7/kk_ktb-ud-train.conllu",
|
807 |
-
"test": "UD_Kazakh-KTB/r2.7/kk_ktb-ud-test.conllu",
|
808 |
-
},
|
809 |
-
"kfm_aha": {
|
810 |
-
"test": "UD_Khunsari-AHA/r2.7/kfm_aha-ud-test.conllu",
|
811 |
-
},
|
812 |
-
"koi_uh": {
|
813 |
-
"test": "UD_Komi_Permyak-UH/r2.7/koi_uh-ud-test.conllu",
|
814 |
-
},
|
815 |
-
"kpv_ikdp": {
|
816 |
-
"test": "UD_Komi_Zyrian-IKDP/r2.7/kpv_ikdp-ud-test.conllu",
|
817 |
-
},
|
818 |
-
"kpv_lattice": {
|
819 |
-
"test": "UD_Komi_Zyrian-Lattice/r2.7/kpv_lattice-ud-test.conllu",
|
820 |
-
},
|
821 |
"ko_gsd": {
|
822 |
-
"train": "UD_Korean-GSD/
|
823 |
-
"
|
824 |
-
"test": "UD_Korean-GSD/
|
825 |
},
|
826 |
"ko_kaist": {
|
827 |
-
"train": "UD_Korean-Kaist/
|
828 |
-
"
|
829 |
-
"test": "UD_Korean-Kaist/
|
830 |
-
},
|
831 |
-
"ko_pud": {
|
832 |
-
"test": "UD_Korean-PUD/r2.7/ko_pud-ud-test.conllu",
|
833 |
-
},
|
834 |
-
"kmr_mg": {
|
835 |
-
"train": "UD_Kurmanji-MG/r2.7/kmr_mg-ud-train.conllu",
|
836 |
-
"test": "UD_Kurmanji-MG/r2.7/kmr_mg-ud-test.conllu",
|
837 |
},
|
|
|
|
|
838 |
"la_ittb": {
|
839 |
-
"train": "UD_Latin-ITTB/
|
840 |
-
"
|
841 |
-
"test": "UD_Latin-ITTB/
|
842 |
},
|
843 |
"la_llct": {
|
844 |
-
"train": "UD_Latin-LLCT/
|
845 |
-
"
|
846 |
-
"test": "UD_Latin-LLCT/
|
847 |
},
|
848 |
"la_perseus": {
|
849 |
-
"train": "UD_Latin-Perseus/
|
850 |
-
"test": "UD_Latin-Perseus/
|
851 |
},
|
852 |
"la_proiel": {
|
853 |
-
"train": "UD_Latin-PROIEL/
|
854 |
-
"
|
855 |
-
"test": "UD_Latin-PROIEL/
|
856 |
},
|
857 |
"lv_lvtb": {
|
858 |
-
"train": "UD_Latvian-LVTB/
|
859 |
-
"
|
860 |
-
"test": "UD_Latvian-LVTB/
|
861 |
},
|
862 |
"lt_alksnis": {
|
863 |
-
"train": "UD_Lithuanian-ALKSNIS/
|
864 |
-
"
|
865 |
-
"test": "UD_Lithuanian-ALKSNIS/
|
866 |
},
|
867 |
"lt_hse": {
|
868 |
-
"train": "UD_Lithuanian-HSE/
|
869 |
-
"
|
870 |
-
"test": "UD_Lithuanian-HSE/
|
871 |
-
},
|
872 |
-
"olo_kkpp": {
|
873 |
-
"train": "UD_Livvi-KKPP/r2.7/olo_kkpp-ud-train.conllu",
|
874 |
-
"test": "UD_Livvi-KKPP/r2.7/olo_kkpp-ud-test.conllu",
|
875 |
},
|
|
|
876 |
"mt_mudt": {
|
877 |
-
"train": "UD_Maltese-MUDT/
|
878 |
-
"
|
879 |
-
"test": "UD_Maltese-MUDT/
|
880 |
-
},
|
881 |
-
"gv_cadhan": {
|
882 |
-
"test": "UD_Manx-Cadhan/r2.7/gv_cadhan-ud-test.conllu",
|
883 |
},
|
|
|
884 |
"mr_ufal": {
|
885 |
-
"train": "UD_Marathi-UFAL/
|
886 |
-
"
|
887 |
-
"test": "UD_Marathi-UFAL/
|
888 |
-
},
|
889 |
-
"gun_dooley": {
|
890 |
-
|
891 |
-
},
|
892 |
-
"
|
893 |
-
"test": "UD_Mbya_Guarani-Thomas/r2.7/gun_thomas-ud-test.conllu",
|
894 |
-
},
|
895 |
-
"mdf_jr": {
|
896 |
-
"test": "UD_Moksha-JR/r2.7/mdf_jr-ud-test.conllu",
|
897 |
-
},
|
898 |
-
"myu_tudet": {
|
899 |
-
"test": "UD_Munduruku-TuDeT/r2.7/myu_tudet-ud-test.conllu",
|
900 |
-
},
|
901 |
"pcm_nsc": {
|
902 |
-
"train": "UD_Naija-NSC/
|
903 |
-
"
|
904 |
-
"test": "UD_Naija-NSC/
|
905 |
-
},
|
906 |
-
"nyq_aha": {
|
907 |
-
"test": "UD_Nayini-AHA/r2.7/nyq_aha-ud-test.conllu",
|
908 |
},
|
|
|
909 |
"sme_giella": {
|
910 |
-
"train": "UD_North_Sami-Giella/
|
911 |
-
"test": "UD_North_Sami-Giella/
|
912 |
},
|
913 |
"no_bokmaal": {
|
914 |
-
"train": "UD_Norwegian-Bokmaal/
|
915 |
-
"
|
916 |
-
"test": "UD_Norwegian-Bokmaal/
|
917 |
},
|
918 |
"no_nynorsk": {
|
919 |
-
"train": "UD_Norwegian-Nynorsk/
|
920 |
-
"
|
921 |
-
"test": "UD_Norwegian-Nynorsk/
|
922 |
},
|
923 |
"no_nynorsklia": {
|
924 |
-
"train": "UD_Norwegian-NynorskLIA/
|
925 |
-
"
|
926 |
-
"test": "UD_Norwegian-NynorskLIA/
|
927 |
},
|
928 |
"cu_proiel": {
|
929 |
-
"train": "UD_Old_Church_Slavonic-PROIEL/
|
930 |
-
"
|
931 |
-
"test": "UD_Old_Church_Slavonic-PROIEL/
|
932 |
},
|
933 |
"fro_srcmf": {
|
934 |
-
"train": "UD_Old_French-SRCMF/
|
935 |
-
"
|
936 |
-
"test": "UD_Old_French-SRCMF/
|
937 |
},
|
938 |
"orv_rnc": {
|
939 |
-
"train": "UD_Old_Russian-RNC/
|
940 |
-
"test": "UD_Old_Russian-RNC/
|
941 |
},
|
942 |
"orv_torot": {
|
943 |
-
"train": "UD_Old_Russian-TOROT/
|
944 |
-
"
|
945 |
-
"test": "UD_Old_Russian-TOROT/
|
946 |
-
},
|
947 |
-
"otk_tonqq": {
|
948 |
-
"test": "UD_Old_Turkish-Tonqq/r2.7/otk_tonqq-ud-test.conllu",
|
949 |
},
|
|
|
950 |
"fa_perdt": {
|
951 |
-
"train": "UD_Persian-PerDT/
|
952 |
-
"
|
953 |
-
"test": "UD_Persian-PerDT/
|
954 |
},
|
955 |
"fa_seraji": {
|
956 |
-
"train": "UD_Persian-Seraji/
|
957 |
-
"
|
958 |
-
"test": "UD_Persian-Seraji/
|
959 |
},
|
960 |
"pl_lfg": {
|
961 |
-
"train": "UD_Polish-LFG/
|
962 |
-
"
|
963 |
-
"test": "UD_Polish-LFG/
|
964 |
},
|
965 |
"pl_pdb": {
|
966 |
-
"train": "UD_Polish-PDB/
|
967 |
-
"
|
968 |
-
"test": "UD_Polish-PDB/
|
969 |
-
},
|
970 |
-
"pl_pud": {
|
971 |
-
"test": "UD_Polish-PUD/r2.7/pl_pud-ud-test.conllu",
|
972 |
},
|
|
|
973 |
"pt_bosque": {
|
974 |
-
"train": "UD_Portuguese-Bosque/
|
975 |
-
"
|
976 |
-
"test": "UD_Portuguese-Bosque/
|
977 |
},
|
978 |
"pt_gsd": {
|
979 |
-
"train": "UD_Portuguese-GSD/
|
980 |
-
"
|
981 |
-
"test": "UD_Portuguese-GSD/
|
982 |
-
},
|
983 |
-
"pt_pud": {
|
984 |
-
"test": "UD_Portuguese-PUD/r2.7/pt_pud-ud-test.conllu",
|
985 |
},
|
|
|
986 |
"ro_nonstandard": {
|
987 |
-
"train": "UD_Romanian-Nonstandard/
|
988 |
-
"
|
989 |
-
"test": "UD_Romanian-Nonstandard/
|
990 |
},
|
991 |
"ro_rrt": {
|
992 |
-
"train": "UD_Romanian-RRT/
|
993 |
-
"
|
994 |
-
"test": "UD_Romanian-RRT/
|
995 |
},
|
996 |
"ro_simonero": {
|
997 |
-
"train": "UD_Romanian-SiMoNERo/
|
998 |
-
"
|
999 |
-
"test": "UD_Romanian-SiMoNERo/
|
1000 |
},
|
1001 |
"ru_gsd": {
|
1002 |
-
"train": "UD_Russian-GSD/
|
1003 |
-
"
|
1004 |
-
"test": "UD_Russian-GSD/
|
1005 |
-
},
|
1006 |
-
"ru_pud": {
|
1007 |
-
"test": "UD_Russian-PUD/r2.7/ru_pud-ud-test.conllu",
|
1008 |
},
|
|
|
1009 |
"ru_syntagrus": {
|
1010 |
-
"train": "UD_Russian-SynTagRus/
|
1011 |
-
"
|
1012 |
-
"test": "UD_Russian-SynTagRus/
|
1013 |
},
|
1014 |
"ru_taiga": {
|
1015 |
-
"train": "UD_Russian-Taiga/
|
1016 |
-
"
|
1017 |
-
"test": "UD_Russian-Taiga/
|
1018 |
-
},
|
1019 |
-
"sa_ufal": {
|
1020 |
-
"test": "UD_Sanskrit-UFAL/r2.7/sa_ufal-ud-test.conllu",
|
1021 |
},
|
|
|
1022 |
"sa_vedic": {
|
1023 |
-
"train": "UD_Sanskrit-Vedic/
|
1024 |
-
"test": "UD_Sanskrit-Vedic/
|
1025 |
},
|
1026 |
"gd_arcosg": {
|
1027 |
-
"train": "UD_Scottish_Gaelic-ARCOSG/
|
1028 |
-
"
|
1029 |
-
"test": "UD_Scottish_Gaelic-ARCOSG/
|
1030 |
},
|
1031 |
"sr_set": {
|
1032 |
-
"train": "UD_Serbian-SET/
|
1033 |
-
"
|
1034 |
-
"test": "UD_Serbian-SET/
|
1035 |
-
},
|
1036 |
-
"sms_giellagas": {
|
1037 |
-
"test": "UD_Skolt_Sami-Giellagas/r2.7/sms_giellagas-ud-test.conllu",
|
1038 |
},
|
|
|
1039 |
"sk_snk": {
|
1040 |
-
"train": "UD_Slovak-SNK/
|
1041 |
-
"
|
1042 |
-
"test": "UD_Slovak-SNK/
|
1043 |
},
|
1044 |
"sl_ssj": {
|
1045 |
-
"train": "UD_Slovenian-SSJ/
|
1046 |
-
"
|
1047 |
-
"test": "UD_Slovenian-SSJ/
|
1048 |
-
},
|
1049 |
-
"sl_sst": {
|
1050 |
-
"train": "UD_Slovenian-SST/r2.7/sl_sst-ud-train.conllu",
|
1051 |
-
"test": "UD_Slovenian-SST/r2.7/sl_sst-ud-test.conllu",
|
1052 |
-
},
|
1053 |
-
"soj_aha": {
|
1054 |
-
"test": "UD_Soi-AHA/r2.7/soj_aha-ud-test.conllu",
|
1055 |
-
},
|
1056 |
-
"ajp_madar": {
|
1057 |
-
"test": "UD_South_Levantine_Arabic-MADAR/r2.7/ajp_madar-ud-test.conllu",
|
1058 |
},
|
|
|
|
|
|
|
1059 |
"es_ancora": {
|
1060 |
-
"train": "UD_Spanish-AnCora/
|
1061 |
-
"
|
1062 |
-
"test": "UD_Spanish-AnCora/
|
1063 |
},
|
1064 |
"es_gsd": {
|
1065 |
-
"train": "UD_Spanish-GSD/
|
1066 |
-
"
|
1067 |
-
"test": "UD_Spanish-GSD/
|
1068 |
-
},
|
1069 |
-
"es_pud": {
|
1070 |
-
"test": "UD_Spanish-PUD/r2.7/es_pud-ud-test.conllu",
|
1071 |
},
|
|
|
1072 |
"swl_sslc": {
|
1073 |
-
"train": "UD_Swedish_Sign_Language-SSLC/
|
1074 |
-
"
|
1075 |
-
"test": "UD_Swedish_Sign_Language-SSLC/
|
1076 |
},
|
1077 |
"sv_lines": {
|
1078 |
-
"train": "UD_Swedish-LinES/
|
1079 |
-
"
|
1080 |
-
"test": "UD_Swedish-LinES/
|
1081 |
-
},
|
1082 |
-
"sv_pud": {
|
1083 |
-
"test": "UD_Swedish-PUD/r2.7/sv_pud-ud-test.conllu",
|
1084 |
},
|
|
|
1085 |
"sv_talbanken": {
|
1086 |
-
"train": "UD_Swedish-Talbanken/
|
1087 |
-
"
|
1088 |
-
"test": "UD_Swedish-Talbanken/
|
1089 |
-
},
|
1090 |
-
"gsw_uzh": {
|
1091 |
-
|
1092 |
-
},
|
1093 |
-
"
|
1094 |
-
"test": "UD_Tagalog-TRG/r2.7/tl_trg-ud-test.conllu",
|
1095 |
-
},
|
1096 |
-
"tl_ugnayan": {
|
1097 |
-
"test": "UD_Tagalog-Ugnayan/r2.7/tl_ugnayan-ud-test.conllu",
|
1098 |
-
},
|
1099 |
-
"ta_mwtt": {
|
1100 |
-
"test": "UD_Tamil-MWTT/r2.7/ta_mwtt-ud-test.conllu",
|
1101 |
-
},
|
1102 |
"ta_ttb": {
|
1103 |
-
"train": "UD_Tamil-TTB/
|
1104 |
-
"
|
1105 |
-
"test": "UD_Tamil-TTB/
|
1106 |
},
|
1107 |
"te_mtg": {
|
1108 |
-
"train": "UD_Telugu-MTG/
|
1109 |
-
"
|
1110 |
-
"test": "UD_Telugu-MTG/
|
1111 |
-
},
|
1112 |
-
"th_pud": {
|
1113 |
-
"test": "UD_Thai-PUD/r2.7/th_pud-ud-test.conllu",
|
1114 |
-
},
|
1115 |
-
"tpn_tudet": {
|
1116 |
-
"test": "UD_Tupinamba-TuDeT/r2.7/tpn_tudet-ud-test.conllu",
|
1117 |
},
|
|
|
|
|
1118 |
"qtd_sagt": {
|
1119 |
-
"train": "UD_Turkish_German-SAGT/
|
1120 |
-
"
|
1121 |
-
"test": "UD_Turkish_German-SAGT/
|
1122 |
},
|
1123 |
"tr_boun": {
|
1124 |
-
"train": "UD_Turkish-BOUN/
|
1125 |
-
"
|
1126 |
-
"test": "UD_Turkish-BOUN/
|
1127 |
-
},
|
1128 |
-
"tr_gb": {
|
1129 |
-
"test": "UD_Turkish-GB/r2.7/tr_gb-ud-test.conllu",
|
1130 |
},
|
|
|
1131 |
"tr_imst": {
|
1132 |
-
"train": "UD_Turkish-IMST/
|
1133 |
-
"
|
1134 |
-
"test": "UD_Turkish-IMST/
|
1135 |
-
},
|
1136 |
-
"tr_pud": {
|
1137 |
-
"test": "UD_Turkish-PUD/r2.7/tr_pud-ud-test.conllu",
|
1138 |
},
|
|
|
1139 |
"uk_iu": {
|
1140 |
-
"train": "UD_Ukrainian-IU/
|
1141 |
-
"
|
1142 |
-
"test": "UD_Ukrainian-IU/
|
1143 |
},
|
1144 |
"hsb_ufal": {
|
1145 |
-
"train": "UD_Upper_Sorbian-UFAL/
|
1146 |
-
"test": "UD_Upper_Sorbian-UFAL/
|
1147 |
},
|
1148 |
"ur_udtb": {
|
1149 |
-
"train": "UD_Urdu-UDTB/
|
1150 |
-
"
|
1151 |
-
"test": "UD_Urdu-UDTB/
|
1152 |
},
|
1153 |
"ug_udt": {
|
1154 |
-
"train": "UD_Uyghur-UDT/
|
1155 |
-
"
|
1156 |
-
"test": "UD_Uyghur-UDT/
|
1157 |
},
|
1158 |
"vi_vtb": {
|
1159 |
-
"train": "UD_Vietnamese-VTB/
|
1160 |
-
"
|
1161 |
-
"test": "UD_Vietnamese-VTB/
|
1162 |
-
},
|
1163 |
-
"wbp_ufal": {
|
1164 |
-
"test": "UD_Warlpiri-UFAL/r2.7/wbp_ufal-ud-test.conllu",
|
1165 |
-
},
|
1166 |
-
"cy_ccg": {
|
1167 |
-
"train": "UD_Welsh-CCG/r2.7/cy_ccg-ud-train.conllu",
|
1168 |
-
"test": "UD_Welsh-CCG/r2.7/cy_ccg-ud-test.conllu",
|
1169 |
},
|
|
|
|
|
1170 |
"wo_wtb": {
|
1171 |
-
"train": "UD_Wolof-WTB/
|
1172 |
-
"
|
1173 |
-
"test": "UD_Wolof-WTB/
|
1174 |
-
},
|
1175 |
-
"yo_ytb": {
|
1176 |
-
"test": "UD_Yoruba-YTB/r2.7/yo_ytb-ud-test.conllu",
|
1177 |
},
|
|
|
1178 |
}
|
1179 |
|
1180 |
|
@@ -1247,66 +1093,44 @@ class UniversalDependencies(datasets.GeneratorBasedBuilder):
|
|
1247 |
|
1248 |
def _split_generators(self, dl_manager):
|
1249 |
"""Returns SplitGenerators."""
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
1260 |
-
splits = []
|
1261 |
-
|
1262 |
-
if "train" in downloaded_files:
|
1263 |
-
splits.append(
|
1264 |
-
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]})
|
1265 |
-
)
|
1266 |
-
|
1267 |
-
if "dev" in downloaded_files:
|
1268 |
-
splits.append(
|
1269 |
-
datasets.SplitGenerator(
|
1270 |
-
name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}
|
1271 |
-
)
|
1272 |
-
)
|
1273 |
-
|
1274 |
-
if "test" in downloaded_files:
|
1275 |
-
splits.append(
|
1276 |
-
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test"]})
|
1277 |
-
)
|
1278 |
-
|
1279 |
-
return splits
|
1280 |
|
1281 |
def _generate_examples(self, filepath):
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
idx = id
|
1291 |
|
1292 |
-
|
1293 |
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
|
|
1 |
+
import os.path
|
2 |
+
|
3 |
import conllu
|
4 |
|
5 |
import datasets
|
|
|
393 |
"wo_wtb": "UD_Wolof-WTB is a natively manual developed treebank for Wolof. Sentences were collected from encyclopedic, fictional, biographical, religious texts and news.",
|
394 |
"yo_ytb": "Parts of the Yoruba Bible and of the Yoruba edition of Wikipedia, hand-annotated natively in Universal Dependencies.",
|
395 |
}
|
396 |
+
_DATA_URL = "https://lindat.mff.cuni.cz/repository/xmlui/bitstream/handle/11234/1-3424/ud-treebanks-v2.7.tgz"
|
397 |
+
_DATA_URL = "data/ud-treebanks-v2.7.zip"
|
398 |
_PREFIX = "https://raw.githubusercontent.com/UniversalDependencies/"
|
399 |
_UD_DATASETS = {
|
400 |
"af_afribooms": {
|
401 |
+
"train": "UD_Afrikaans-AfriBooms/af_afribooms-ud-train.conllu",
|
402 |
+
"validation": "UD_Afrikaans-AfriBooms/af_afribooms-ud-dev.conllu",
|
403 |
+
"test": "UD_Afrikaans-AfriBooms/af_afribooms-ud-test.conllu",
|
404 |
+
},
|
405 |
+
"akk_pisandub": {"test": "UD_Akkadian-PISANDUB/akk_pisandub-ud-test.conllu",},
|
406 |
+
"akk_riao": {"test": "UD_Akkadian-RIAO/akk_riao-ud-test.conllu",},
|
407 |
+
"aqz_tudet": {"test": "UD_Akuntsu-TuDeT/aqz_tudet-ud-test.conllu",},
|
408 |
+
"sq_tsa": {"test": "UD_Albanian-TSA/sq_tsa-ud-test.conllu",},
|
409 |
+
"am_att": {"test": "UD_Amharic-ATT/am_att-ud-test.conllu",},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
"grc_perseus": {
|
411 |
+
"train": "UD_Ancient_Greek-Perseus/grc_perseus-ud-train.conllu",
|
412 |
+
"validation": "UD_Ancient_Greek-Perseus/grc_perseus-ud-dev.conllu",
|
413 |
+
"test": "UD_Ancient_Greek-Perseus/grc_perseus-ud-test.conllu",
|
414 |
},
|
415 |
"grc_proiel": {
|
416 |
+
"train": "UD_Ancient_Greek-PROIEL/grc_proiel-ud-train.conllu",
|
417 |
+
"validation": "UD_Ancient_Greek-PROIEL/grc_proiel-ud-dev.conllu",
|
418 |
+
"test": "UD_Ancient_Greek-PROIEL/grc_proiel-ud-test.conllu",
|
|
|
|
|
|
|
419 |
},
|
420 |
+
"apu_ufpa": {"test": "UD_Apurina-UFPA/apu_ufpa-ud-test.conllu",},
|
421 |
"ar_nyuad": {
|
422 |
+
"train": "UD_Arabic-NYUAD/ar_nyuad-ud-train.conllu",
|
423 |
+
"validation": "UD_Arabic-NYUAD/ar_nyuad-ud-dev.conllu",
|
424 |
+
"test": "UD_Arabic-NYUAD/ar_nyuad-ud-test.conllu",
|
425 |
},
|
426 |
"ar_padt": {
|
427 |
+
"train": "UD_Arabic-PADT/ar_padt-ud-train.conllu",
|
428 |
+
"validation": "UD_Arabic-PADT/ar_padt-ud-dev.conllu",
|
429 |
+
"test": "UD_Arabic-PADT/ar_padt-ud-test.conllu",
|
|
|
|
|
|
|
430 |
},
|
431 |
+
"ar_pud": {"test": "UD_Arabic-PUD/ar_pud-ud-test.conllu",},
|
432 |
"hy_armtdp": {
|
433 |
+
"train": "UD_Armenian-ArmTDP/hy_armtdp-ud-train.conllu",
|
434 |
+
"validation": "UD_Armenian-ArmTDP/hy_armtdp-ud-dev.conllu",
|
435 |
+
"test": "UD_Armenian-ArmTDP/hy_armtdp-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
436 |
},
|
437 |
+
"aii_as": {"test": "UD_Assyrian-AS/aii_as-ud-test.conllu",},
|
438 |
+
"bm_crb": {"test": "UD_Bambara-CRB/bm_crb-ud-test.conllu",},
|
439 |
"eu_bdt": {
|
440 |
+
"train": "UD_Basque-BDT/eu_bdt-ud-train.conllu",
|
441 |
+
"validation": "UD_Basque-BDT/eu_bdt-ud-dev.conllu",
|
442 |
+
"test": "UD_Basque-BDT/eu_bdt-ud-test.conllu",
|
443 |
},
|
444 |
"be_hse": {
|
445 |
+
"train": "UD_Belarusian-HSE/be_hse-ud-train.conllu",
|
446 |
+
"validation": "UD_Belarusian-HSE/be_hse-ud-dev.conllu",
|
447 |
+
"test": "UD_Belarusian-HSE/be_hse-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
},
|
449 |
+
"bho_bhtb": {"test": "UD_Bhojpuri-BHTB/bho_bhtb-ud-test.conllu",},
|
450 |
+
"br_keb": {"test": "UD_Breton-KEB/br_keb-ud-test.conllu",},
|
451 |
"bg_btb": {
|
452 |
+
"train": "UD_Bulgarian-BTB/bg_btb-ud-train.conllu",
|
453 |
+
"validation": "UD_Bulgarian-BTB/bg_btb-ud-dev.conllu",
|
454 |
+
"test": "UD_Bulgarian-BTB/bg_btb-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
455 |
},
|
456 |
+
"bxr_bdt": {"train": "UD_Buryat-BDT/bxr_bdt-ud-train.conllu", "test": "UD_Buryat-BDT/bxr_bdt-ud-test.conllu",},
|
457 |
+
"yue_hk": {"test": "UD_Cantonese-HK/yue_hk-ud-test.conllu",},
|
458 |
"ca_ancora": {
|
459 |
+
"train": "UD_Catalan-AnCora/ca_ancora-ud-train.conllu",
|
460 |
+
"validation": "UD_Catalan-AnCora/ca_ancora-ud-dev.conllu",
|
461 |
+
"test": "UD_Catalan-AnCora/ca_ancora-ud-test.conllu",
|
|
|
|
|
|
|
462 |
},
|
463 |
+
"zh_cfl": {"test": "UD_Chinese-CFL/zh_cfl-ud-test.conllu",},
|
464 |
"zh_gsd": {
|
465 |
+
"train": "UD_Chinese-GSD/zh_gsd-ud-train.conllu",
|
466 |
+
"validation": "UD_Chinese-GSD/zh_gsd-ud-dev.conllu",
|
467 |
+
"test": "UD_Chinese-GSD/zh_gsd-ud-test.conllu",
|
468 |
},
|
469 |
"zh_gsdsimp": {
|
470 |
+
"train": "UD_Chinese-GSDSimp/zh_gsdsimp-ud-train.conllu",
|
471 |
+
"validation": "UD_Chinese-GSDSimp/zh_gsdsimp-ud-dev.conllu",
|
472 |
+
"test": "UD_Chinese-GSDSimp/zh_gsdsimp-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
},
|
474 |
+
"zh_hk": {"test": "UD_Chinese-HK/zh_hk-ud-test.conllu",},
|
475 |
+
"zh_pud": {"test": "UD_Chinese-PUD/zh_pud-ud-test.conllu",},
|
476 |
+
"ckt_hse": {"test": "UD_Chukchi-HSE/ckt_hse-ud-test.conllu",},
|
477 |
"lzh_kyoto": {
|
478 |
+
"train": "UD_Classical_Chinese-Kyoto/lzh_kyoto-ud-train.conllu",
|
479 |
+
"validation": "UD_Classical_Chinese-Kyoto/lzh_kyoto-ud-dev.conllu",
|
480 |
+
"test": "UD_Classical_Chinese-Kyoto/lzh_kyoto-ud-test.conllu",
|
481 |
},
|
482 |
"cop_scriptorium": {
|
483 |
+
"train": "UD_Coptic-Scriptorium/cop_scriptorium-ud-train.conllu",
|
484 |
+
"validation": "UD_Coptic-Scriptorium/cop_scriptorium-ud-dev.conllu",
|
485 |
+
"test": "UD_Coptic-Scriptorium/cop_scriptorium-ud-test.conllu",
|
486 |
},
|
487 |
"hr_set": {
|
488 |
+
"train": "UD_Croatian-SET/hr_set-ud-train.conllu",
|
489 |
+
"validation": "UD_Croatian-SET/hr_set-ud-dev.conllu",
|
490 |
+
"test": "UD_Croatian-SET/hr_set-ud-test.conllu",
|
491 |
},
|
492 |
"cs_cac": {
|
493 |
+
"train": "UD_Czech-CAC/cs_cac-ud-train.conllu",
|
494 |
+
"validation": "UD_Czech-CAC/cs_cac-ud-dev.conllu",
|
495 |
+
"test": "UD_Czech-CAC/cs_cac-ud-test.conllu",
|
496 |
},
|
497 |
"cs_cltt": {
|
498 |
+
"train": "UD_Czech-CLTT/cs_cltt-ud-train.conllu",
|
499 |
+
"validation": "UD_Czech-CLTT/cs_cltt-ud-dev.conllu",
|
500 |
+
"test": "UD_Czech-CLTT/cs_cltt-ud-test.conllu",
|
501 |
},
|
502 |
"cs_fictree": {
|
503 |
+
"train": "UD_Czech-FicTree/cs_fictree-ud-train.conllu",
|
504 |
+
"validation": "UD_Czech-FicTree/cs_fictree-ud-dev.conllu",
|
505 |
+
"test": "UD_Czech-FicTree/cs_fictree-ud-test.conllu",
|
506 |
},
|
507 |
"cs_pdt": {
|
508 |
+
"train": "UD_Czech-PDT/cs_pdt-ud-train.conllu",
|
509 |
+
"validation": "UD_Czech-PDT/cs_pdt-ud-dev.conllu",
|
510 |
+
"test": "UD_Czech-PDT/cs_pdt-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
},
|
512 |
+
"cs_pud": {"test": "UD_Czech-PUD/cs_pud-ud-test.conllu",},
|
513 |
"da_ddt": {
|
514 |
+
"train": "UD_Danish-DDT/da_ddt-ud-train.conllu",
|
515 |
+
"validation": "UD_Danish-DDT/da_ddt-ud-dev.conllu",
|
516 |
+
"test": "UD_Danish-DDT/da_ddt-ud-test.conllu",
|
517 |
},
|
518 |
"nl_alpino": {
|
519 |
+
"train": "UD_Dutch-Alpino/nl_alpino-ud-train.conllu",
|
520 |
+
"validation": "UD_Dutch-Alpino/nl_alpino-ud-dev.conllu",
|
521 |
+
"test": "UD_Dutch-Alpino/nl_alpino-ud-test.conllu",
|
522 |
},
|
523 |
"nl_lassysmall": {
|
524 |
+
"train": "UD_Dutch-LassySmall/nl_lassysmall-ud-train.conllu",
|
525 |
+
"validation": "UD_Dutch-LassySmall/nl_lassysmall-ud-dev.conllu",
|
526 |
+
"test": "UD_Dutch-LassySmall/nl_lassysmall-ud-test.conllu",
|
527 |
},
|
528 |
"en_esl": {
|
529 |
+
"train": "UD_English-ESL/en_esl-ud-train.conllu",
|
530 |
+
"validation": "UD_English-ESL/en_esl-ud-dev.conllu",
|
531 |
+
"test": "UD_English-ESL/en_esl-ud-test.conllu",
|
532 |
},
|
533 |
"en_ewt": {
|
534 |
+
"train": "UD_English-EWT/en_ewt-ud-train.conllu",
|
535 |
+
"validation": "UD_English-EWT/en_ewt-ud-dev.conllu",
|
536 |
+
"test": "UD_English-EWT/en_ewt-ud-test.conllu",
|
537 |
},
|
538 |
"en_gum": {
|
539 |
+
"train": "UD_English-GUM/en_gum-ud-train.conllu",
|
540 |
+
"validation": "UD_English-GUM/en_gum-ud-dev.conllu",
|
541 |
+
"test": "UD_English-GUM/en_gum-ud-test.conllu",
|
542 |
},
|
543 |
"en_gumreddit": {
|
544 |
+
"train": "UD_English-GUMReddit/en_gumreddit-ud-train.conllu",
|
545 |
+
"validation": "UD_English-GUMReddit/en_gumreddit-ud-dev.conllu",
|
546 |
+
"test": "UD_English-GUMReddit/en_gumreddit-ud-test.conllu",
|
547 |
},
|
548 |
"en_lines": {
|
549 |
+
"train": "UD_English-LinES/en_lines-ud-train.conllu",
|
550 |
+
"validation": "UD_English-LinES/en_lines-ud-dev.conllu",
|
551 |
+
"test": "UD_English-LinES/en_lines-ud-test.conllu",
|
552 |
},
|
553 |
"en_partut": {
|
554 |
+
"train": "UD_English-ParTUT/en_partut-ud-train.conllu",
|
555 |
+
"validation": "UD_English-ParTUT/en_partut-ud-dev.conllu",
|
556 |
+
"test": "UD_English-ParTUT/en_partut-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
557 |
},
|
558 |
+
"en_pronouns": {"test": "UD_English-Pronouns/en_pronouns-ud-test.conllu",},
|
559 |
+
"en_pud": {"test": "UD_English-PUD/en_pud-ud-test.conllu",},
|
560 |
+
"myv_jr": {"test": "UD_Erzya-JR/myv_jr-ud-test.conllu",},
|
561 |
"et_edt": {
|
562 |
+
"train": "UD_Estonian-EDT/et_edt-ud-train.conllu",
|
563 |
+
"validation": "UD_Estonian-EDT/et_edt-ud-dev.conllu",
|
564 |
+
"test": "UD_Estonian-EDT/et_edt-ud-test.conllu",
|
565 |
},
|
566 |
"et_ewt": {
|
567 |
+
"train": "UD_Estonian-EWT/et_ewt-ud-train.conllu",
|
568 |
+
"validation": "UD_Estonian-EWT/et_ewt-ud-dev.conllu",
|
569 |
+
"test": "UD_Estonian-EWT/et_ewt-ud-test.conllu",
|
570 |
},
|
571 |
"fo_farpahc": {
|
572 |
+
"train": "UD_Faroese-FarPaHC/fo_farpahc-ud-train.conllu",
|
573 |
+
"validation": "UD_Faroese-FarPaHC/fo_farpahc-ud-dev.conllu",
|
574 |
+
"test": "UD_Faroese-FarPaHC/fo_farpahc-ud-test.conllu",
|
|
|
|
|
|
|
575 |
},
|
576 |
+
"fo_oft": {"test": "UD_Faroese-OFT/fo_oft-ud-test.conllu",},
|
577 |
"fi_ftb": {
|
578 |
+
"train": "UD_Finnish-FTB/fi_ftb-ud-train.conllu",
|
579 |
+
"validation": "UD_Finnish-FTB/fi_ftb-ud-dev.conllu",
|
580 |
+
"test": "UD_Finnish-FTB/fi_ftb-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
},
|
582 |
+
"fi_ood": {"test": "UD_Finnish-OOD/fi_ood-ud-test.conllu",},
|
583 |
+
"fi_pud": {"test": "UD_Finnish-PUD/fi_pud-ud-test.conllu",},
|
584 |
"fi_tdt": {
|
585 |
+
"train": "UD_Finnish-TDT/fi_tdt-ud-train.conllu",
|
586 |
+
"validation": "UD_Finnish-TDT/fi_tdt-ud-dev.conllu",
|
587 |
+
"test": "UD_Finnish-TDT/fi_tdt-ud-test.conllu",
|
|
|
|
|
|
|
588 |
},
|
589 |
+
"fr_fqb": {"test": "UD_French-FQB/fr_fqb-ud-test.conllu",},
|
590 |
"fr_ftb": {
|
591 |
+
"train": "UD_French-FTB/fr_ftb-ud-train.conllu",
|
592 |
+
"validation": "UD_French-FTB/fr_ftb-ud-dev.conllu",
|
593 |
+
"test": "UD_French-FTB/fr_ftb-ud-test.conllu",
|
594 |
},
|
595 |
"fr_gsd": {
|
596 |
+
"train": "UD_French-GSD/fr_gsd-ud-train.conllu",
|
597 |
+
"validation": "UD_French-GSD/fr_gsd-ud-dev.conllu",
|
598 |
+
"test": "UD_French-GSD/fr_gsd-ud-test.conllu",
|
599 |
},
|
600 |
"fr_partut": {
|
601 |
+
"train": "UD_French-ParTUT/fr_partut-ud-train.conllu",
|
602 |
+
"validation": "UD_French-ParTUT/fr_partut-ud-dev.conllu",
|
603 |
+
"test": "UD_French-ParTUT/fr_partut-ud-test.conllu",
|
|
|
|
|
|
|
604 |
},
|
605 |
+
"fr_pud": {"test": "UD_French-PUD/fr_pud-ud-test.conllu",},
|
606 |
"fr_sequoia": {
|
607 |
+
"train": "UD_French-Sequoia/fr_sequoia-ud-train.conllu",
|
608 |
+
"validation": "UD_French-Sequoia/fr_sequoia-ud-dev.conllu",
|
609 |
+
"test": "UD_French-Sequoia/fr_sequoia-ud-test.conllu",
|
610 |
},
|
611 |
"fr_spoken": {
|
612 |
+
"train": "UD_French-Spoken/fr_spoken-ud-train.conllu",
|
613 |
+
"validation": "UD_French-Spoken/fr_spoken-ud-dev.conllu",
|
614 |
+
"test": "UD_French-Spoken/fr_spoken-ud-test.conllu",
|
615 |
},
|
616 |
"gl_ctg": {
|
617 |
+
"train": "UD_Galician-CTG/gl_ctg-ud-train.conllu",
|
618 |
+
"validation": "UD_Galician-CTG/gl_ctg-ud-dev.conllu",
|
619 |
+
"test": "UD_Galician-CTG/gl_ctg-ud-test.conllu",
|
620 |
},
|
621 |
"gl_treegal": {
|
622 |
+
"train": "UD_Galician-TreeGal/gl_treegal-ud-train.conllu",
|
623 |
+
"test": "UD_Galician-TreeGal/gl_treegal-ud-test.conllu",
|
624 |
},
|
625 |
"de_gsd": {
|
626 |
+
"train": "UD_German-GSD/de_gsd-ud-train.conllu",
|
627 |
+
"validation": "UD_German-GSD/de_gsd-ud-dev.conllu",
|
628 |
+
"test": "UD_German-GSD/de_gsd-ud-test.conllu",
|
629 |
},
|
630 |
"de_hdt": {
|
631 |
+
"train": "UD_German-HDT/de_hdt-ud-train.conllu",
|
632 |
+
"validation": "UD_German-HDT/de_hdt-ud-dev.conllu",
|
633 |
+
"test": "UD_German-HDT/de_hdt-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
},
|
635 |
+
"de_lit": {"test": "UD_German-LIT/de_lit-ud-test.conllu",},
|
636 |
+
"de_pud": {"test": "UD_German-PUD/de_pud-ud-test.conllu",},
|
637 |
"got_proiel": {
|
638 |
+
"train": "UD_Gothic-PROIEL/got_proiel-ud-train.conllu",
|
639 |
+
"validation": "UD_Gothic-PROIEL/got_proiel-ud-dev.conllu",
|
640 |
+
"test": "UD_Gothic-PROIEL/got_proiel-ud-test.conllu",
|
641 |
},
|
642 |
"el_gdt": {
|
643 |
+
"train": "UD_Greek-GDT/el_gdt-ud-train.conllu",
|
644 |
+
"validation": "UD_Greek-GDT/el_gdt-ud-dev.conllu",
|
645 |
+
"test": "UD_Greek-GDT/el_gdt-ud-test.conllu",
|
646 |
},
|
647 |
"he_htb": {
|
648 |
+
"train": "UD_Hebrew-HTB/he_htb-ud-train.conllu",
|
649 |
+
"validation": "UD_Hebrew-HTB/he_htb-ud-dev.conllu",
|
650 |
+
"test": "UD_Hebrew-HTB/he_htb-ud-test.conllu",
|
651 |
},
|
652 |
"qhe_hiencs": {
|
653 |
+
"train": "UD_Hindi_English-HIENCS/qhe_hiencs-ud-train.conllu",
|
654 |
+
"validation": "UD_Hindi_English-HIENCS/qhe_hiencs-ud-dev.conllu",
|
655 |
+
"test": "UD_Hindi_English-HIENCS/qhe_hiencs-ud-test.conllu",
|
656 |
},
|
657 |
"hi_hdtb": {
|
658 |
+
"train": "UD_Hindi-HDTB/hi_hdtb-ud-train.conllu",
|
659 |
+
"validation": "UD_Hindi-HDTB/hi_hdtb-ud-dev.conllu",
|
660 |
+
"test": "UD_Hindi-HDTB/hi_hdtb-ud-test.conllu",
|
|
|
|
|
|
|
661 |
},
|
662 |
+
"hi_pud": {"test": "UD_Hindi-PUD/hi_pud-ud-test.conllu",},
|
663 |
"hu_szeged": {
|
664 |
+
"train": "UD_Hungarian-Szeged/hu_szeged-ud-train.conllu",
|
665 |
+
"validation": "UD_Hungarian-Szeged/hu_szeged-ud-dev.conllu",
|
666 |
+
"test": "UD_Hungarian-Szeged/hu_szeged-ud-test.conllu",
|
667 |
},
|
668 |
"is_icepahc": {
|
669 |
+
"train": "UD_Icelandic-IcePaHC/is_icepahc-ud-train.conllu",
|
670 |
+
"validation": "UD_Icelandic-IcePaHC/is_icepahc-ud-dev.conllu",
|
671 |
+
"test": "UD_Icelandic-IcePaHC/is_icepahc-ud-test.conllu",
|
|
|
|
|
|
|
672 |
},
|
673 |
+
"is_pud": {"test": "UD_Icelandic-PUD/is_pud-ud-test.conllu",},
|
674 |
"id_csui": {
|
675 |
+
"train": "UD_Indonesian-CSUI/id_csui-ud-train.conllu",
|
676 |
+
"test": "UD_Indonesian-CSUI/id_csui-ud-test.conllu",
|
677 |
},
|
678 |
"id_gsd": {
|
679 |
+
"train": "UD_Indonesian-GSD/id_gsd-ud-train.conllu",
|
680 |
+
"validation": "UD_Indonesian-GSD/id_gsd-ud-dev.conllu",
|
681 |
+
"test": "UD_Indonesian-GSD/id_gsd-ud-test.conllu",
|
|
|
|
|
|
|
682 |
},
|
683 |
+
"id_pud": {"test": "UD_Indonesian-PUD/id_pud-ud-test.conllu",},
|
684 |
"ga_idt": {
|
685 |
+
"train": "UD_Irish-IDT/ga_idt-ud-train.conllu",
|
686 |
+
"validation": "UD_Irish-IDT/ga_idt-ud-dev.conllu",
|
687 |
+
"test": "UD_Irish-IDT/ga_idt-ud-test.conllu",
|
688 |
},
|
689 |
"it_isdt": {
|
690 |
+
"train": "UD_Italian-ISDT/it_isdt-ud-train.conllu",
|
691 |
+
"validation": "UD_Italian-ISDT/it_isdt-ud-dev.conllu",
|
692 |
+
"test": "UD_Italian-ISDT/it_isdt-ud-test.conllu",
|
693 |
},
|
694 |
"it_partut": {
|
695 |
+
"train": "UD_Italian-ParTUT/it_partut-ud-train.conllu",
|
696 |
+
"validation": "UD_Italian-ParTUT/it_partut-ud-dev.conllu",
|
697 |
+
"test": "UD_Italian-ParTUT/it_partut-ud-test.conllu",
|
698 |
},
|
699 |
"it_postwita": {
|
700 |
+
"train": "UD_Italian-PoSTWITA/it_postwita-ud-train.conllu",
|
701 |
+
"validation": "UD_Italian-PoSTWITA/it_postwita-ud-dev.conllu",
|
702 |
+
"test": "UD_Italian-PoSTWITA/it_postwita-ud-test.conllu",
|
|
|
|
|
|
|
703 |
},
|
704 |
+
"it_pud": {"test": "UD_Italian-PUD/it_pud-ud-test.conllu",},
|
705 |
"it_twittiro": {
|
706 |
+
"train": "UD_Italian-TWITTIRO/it_twittiro-ud-train.conllu",
|
707 |
+
"validation": "UD_Italian-TWITTIRO/it_twittiro-ud-dev.conllu",
|
708 |
+
"test": "UD_Italian-TWITTIRO/it_twittiro-ud-test.conllu",
|
709 |
},
|
710 |
"it_vit": {
|
711 |
+
"train": "UD_Italian-VIT/it_vit-ud-train.conllu",
|
712 |
+
"validation": "UD_Italian-VIT/it_vit-ud-dev.conllu",
|
713 |
+
"test": "UD_Italian-VIT/it_vit-ud-test.conllu",
|
714 |
},
|
715 |
"ja_bccwj": {
|
716 |
+
"train": "UD_Japanese-BCCWJ/ja_bccwj-ud-train.conllu",
|
717 |
+
"validation": "UD_Japanese-BCCWJ/ja_bccwj-ud-dev.conllu",
|
718 |
+
"test": "UD_Japanese-BCCWJ/ja_bccwj-ud-test.conllu",
|
719 |
},
|
720 |
"ja_gsd": {
|
721 |
+
"train": "UD_Japanese-GSD/ja_gsd-ud-train.conllu",
|
722 |
+
"validation": "UD_Japanese-GSD/ja_gsd-ud-dev.conllu",
|
723 |
+
"test": "UD_Japanese-GSD/ja_gsd-ud-test.conllu",
|
724 |
+
},
|
725 |
+
"ja_modern": {"test": "UD_Japanese-Modern/ja_modern-ud-test.conllu",},
|
726 |
+
"ja_pud": {"test": "UD_Japanese-PUD/ja_pud-ud-test.conllu",},
|
727 |
+
"krl_kkpp": {"test": "UD_Karelian-KKPP/krl_kkpp-ud-test.conllu",},
|
728 |
+
"kk_ktb": {"train": "UD_Kazakh-KTB/kk_ktb-ud-train.conllu", "test": "UD_Kazakh-KTB/kk_ktb-ud-test.conllu",},
|
729 |
+
"kfm_aha": {"test": "UD_Khunsari-AHA/kfm_aha-ud-test.conllu",},
|
730 |
+
"koi_uh": {"test": "UD_Komi_Permyak-UH/koi_uh-ud-test.conllu",},
|
731 |
+
"kpv_ikdp": {"test": "UD_Komi_Zyrian-IKDP/kpv_ikdp-ud-test.conllu",},
|
732 |
+
"kpv_lattice": {"test": "UD_Komi_Zyrian-Lattice/kpv_lattice-ud-test.conllu",},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
733 |
"ko_gsd": {
|
734 |
+
"train": "UD_Korean-GSD/ko_gsd-ud-train.conllu",
|
735 |
+
"validation": "UD_Korean-GSD/ko_gsd-ud-dev.conllu",
|
736 |
+
"test": "UD_Korean-GSD/ko_gsd-ud-test.conllu",
|
737 |
},
|
738 |
"ko_kaist": {
|
739 |
+
"train": "UD_Korean-Kaist/ko_kaist-ud-train.conllu",
|
740 |
+
"validation": "UD_Korean-Kaist/ko_kaist-ud-dev.conllu",
|
741 |
+
"test": "UD_Korean-Kaist/ko_kaist-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
742 |
},
|
743 |
+
"ko_pud": {"test": "UD_Korean-PUD/ko_pud-ud-test.conllu",},
|
744 |
+
"kmr_mg": {"train": "UD_Kurmanji-MG/kmr_mg-ud-train.conllu", "test": "UD_Kurmanji-MG/kmr_mg-ud-test.conllu",},
|
745 |
"la_ittb": {
|
746 |
+
"train": "UD_Latin-ITTB/la_ittb-ud-train.conllu",
|
747 |
+
"validation": "UD_Latin-ITTB/la_ittb-ud-dev.conllu",
|
748 |
+
"test": "UD_Latin-ITTB/la_ittb-ud-test.conllu",
|
749 |
},
|
750 |
"la_llct": {
|
751 |
+
"train": "UD_Latin-LLCT/la_llct-ud-train.conllu",
|
752 |
+
"validation": "UD_Latin-LLCT/la_llct-ud-dev.conllu",
|
753 |
+
"test": "UD_Latin-LLCT/la_llct-ud-test.conllu",
|
754 |
},
|
755 |
"la_perseus": {
|
756 |
+
"train": "UD_Latin-Perseus/la_perseus-ud-train.conllu",
|
757 |
+
"test": "UD_Latin-Perseus/la_perseus-ud-test.conllu",
|
758 |
},
|
759 |
"la_proiel": {
|
760 |
+
"train": "UD_Latin-PROIEL/la_proiel-ud-train.conllu",
|
761 |
+
"validation": "UD_Latin-PROIEL/la_proiel-ud-dev.conllu",
|
762 |
+
"test": "UD_Latin-PROIEL/la_proiel-ud-test.conllu",
|
763 |
},
|
764 |
"lv_lvtb": {
|
765 |
+
"train": "UD_Latvian-LVTB/lv_lvtb-ud-train.conllu",
|
766 |
+
"validation": "UD_Latvian-LVTB/lv_lvtb-ud-dev.conllu",
|
767 |
+
"test": "UD_Latvian-LVTB/lv_lvtb-ud-test.conllu",
|
768 |
},
|
769 |
"lt_alksnis": {
|
770 |
+
"train": "UD_Lithuanian-ALKSNIS/lt_alksnis-ud-train.conllu",
|
771 |
+
"validation": "UD_Lithuanian-ALKSNIS/lt_alksnis-ud-dev.conllu",
|
772 |
+
"test": "UD_Lithuanian-ALKSNIS/lt_alksnis-ud-test.conllu",
|
773 |
},
|
774 |
"lt_hse": {
|
775 |
+
"train": "UD_Lithuanian-HSE/lt_hse-ud-train.conllu",
|
776 |
+
"validation": "UD_Lithuanian-HSE/lt_hse-ud-train.conllu",
|
777 |
+
"test": "UD_Lithuanian-HSE/lt_hse-ud-train.conllu",
|
|
|
|
|
|
|
|
|
778 |
},
|
779 |
+
"olo_kkpp": {"train": "UD_Livvi-KKPP/olo_kkpp-ud-train.conllu", "test": "UD_Livvi-KKPP/olo_kkpp-ud-test.conllu",},
|
780 |
"mt_mudt": {
|
781 |
+
"train": "UD_Maltese-MUDT/mt_mudt-ud-train.conllu",
|
782 |
+
"validation": "UD_Maltese-MUDT/mt_mudt-ud-dev.conllu",
|
783 |
+
"test": "UD_Maltese-MUDT/mt_mudt-ud-test.conllu",
|
|
|
|
|
|
|
784 |
},
|
785 |
+
"gv_cadhan": {"test": "UD_Manx-Cadhan/gv_cadhan-ud-test.conllu",},
|
786 |
"mr_ufal": {
|
787 |
+
"train": "UD_Marathi-UFAL/mr_ufal-ud-train.conllu",
|
788 |
+
"validation": "UD_Marathi-UFAL/mr_ufal-ud-dev.conllu",
|
789 |
+
"test": "UD_Marathi-UFAL/mr_ufal-ud-test.conllu",
|
790 |
+
},
|
791 |
+
"gun_dooley": {"test": "UD_Mbya_Guarani-Dooley/gun_dooley-ud-test.conllu",},
|
792 |
+
"gun_thomas": {"test": "UD_Mbya_Guarani-Thomas/gun_thomas-ud-test.conllu",},
|
793 |
+
"mdf_jr": {"test": "UD_Moksha-JR/mdf_jr-ud-test.conllu",},
|
794 |
+
"myu_tudet": {"test": "UD_Munduruku-TuDeT/myu_tudet-ud-test.conllu",},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
795 |
"pcm_nsc": {
|
796 |
+
"train": "UD_Naija-NSC/pcm_nsc-ud-train.conllu",
|
797 |
+
"validation": "UD_Naija-NSC/pcm_nsc-ud-dev.conllu",
|
798 |
+
"test": "UD_Naija-NSC/pcm_nsc-ud-test.conllu",
|
|
|
|
|
|
|
799 |
},
|
800 |
+
"nyq_aha": {"test": "UD_Nayini-AHA/nyq_aha-ud-test.conllu",},
|
801 |
"sme_giella": {
|
802 |
+
"train": "UD_North_Sami-Giella/sme_giella-ud-train.conllu",
|
803 |
+
"test": "UD_North_Sami-Giella/sme_giella-ud-test.conllu",
|
804 |
},
|
805 |
"no_bokmaal": {
|
806 |
+
"train": "UD_Norwegian-Bokmaal/no_bokmaal-ud-train.conllu",
|
807 |
+
"validation": "UD_Norwegian-Bokmaal/no_bokmaal-ud-dev.conllu",
|
808 |
+
"test": "UD_Norwegian-Bokmaal/no_bokmaal-ud-test.conllu",
|
809 |
},
|
810 |
"no_nynorsk": {
|
811 |
+
"train": "UD_Norwegian-Nynorsk/no_nynorsk-ud-train.conllu",
|
812 |
+
"validation": "UD_Norwegian-Nynorsk/no_nynorsk-ud-dev.conllu",
|
813 |
+
"test": "UD_Norwegian-Nynorsk/no_nynorsk-ud-test.conllu",
|
814 |
},
|
815 |
"no_nynorsklia": {
|
816 |
+
"train": "UD_Norwegian-NynorskLIA/no_nynorsklia-ud-train.conllu",
|
817 |
+
"validation": "UD_Norwegian-NynorskLIA/no_nynorsklia-ud-dev.conllu",
|
818 |
+
"test": "UD_Norwegian-NynorskLIA/no_nynorsklia-ud-test.conllu",
|
819 |
},
|
820 |
"cu_proiel": {
|
821 |
+
"train": "UD_Old_Church_Slavonic-PROIEL/cu_proiel-ud-train.conllu",
|
822 |
+
"validation": "UD_Old_Church_Slavonic-PROIEL/cu_proiel-ud-dev.conllu",
|
823 |
+
"test": "UD_Old_Church_Slavonic-PROIEL/cu_proiel-ud-test.conllu",
|
824 |
},
|
825 |
"fro_srcmf": {
|
826 |
+
"train": "UD_Old_French-SRCMF/fro_srcmf-ud-train.conllu",
|
827 |
+
"validation": "UD_Old_French-SRCMF/fro_srcmf-ud-dev.conllu",
|
828 |
+
"test": "UD_Old_French-SRCMF/fro_srcmf-ud-test.conllu",
|
829 |
},
|
830 |
"orv_rnc": {
|
831 |
+
"train": "UD_Old_Russian-RNC/orv_rnc-ud-train.conllu",
|
832 |
+
"test": "UD_Old_Russian-RNC/orv_rnc-ud-test.conllu",
|
833 |
},
|
834 |
"orv_torot": {
|
835 |
+
"train": "UD_Old_Russian-TOROT/orv_torot-ud-train.conllu",
|
836 |
+
"validation": "UD_Old_Russian-TOROT/orv_torot-ud-dev.conllu",
|
837 |
+
"test": "UD_Old_Russian-TOROT/orv_torot-ud-test.conllu",
|
|
|
|
|
|
|
838 |
},
|
839 |
+
"otk_tonqq": {"test": "UD_Old_Turkish-Tonqq/otk_tonqq-ud-test.conllu",},
|
840 |
"fa_perdt": {
|
841 |
+
"train": "UD_Persian-PerDT/fa_perdt-ud-train.conllu",
|
842 |
+
"validation": "UD_Persian-PerDT/fa_perdt-ud-dev.conllu",
|
843 |
+
"test": "UD_Persian-PerDT/fa_perdt-ud-test.conllu",
|
844 |
},
|
845 |
"fa_seraji": {
|
846 |
+
"train": "UD_Persian-Seraji/fa_seraji-ud-train.conllu",
|
847 |
+
"validation": "UD_Persian-Seraji/fa_seraji-ud-dev.conllu",
|
848 |
+
"test": "UD_Persian-Seraji/fa_seraji-ud-test.conllu",
|
849 |
},
|
850 |
"pl_lfg": {
|
851 |
+
"train": "UD_Polish-LFG/pl_lfg-ud-train.conllu",
|
852 |
+
"validation": "UD_Polish-LFG/pl_lfg-ud-dev.conllu",
|
853 |
+
"test": "UD_Polish-LFG/pl_lfg-ud-test.conllu",
|
854 |
},
|
855 |
"pl_pdb": {
|
856 |
+
"train": "UD_Polish-PDB/pl_pdb-ud-train.conllu",
|
857 |
+
"validation": "UD_Polish-PDB/pl_pdb-ud-dev.conllu",
|
858 |
+
"test": "UD_Polish-PDB/pl_pdb-ud-test.conllu",
|
|
|
|
|
|
|
859 |
},
|
860 |
+
"pl_pud": {"test": "UD_Polish-PUD/pl_pud-ud-test.conllu",},
|
861 |
"pt_bosque": {
|
862 |
+
"train": "UD_Portuguese-Bosque/pt_bosque-ud-train.conllu",
|
863 |
+
"validation": "UD_Portuguese-Bosque/pt_bosque-ud-dev.conllu",
|
864 |
+
"test": "UD_Portuguese-Bosque/pt_bosque-ud-test.conllu",
|
865 |
},
|
866 |
"pt_gsd": {
|
867 |
+
"train": "UD_Portuguese-GSD/pt_gsd-ud-train.conllu",
|
868 |
+
"validation": "UD_Portuguese-GSD/pt_gsd-ud-dev.conllu",
|
869 |
+
"test": "UD_Portuguese-GSD/pt_gsd-ud-test.conllu",
|
|
|
|
|
|
|
870 |
},
|
871 |
+
"pt_pud": {"test": "UD_Portuguese-PUD/pt_pud-ud-test.conllu",},
|
872 |
"ro_nonstandard": {
|
873 |
+
"train": "UD_Romanian-Nonstandard/ro_nonstandard-ud-train.conllu",
|
874 |
+
"validation": "UD_Romanian-Nonstandard/ro_nonstandard-ud-dev.conllu",
|
875 |
+
"test": "UD_Romanian-Nonstandard/ro_nonstandard-ud-test.conllu",
|
876 |
},
|
877 |
"ro_rrt": {
|
878 |
+
"train": "UD_Romanian-RRT/ro_rrt-ud-train.conllu",
|
879 |
+
"validation": "UD_Romanian-RRT/ro_rrt-ud-dev.conllu",
|
880 |
+
"test": "UD_Romanian-RRT/ro_rrt-ud-test.conllu",
|
881 |
},
|
882 |
"ro_simonero": {
|
883 |
+
"train": "UD_Romanian-SiMoNERo/ro_simonero-ud-train.conllu",
|
884 |
+
"validation": "UD_Romanian-SiMoNERo/ro_simonero-ud-dev.conllu",
|
885 |
+
"test": "UD_Romanian-SiMoNERo/ro_simonero-ud-test.conllu",
|
886 |
},
|
887 |
"ru_gsd": {
|
888 |
+
"train": "UD_Russian-GSD/ru_gsd-ud-train.conllu",
|
889 |
+
"validation": "UD_Russian-GSD/ru_gsd-ud-dev.conllu",
|
890 |
+
"test": "UD_Russian-GSD/ru_gsd-ud-test.conllu",
|
|
|
|
|
|
|
891 |
},
|
892 |
+
"ru_pud": {"test": "UD_Russian-PUD/ru_pud-ud-test.conllu",},
|
893 |
"ru_syntagrus": {
|
894 |
+
"train": "UD_Russian-SynTagRus/ru_syntagrus-ud-train.conllu",
|
895 |
+
"validation": "UD_Russian-SynTagRus/ru_syntagrus-ud-dev.conllu",
|
896 |
+
"test": "UD_Russian-SynTagRus/ru_syntagrus-ud-test.conllu",
|
897 |
},
|
898 |
"ru_taiga": {
|
899 |
+
"train": "UD_Russian-Taiga/ru_taiga-ud-train.conllu",
|
900 |
+
"validation": "UD_Russian-Taiga/ru_taiga-ud-dev.conllu",
|
901 |
+
"test": "UD_Russian-Taiga/ru_taiga-ud-test.conllu",
|
|
|
|
|
|
|
902 |
},
|
903 |
+
"sa_ufal": {"test": "UD_Sanskrit-UFAL/sa_ufal-ud-test.conllu",},
|
904 |
"sa_vedic": {
|
905 |
+
"train": "UD_Sanskrit-Vedic/sa_vedic-ud-train.conllu",
|
906 |
+
"test": "UD_Sanskrit-Vedic/sa_vedic-ud-test.conllu",
|
907 |
},
|
908 |
"gd_arcosg": {
|
909 |
+
"train": "UD_Scottish_Gaelic-ARCOSG/gd_arcosg-ud-train.conllu",
|
910 |
+
"validation": "UD_Scottish_Gaelic-ARCOSG/gd_arcosg-ud-dev.conllu",
|
911 |
+
"test": "UD_Scottish_Gaelic-ARCOSG/gd_arcosg-ud-test.conllu",
|
912 |
},
|
913 |
"sr_set": {
|
914 |
+
"train": "UD_Serbian-SET/sr_set-ud-train.conllu",
|
915 |
+
"validation": "UD_Serbian-SET/sr_set-ud-dev.conllu",
|
916 |
+
"test": "UD_Serbian-SET/sr_set-ud-test.conllu",
|
|
|
|
|
|
|
917 |
},
|
918 |
+
"sms_giellagas": {"test": "UD_Skolt_Sami-Giellagas/sms_giellagas-ud-test.conllu",},
|
919 |
"sk_snk": {
|
920 |
+
"train": "UD_Slovak-SNK/sk_snk-ud-train.conllu",
|
921 |
+
"validation": "UD_Slovak-SNK/sk_snk-ud-dev.conllu",
|
922 |
+
"test": "UD_Slovak-SNK/sk_snk-ud-test.conllu",
|
923 |
},
|
924 |
"sl_ssj": {
|
925 |
+
"train": "UD_Slovenian-SSJ/sl_ssj-ud-train.conllu",
|
926 |
+
"validation": "UD_Slovenian-SSJ/sl_ssj-ud-dev.conllu",
|
927 |
+
"test": "UD_Slovenian-SSJ/sl_ssj-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
928 |
},
|
929 |
+
"sl_sst": {"train": "UD_Slovenian-SST/sl_sst-ud-train.conllu", "test": "UD_Slovenian-SST/sl_sst-ud-test.conllu",},
|
930 |
+
"soj_aha": {"test": "UD_Soi-AHA/soj_aha-ud-test.conllu",},
|
931 |
+
"ajp_madar": {"test": "UD_South_Levantine_Arabic-MADAR/ajp_madar-ud-test.conllu",},
|
932 |
"es_ancora": {
|
933 |
+
"train": "UD_Spanish-AnCora/es_ancora-ud-train.conllu",
|
934 |
+
"validation": "UD_Spanish-AnCora/es_ancora-ud-dev.conllu",
|
935 |
+
"test": "UD_Spanish-AnCora/es_ancora-ud-test.conllu",
|
936 |
},
|
937 |
"es_gsd": {
|
938 |
+
"train": "UD_Spanish-GSD/es_gsd-ud-train.conllu",
|
939 |
+
"validation": "UD_Spanish-GSD/es_gsd-ud-dev.conllu",
|
940 |
+
"test": "UD_Spanish-GSD/es_gsd-ud-test.conllu",
|
|
|
|
|
|
|
941 |
},
|
942 |
+
"es_pud": {"test": "UD_Spanish-PUD/es_pud-ud-test.conllu",},
|
943 |
"swl_sslc": {
|
944 |
+
"train": "UD_Swedish_Sign_Language-SSLC/swl_sslc-ud-train.conllu",
|
945 |
+
"validation": "UD_Swedish_Sign_Language-SSLC/swl_sslc-ud-dev.conllu",
|
946 |
+
"test": "UD_Swedish_Sign_Language-SSLC/swl_sslc-ud-test.conllu",
|
947 |
},
|
948 |
"sv_lines": {
|
949 |
+
"train": "UD_Swedish-LinES/sv_lines-ud-train.conllu",
|
950 |
+
"validation": "UD_Swedish-LinES/sv_lines-ud-dev.conllu",
|
951 |
+
"test": "UD_Swedish-LinES/sv_lines-ud-test.conllu",
|
|
|
|
|
|
|
952 |
},
|
953 |
+
"sv_pud": {"test": "UD_Swedish-PUD/sv_pud-ud-test.conllu",},
|
954 |
"sv_talbanken": {
|
955 |
+
"train": "UD_Swedish-Talbanken/sv_talbanken-ud-train.conllu",
|
956 |
+
"validation": "UD_Swedish-Talbanken/sv_talbanken-ud-dev.conllu",
|
957 |
+
"test": "UD_Swedish-Talbanken/sv_talbanken-ud-test.conllu",
|
958 |
+
},
|
959 |
+
"gsw_uzh": {"test": "UD_Swiss_German-UZH/gsw_uzh-ud-test.conllu",},
|
960 |
+
"tl_trg": {"test": "UD_Tagalog-TRG/tl_trg-ud-test.conllu",},
|
961 |
+
"tl_ugnayan": {"test": "UD_Tagalog-Ugnayan/tl_ugnayan-ud-test.conllu",},
|
962 |
+
"ta_mwtt": {"test": "UD_Tamil-MWTT/ta_mwtt-ud-test.conllu",},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
963 |
"ta_ttb": {
|
964 |
+
"train": "UD_Tamil-TTB/ta_ttb-ud-train.conllu",
|
965 |
+
"validation": "UD_Tamil-TTB/ta_ttb-ud-dev.conllu",
|
966 |
+
"test": "UD_Tamil-TTB/ta_ttb-ud-test.conllu",
|
967 |
},
|
968 |
"te_mtg": {
|
969 |
+
"train": "UD_Telugu-MTG/te_mtg-ud-train.conllu",
|
970 |
+
"validation": "UD_Telugu-MTG/te_mtg-ud-dev.conllu",
|
971 |
+
"test": "UD_Telugu-MTG/te_mtg-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
972 |
},
|
973 |
+
"th_pud": {"test": "UD_Thai-PUD/th_pud-ud-test.conllu",},
|
974 |
+
"tpn_tudet": {"test": "UD_Tupinamba-TuDeT/tpn_tudet-ud-test.conllu",},
|
975 |
"qtd_sagt": {
|
976 |
+
"train": "UD_Turkish_German-SAGT/qtd_sagt-ud-train.conllu",
|
977 |
+
"validation": "UD_Turkish_German-SAGT/qtd_sagt-ud-dev.conllu",
|
978 |
+
"test": "UD_Turkish_German-SAGT/qtd_sagt-ud-test.conllu",
|
979 |
},
|
980 |
"tr_boun": {
|
981 |
+
"train": "UD_Turkish-BOUN/tr_boun-ud-train.conllu",
|
982 |
+
"validation": "UD_Turkish-BOUN/tr_boun-ud-dev.conllu",
|
983 |
+
"test": "UD_Turkish-BOUN/tr_boun-ud-test.conllu",
|
|
|
|
|
|
|
984 |
},
|
985 |
+
"tr_gb": {"test": "UD_Turkish-GB/tr_gb-ud-test.conllu",},
|
986 |
"tr_imst": {
|
987 |
+
"train": "UD_Turkish-IMST/tr_imst-ud-train.conllu",
|
988 |
+
"validation": "UD_Turkish-IMST/tr_imst-ud-dev.conllu",
|
989 |
+
"test": "UD_Turkish-IMST/tr_imst-ud-test.conllu",
|
|
|
|
|
|
|
990 |
},
|
991 |
+
"tr_pud": {"test": "UD_Turkish-PUD/tr_pud-ud-test.conllu",},
|
992 |
"uk_iu": {
|
993 |
+
"train": "UD_Ukrainian-IU/uk_iu-ud-train.conllu",
|
994 |
+
"validation": "UD_Ukrainian-IU/uk_iu-ud-dev.conllu",
|
995 |
+
"test": "UD_Ukrainian-IU/uk_iu-ud-test.conllu",
|
996 |
},
|
997 |
"hsb_ufal": {
|
998 |
+
"train": "UD_Upper_Sorbian-UFAL/hsb_ufal-ud-train.conllu",
|
999 |
+
"test": "UD_Upper_Sorbian-UFAL/hsb_ufal-ud-test.conllu",
|
1000 |
},
|
1001 |
"ur_udtb": {
|
1002 |
+
"train": "UD_Urdu-UDTB/ur_udtb-ud-train.conllu",
|
1003 |
+
"validation": "UD_Urdu-UDTB/ur_udtb-ud-dev.conllu",
|
1004 |
+
"test": "UD_Urdu-UDTB/ur_udtb-ud-test.conllu",
|
1005 |
},
|
1006 |
"ug_udt": {
|
1007 |
+
"train": "UD_Uyghur-UDT/ug_udt-ud-train.conllu",
|
1008 |
+
"validation": "UD_Uyghur-UDT/ug_udt-ud-dev.conllu",
|
1009 |
+
"test": "UD_Uyghur-UDT/ug_udt-ud-test.conllu",
|
1010 |
},
|
1011 |
"vi_vtb": {
|
1012 |
+
"train": "UD_Vietnamese-VTB/vi_vtb-ud-train.conllu",
|
1013 |
+
"validation": "UD_Vietnamese-VTB/vi_vtb-ud-dev.conllu",
|
1014 |
+
"test": "UD_Vietnamese-VTB/vi_vtb-ud-test.conllu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1015 |
},
|
1016 |
+
"wbp_ufal": {"test": "UD_Warlpiri-UFAL/wbp_ufal-ud-test.conllu",},
|
1017 |
+
"cy_ccg": {"train": "UD_Welsh-CCG/cy_ccg-ud-train.conllu", "test": "UD_Welsh-CCG/cy_ccg-ud-test.conllu",},
|
1018 |
"wo_wtb": {
|
1019 |
+
"train": "UD_Wolof-WTB/wo_wtb-ud-train.conllu",
|
1020 |
+
"validation": "UD_Wolof-WTB/wo_wtb-ud-dev.conllu",
|
1021 |
+
"test": "UD_Wolof-WTB/wo_wtb-ud-test.conllu",
|
|
|
|
|
|
|
1022 |
},
|
1023 |
+
"yo_ytb": {"test": "UD_Yoruba-YTB/yo_ytb-ud-test.conllu",},
|
1024 |
}
|
1025 |
|
1026 |
|
|
|
1093 |
|
1094 |
def _split_generators(self, dl_manager):
|
1095 |
"""Returns SplitGenerators."""
|
1096 |
+
data_dir = dl_manager.download_and_extract(_DATA_URL)
|
1097 |
+
filepaths = {
|
1098 |
+
split: os.path.join(data_dir, "ud-treebanks-v2.7", path)
|
1099 |
+
for split, path in _UD_DATASETS[self.config.name].items()
|
1100 |
+
}
|
1101 |
+
return [
|
1102 |
+
datasets.SplitGenerator(name=datasets.Split(split), gen_kwargs={"filepath": filepaths[split]})
|
1103 |
+
for split in filepaths
|
1104 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1105 |
|
1106 |
def _generate_examples(self, filepath):
|
1107 |
+
id_ = 0
|
1108 |
+
with open(filepath, "r", encoding="utf-8") as data_file:
|
1109 |
+
tokenlist = list(conllu.parse_incr(data_file))
|
1110 |
+
for sent in tokenlist:
|
1111 |
+
if "sent_id" in sent.metadata:
|
1112 |
+
idx = sent.metadata["sent_id"]
|
1113 |
+
else:
|
1114 |
+
idx = id_
|
|
|
1115 |
|
1116 |
+
tokens = [token["form"] for token in sent]
|
1117 |
|
1118 |
+
if "text" in sent.metadata:
|
1119 |
+
txt = sent.metadata["text"]
|
1120 |
+
else:
|
1121 |
+
txt = " ".join(tokens)
|
1122 |
|
1123 |
+
yield id_, {
|
1124 |
+
"idx": str(idx),
|
1125 |
+
"text": txt,
|
1126 |
+
"tokens": [token["form"] for token in sent],
|
1127 |
+
"lemmas": [token["lemma"] for token in sent],
|
1128 |
+
"upos": [token["upos"] for token in sent],
|
1129 |
+
"xpos": [token["xpos"] for token in sent],
|
1130 |
+
"feats": [str(token["feats"]) for token in sent],
|
1131 |
+
"head": [str(token["head"]) for token in sent],
|
1132 |
+
"deprel": [str(token["deprel"]) for token in sent],
|
1133 |
+
"deps": [str(token["deps"]) for token in sent],
|
1134 |
+
"misc": [str(token["misc"]) for token in sent],
|
1135 |
+
}
|
1136 |
+
id_ += 1
|