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

mudanças no tratamento da etiqueta COP do conjunto XPOS #565

Open
3 of 5 tasks
leoalenc opened this issue Sep 13, 2024 · 2 comments
Open
3 of 5 tasks

mudanças no tratamento da etiqueta COP do conjunto XPOS #565

leoalenc opened this issue Sep 13, 2024 · 2 comments
Assignees
Labels
disambiguation Issues about disambiguation of words enhancement New feature or request lexicon This issue relates to lexical data morphological parsing Lemmatization and morphological analysis tools This issue relates to Python code UD Annotation This issue relates to Universal Dependencies annotation

Comments

@leoalenc
Copy link
Contributor

leoalenc commented Sep 13, 2024

@leoalenc leoalenc added enhancement New feature or request lexicon This issue relates to lexical data tools This issue relates to Python code morphological parsing Lemmatization and morphological analysis UD Annotation This issue relates to Universal Dependencies annotation labels Sep 13, 2024
@leoalenc leoalenc self-assigned this Sep 13, 2024
@leoalenc leoalenc added the disambiguation Issues about disambiguation of words label Sep 13, 2024
@leoalenc
Copy link
Contributor Author

>>> Yauti.getparselist('ikú')
[['ikú', 'COP+NFIN'], ['ikú', 'V+NFIN']]
>>> Yauti.getparselist('uikú')
[['ikú', 'COP+IND+3'], ['ikú', 'V+IND+3']]
>>> Yauti.pp('uikú')
1	uikú	ikú	AUX	COP	Mood=Ind|Person=3|VerbForm=FIN	0	_	_	TokenRange=0:4
1	uikú	ikú	VERB	COP	Mood=Ind|Person=3|VerbForm=FIN	0	root	_	TokenRange=0:4

@leoalenc
Copy link
Contributor Author

É preciso alterar esta função ou outras que lidam com desambiguação de verbo e auxiliar:

def filterparselist(tags,parselist):
    if tags:
        return list(filter(lambda x: hasTag(getTags(x),tags.upper()),parselist))
    else:
        return parselist

leoalenc added a commit that referenced this issue Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disambiguation Issues about disambiguation of words enhancement New feature or request lexicon This issue relates to lexical data morphological parsing Lemmatization and morphological analysis tools This issue relates to Python code UD Annotation This issue relates to Universal Dependencies annotation
Projects
None yet
Development

No branches or pull requests

1 participant