Skip to content
New issue

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

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

Already on GitHub? # to your account

Grammar Tips 💡 #712

Open
dwhieb opened this issue Mar 18, 2021 · 4 comments
Open

Grammar Tips 💡 #712

dwhieb opened this issue Mar 18, 2021 · 4 comments
Labels
aew-request Request from Arok E. Wolvengrey Good to Have New feature or functionality that would be really nice to have

Comments

@dwhieb
Copy link
Contributor

dwhieb commented Mar 18, 2021

For certain search terms like "a", "an", "the" or "in", "on", "at", it is better for a user to see a brief grammar explanation than any lexical entries. (It might be desirable to show grammatical entries too, but our database doesn't contain those yet.)

For example, a user searching for "on" or "at" should see a description of the locative suffix -ihk (and later, the entry for -ihk as well).

As a first implementation, we can set up a directory of Markdown files (one for each grammar tip), and a lookup function which displays the relevant Markdown file if certain key words are included in the search.

Potential Future Additions

@dwhieb dwhieb added the Good to Have New feature or functionality that would be really nice to have label Mar 18, 2021
@andrewdotn
Copy link
Contributor

I have the very beginnings of something for this on this branch: https://github.com/andrewdotn/cree-intelligent-dictionary/tree/grammar-tips

@aarppe
Copy link
Contributor

aarppe commented Mar 19, 2021

@aarppe
Copy link
Contributor

aarppe commented Mar 19, 2021

As for other such static paradigm sets for closed word classes, in the case of Cree one could present as sets interrogative pronouns and adverbs, quantifier pronouns (which we could reference in the context of definiteness in Cree), and maybe even common prepositions.

@eddieantonio
Copy link
Member

As far as concerns pronouns (see: #514), we already have paradigms for personal and demonstrative pronouns in https://github.com/UAlbertaALTLab/cree-intelligent-dictionary/tree/master/CreeDictionary/res/layouts and/or https://github.com/giellalt/lang-crk/blob/develop/inc/paradigms/non-linguistic/pronoun-personal-basic.layout.tsv and https://github.com/giellalt/lang-crk/blob/develop/inc/paradigms/non-linguistic/pronoun-demonstrative-basic.layout.tsv – these wouldn't necessarily need any FST generation, as the wordforms are what they are.

The pronoun paradigms do not work as of yet because the paradigm table code is hard coded to work only with verbs and nouns. In fact, placing these paradigms in the folders crashes itwêwina on startup :/

@aarppe aarppe added the aew-request Request from Arok E. Wolvengrey label May 20, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
aew-request Request from Arok E. Wolvengrey Good to Have New feature or functionality that would be really nice to have
Projects
None yet
Development

No branches or pull requests

4 participants