GreynirEngine icon indicating copy to clipboard operation
GreynirEngine copied to clipboard

A fast, efficient natural language processing engine for Icelandic.

Results 10 GreynirEngine issues
Sort by recently updated
recently updated
newest added

``` from reynir import NounPhrase np_1 = NounPhrase('ýmsir menn, þar á meðal þessi') print(f'Ég er í slagtogi með {np_1:þgf}.') # Output: Ég er í slagtogi með ýmsum mönnum, þar á...

I’m writing some code to detect mentions of companies. The corpus uses the ehf/of/sf/etc. suffixes so that’s a strong indicator for me, and potentially for Greynir too. I know that...

Is there a way to get verb form variants in the same way you can get case variants for nouns? Something like ```python >>> BIN_Db.lookup_past_participle("sækja") ``` The use case is...

I ran the 100 most common first names in Iceland through `greynir.parse`. No female names are interpreted as verbs but there are a few male ones. See this gist for...

If there is a way to augment the grammar file for specific project contexts, that should be documented.

Greynir makes it easy to lemmatize text. If the parser fails I can fallback to the bintokenizer and get multiple lemmas for all meanings. This makes for a great search...

I would loooove it if were easier to reach other variant cases and number when you have a token meaning or terminal instance. Something like `token.get_singular` and `token.get_accusative`.

I’m not familiar with the parsing pipeline but I thought I would share an instance of where the parser tripped in a (to me) surprising way: ```python greynir.parse_single('Sótt er um...

Using version 3.5.5, consider the following `ipython` log. ``` In [15]: from reynir import NounPhrase In [16]: name = NounPhrase("skipulags- og byggingarlög") In [17]: name Out[17]: In [18]: name.dative Out[18]:...

I'm trying to render the original sentences I use Greynir to parse verbatim as html, while inserting the additional data (e.g. lemmas, parts of speech) into the html as well....