Blame view

tools/maca/data/polimorf-nkjp.ini 893 Bytes
Jan Lupa authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
; Data from Morfeusz Polimorf but converted into NKJP tagset
; (original Morfeuszes always use a tagset with wider variety of gender values,
; while NKJP tagset uses `only' these genders: n, m1, m2, m3, f).

; This config assumes that Morfeusz Polimorf is installed in your system.
; Unfortunately, Morfeusz Polimorf conflicts Morfeusz SGJP (as well as Morfeusz
; SIAT), so you can have only one at a time.

[general]
	tagset=nkjp
	; dot and hyphen sequences as separate tokens
	toki-config=nkjp

[ma:unknown]
	class=const
	tagset=nkjp
	tag=ign

[ma:interp]
	class=const
	tagset=nkjp
	tag=interp

[ma:url]
	class=const
	tagset=nkjp
	tag=subst:sg:nom:m3

[ma:morfeusz]
	class=morfeusz
	tagset=nkjp
	converter=sgjp2nkjp.conv
;	library=libmorfeuszPolimorf.so.0.7
	require_version=Morfeusz Polimorf

[rule]
	toki_type=p
	ma=interp

[rule]
	toki_type=tu
	ma=url

[default]
	ma=morfeusz
	ma=unknown