Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to get more detailed information from FinnPOS to improve filtering? #11

Open
frankier opened this issue Dec 14, 2018 · 1 comment

Comments

@frankier
Copy link
Owner

Currently some words will be tagged with a POS based only part of the word. e.g.

~/e/i/stiff ❯❯❯ ftb-label                                                                                                                                                                           ⏎ master ⬆ ✱ ◼
FinnTreeBank tagger (v0.1-alpha-150-g82bce74) using OMorFi and FinnPos

/usr/local/bin/hfst-optimized-lookup: Reading from STDIN. Writing to STDOUT.
/usr/local/bin/finnpos-label: Loading tagger.
/usr/local/bin/finnpos-ratna-feats.py: Reading from STDIN. Writing to STDOUT.
/usr/local/bin/omorfi2finnpos.py: Reading from STDIN. Writing to STDOUT
1
1
/usr/local/bin/finnpos-label: Reading from STDIN. Writing to STDOUT.
Minä
olin
humalassapa
.
Minä	_	minä	[POS=PRONOUN]|[SUBCAT=PERSONAL]|[PERS=SG1]|[NUM=SG]|[CASE=NOM]	_
olin	_	olla	[POS=VERB]|[VOICE=ACT]|[MOOD=INDV]|[TENSE=PAST]|[PERS=SG1]	_
humalassapa	_	humalassa	[POS=PARTICLE]|[CLIT=PA]	_
.	_	.	[POS=PUNCTUATION]	_

Noting that humalassapa has a particle is all very well, but what we actually want to know is that humalassa is adverb-like and humala is a noun since these are the headwords which exist in Wiktionary.

@frankier
Copy link
Owner Author

For particle in particular, perhaps this is quite easy:

Minä	_	minä	[POS=PRONOUN]|[SUBCAT=PERSONAL]|[PERS=SG1]|[NUM=SG]|[CASE=NOM]	_
pidän	_	pitää	[POS=VERB]|[VOICE=ACT]|[MOOD=INDV]|[TENSE=PRESENT]|[PERS=SG1]	_
oluesta	_	olut	[POS=NOUN]|[NUM=SG]|[CASE=ELA]	_
niin	_	niin	[POS=PARTICLE]	_
paljon	_	paljon	[POS=ADVERB]	_
.	_	.	[POS=PUNCTUATION]	_

We know we have a true particle when lemma == surface -- if the lemma given by FinnPOS is something which has another analysis according to OMorFi then perhaps something more complex is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant