nkjp-with-additions.ini

Example Maca config based on morfeusz-nkjp-official using a transducer - Adam Radziszewski, 24 wrz 2014 15:09

Pobierz (725 B)

 
1
; Data from Morfeusz SGJP, converted to the simplified NKJP tagset (possible genders: n, m1, m2, m3, f)
2
; NOTE: this config assumes the official (not tweaked) Morfeusz SGJP is installed.
3

    
4
[general]
5
	tagset=nkjp
6
	; dot and hyphen sequences as separate tokens
7
	toki-config=nkjp
8

    
9
[ma:unknown]
10
	class=const
11
	tagset=nkjp
12
	tag=ign
13

    
14
[ma:interp]
15
	class=const
16
	tagset=nkjp
17
	tag=interp
18

    
19
[ma:url]
20
	class=const
21
	tagset=nkjp
22
	tag=subst:sg:nom:m3
23

    
24
[ma:morfeusz]
25
	class=morfeusz
26
	tagset=nkjp
27
	converter=sgjp2nkjp.conv
28
	require_version=Morfeusz SGJP
29

    
30
[ma:mydict]
31
	class=sfst
32
	tagset=nkjp
33
	file=myitems-clean.tab.fst
34
	lower-case=true
35
[rule]
36
	toki_type=p
37
	ma=interp
38

    
39
[rule]
40
	toki_type=tu
41
	ma=url
42

    
43
[default]
44
	ma=morfeusz
45
	ma=mydict
46
	ma=unknown