Changes between Version 11 and Version 12 of UTT by example
- Timestamp:
- 02/21/12 12:16:11 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UTT by example
v11 v12 810 810 == grp == 811 811 812 Description: 813 {{{ 814 Select sentences containing an expression matching a pattern 'lexeme(kot)'. 815 }}} 812 816 Command: 813 817 {{{ … … 824 828 0012 01 S \n 825 829 }}} 830 831 Description: 832 {{{ 833 Select sentences containing an expression matching a pattern 'lexeme(kot)'. 834 }}} 826 835 Command: 827 836 {{{ 828 837 echo 'Ala ma psa.' | tok | lem -1 | grp -e 'lexeme(kot)' 829 838 }}} 830 Output: 831 832 {{{ 833 ????????????? 839 Output: 840 {{{ 841 ? 834 842 }}} 835 843 … … 837 845 == mar == 838 846 839 Command: 840 {{{ 841 echo 'Ala ma małego kota. Ola ma dużego kota. Bartosz ma wielkiego psa.' | tok | lem -1 | mar -e '@KOTADJSTART cat(<ADJ>) @KOTADJEND space lexeme(kot)' 842 }}} 843 Output: 844 {{{ 845 0000 03 W Ala 846 0003 01 S _ 847 0004 02 W ma lem:mieć,V/AiMdNsP3TfrVp;mój,ADJPRO/CnvGfNs 848 0006 01 S _ 849 0007 00 KOTADJSTART * 850 0007 06 W małego lem:małe,N/CgGnNs;mały,ADJ/CaDpGapNs,ADJ/CgDpGainpNs,N/CaGpNs,N/CgGpNs 851 0013 00 KOTADJEND * 852 0013 01 S _ 853 0014 04 W kota lem:kota,N/CnGfNs;kot,N/CaGaNs,N/CgGaNs 854 0018 01 P . 855 0019 01 S _ 856 0020 03 W Ola 857 0023 01 S _ 858 0024 02 W ma lem:mieć,V/AiMdNsP3TfrVp;mój,ADJPRO/CnvGfNs 859 0026 01 S _ 860 0027 00 KOTADJSTART * 861 0027 06 W dużego lem:duży,ADJ/CaDpGapNs,ADJ/CgDpGainpNs 862 0033 00 KOTADJEND * 863 0033 01 S _ 864 0034 04 W kota lem:kota,N/CnGfNs;kot,N/CaGaNs,N/CgGaNs 865 0038 01 P . 866 0039 01 S _ 867 0040 07 W Bartosz lem:Bartosz,N/CnGpNs 868 0047 01 S _ 869 0048 02 W ma lem:mieć,V/AiMdNsP3TfrVp;mój,ADJPRO/CnvGfNs 870 0050 01 S _ 871 0051 09 W wielkiego lem:wielki,ADJ/CaDpGapNs,ADJ/CgDpGainpNs 872 0060 01 S _ 873 0061 03 W psa lem:pies,N/CaGaNs,N/CgGaNs 874 0064 01 P . 875 0065 01 S \n 847 Description: 848 {{{ 849 850 }}} 851 Command: 852 {{{ 853 854 }}} 855 Output: 856 {{{ 857 858 }}} 859 860 Description: 861 {{{ 862 863 }}} 864 Command: 865 {{{ 866 867 }}} 868 Output: 869 {{{ 870 871 }}} 872 873 Description: 874 {{{ 875 876 }}} 877 Command: 878 {{{ 879 880 }}} 881 Output: 882 {{{ 883 884 }}} 885 886 Description: 887 {{{ 888 889 }}} 890 Command: 891 {{{ 892 893 }}} 894 Output: 895 {{{ 896 897 }}} 898 899 Description: 900 {{{ 901 902 }}} 903 Command: 904 {{{ 905 906 }}} 907 Output: 908 {{{ 909 910 }}} 911 912 Description: 913 {{{ 914 915 }}} 916 Command: 917 {{{ 918 919 }}} 920 Output: 921 {{{ 922 876 923 }}} 877 924 … … 879 926 == kot == 880 927 928 Description: 929 {{{ 930 Change raw text into list of tokens. 931 }}} 881 932 Command: 882 933 {{{ … … 894 945 }}} 895 946 947 Description: 948 {{{ 949 Change list of tokens into raw text. 950 }}} 896 951 Command: 897 952 {{{ … … 903 958 }}} 904 959 960 Description: 961 {{{ 962 Change list of tokens into raw text. Retain the special characters. 963 }}} 905 964 Command: 906 965 {{{ … … 912 971 }}} 913 972 973 Description: 974 {{{ 975 Change list of tokens into raw text. 976 }}} 914 977 Command: 915 978 {{{ … … 930 993 == fla == 931 994 995 Description: 996 {{{ 997 'Flatten' a utt file by merging segments belonging to one sentence in one line. 998 }}} 932 999 Command: 933 1000 {{{ … … 958 1025 == unfla == 959 1026 1027 Description: 1028 {{{ 1029 Transform a flattened UTT file into the regular format by restoring end-of-line characters. 1030 }}} 960 1031 Command: 961 1032 {{{ … … 994 1065 995 1066 996 == help, version == 997 1067 == help == 1068 1069 Description: 1070 {{{ 1071 Print tok help. 1072 }}} 998 1073 Command: 999 1074 {{{ … … 1011 1086 }}} 1012 1087 1013 Command: 1014 {{{ 1015 tok -V 1016 }}} 1017 Output: 1018 {{{ 1019 tok 0.1 1088 Description: 1089 {{{ 1090 Print lem help. 1020 1091 }}} 1021 1092 Command: … … 1035 1106 }}} 1036 1107 1108 1109 == version == 1110 1111 Description: 1112 {{{ 1113 Print tok version information. 1114 }}} 1115 Command: 1116 {{{ 1117 tok -V 1118 }}} 1119 Output: 1120 {{{ 1121 tok 0.1 1122 }}} 1123 1124 Description: 1125 {{{ 1126 Print lem version information. 1127 }}} 1037 1128 Command: 1038 1129 {{{