c2xg icon indicating copy to clipboard operation
c2xg copied to clipboard

A Python package for learning, evaluating, annotating, and extracting vector representations of construction grammars

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

Hi, it seems like your code (or some libraries in your code) is using the `triu` function from `scipy.linalg` library. This has been deprecated and is therefore [not anymore available...

The print_examples() function fails to find examples for lexical and syntactic grammars due to a format mismatch between construction learning and example collection phases. During learning (process_grammar()): Lexical grammar: converts...

It may be useful to give the user the option to set a max_words for the embedding phase and another max_words for the learning phase. For example, a user may...

This comment is related to Issue 6. Currently, the code rewrites max_words as max vocab on line 626 of C2xG.py This means that if one wants max_words to be a...

I've encountered an issue in the get_association() method (c2xg.py, lines 1932-1933) that prevents any constructions from being learned. The issue is that the frequency filter checks the length of the...

When importing c2xg on non-Intel systems such as Apple Silicon (here, M3) the message "UNABLE TO ACCELERATE SKLEARN" is printed. In Word_Classes.py (lines 13-15), the code attempts to import and...

I'm getting a crash with CxG_learn() after the embeddings finish training, the script fails with: ``` File c2xg/Loader.py, line 148, in get_unk vector = self.cbow_model[word] TypeError: 'bool' object is not...

In the documentation, max_vocab is described as accepting "int or False". However, passing max_vocab=False causes get_lexicon() to return an empty lexicon dictionary. **Bug Location:** Loader.py, get_lexicon() method, lines ~60-65 **Root...

The Word_Classes.py module is incompatible with Gensim 4.0 and later versions due to changes in how FastText models expose word vector operations. In Gensim 4.0, word vector operations were moved...

In the documentation of C2xG.py, it is said that the default value of max_vocab should be int or False. However, it is set to None on line 583. This creates...