morfeusz-nkjp-official-guesser.ini 806 Bytes
; MorfeuszSGJP outputting in NKJP but with fallback on Guesser from libcorpus1, naively converted to NKJP.
; NOTE: this config assumes the official version of Morfeusz SGJP is installed.

[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

; use guesser module from corpuslib
[ma:guess]
	class=wrap_convert
	wrapped_class=guesser
	wrapped_converter=naive-kipi2nkjp.conv
	wrapped_tagset=kipi
	tagset=nkjp

[ma:morfeusz]
	class=morfeusz
	tagset=nkjp
	converter=sgjp2nkjp.conv
	require_version=Morfeusz SGJP
[rule]
	toki_type=p
	ma=interp

[rule]
	toki_type=tu
	ma=url

[default]
	ma=morfeusz
	ma=guess
	ma=unknown