korp_mono
Turn analysed files into Korp files.
extract_original_analysis(used_analysis, language)
Filter all Err- and Sem-tags from the string.
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 |
|
lemma_generation(original_analysis, pos, _current_lang)
Generate lemma.
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
759 760 761 762 763 764 765 766 767 768 769 |
|
make_morpho_syntactic_description(rest)
Extract morpho_syntactic_description
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 |
|
make_sentences(sentences, current_lang)
Make sentences from the current analysis.
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
869 870 871 872 873 |
|
make_vrt_xml(current_file, lang)
Convert analysis of a file into a vrt file
Converting the analysis output into a suitable xml format for vrt transformation (vrt is the cwb input format)
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 |
|
pad_elements(elem)
Make sure empty text or tail is padded with newline.
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
243 244 245 246 247 248 249 250 251 252 |
|
process_file(file)
Convert analysed file into vrt format file.
Source code in /home/anders/projects/CorpusTools/corpustools/korp_mono.py
504 505 506 507 508 509 510 511 512 513 514 515 |
|