Skip to content

Add Contributor Covenant Code of Conduct - #143

Open
thibaultprouteau wants to merge 7 commits into
devfrom
thibaultprouteau-patch-1
Open

Add Contributor Covenant Code of Conduct#143
thibaultprouteau wants to merge 7 commits into
devfrom
thibaultprouteau-patch-1

Conversation

@thibaultprouteau

Copy link
Copy Markdown
Member

This document outlines the standards of behavior for community members and the enforcement procedures for violations.

nicolasdugue and others added 4 commits December 5, 2025 13:37
* factory method to load embeddings at the w2v format (#53)

* Revert "factory method to load embeddings at the w2v format (#53)"

This reverts commit 7da0e99.

* 52 loading vectors such as w2v or spine ones (#57)

* factory method to load embeddings at the w2v format

* Update graph_embeddings.py, small fix

* Adding distRatio (#59)

* moving dist ratio in sinr.text.evaluate, adding unit tests (#61)

* commenting cosine_dist, pick_intruder, dist_ratio, dist_ratio_dim, intra_sim, inter_sim methods

* moving distRatio from graph_embeddings to text/evaluate

* tests unitaires distratio

* cleaning comments

* adding creation and deletion of w2v file for distRatio unit tests

* fix with_value() argument (#65)

Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* load_from_word2vec model s name bug fixed (#70)

* missing word list bug fixed (#68)

* 73 wrong community memberships update when filtering dimensions (#75)

* update of community_membership when filtering dimensions

* sinr filtered: removing dimensions and updating communities_sets

* fixed code to pass tests

* comments

* 76 preprocessing multiple documents (#77)

* preprocessing by documents

* Tests : preprocessing by sentences and by documents

* adding size indicator for spacy model and downloading spacy model in tests workflow'

* downloading spacy

* 78 classification (#80)

* preprocess : minimal length of documents kept + tests

* vectorizer + test

* classification's methods + tests

* xgboost interpretable dimensions

* adding xgboost for test workflow

* classification, fit and score test modification

* get_dimension_stereotypes on removed community fixed (#82)

* Filtering words using a dictionnary (#84)

* Exceptions list, path to save / load SINrVectors (#86)

* not removing words when in exceptions list

* add path to method save

* exceptions list to set + test exceptions list

* path parameter method load

* new exceptions list for similarity

* optionnal parameter path for load and save methods

* 90 notebooks (#91)

* fix save, load, dim_nnz_thresholds + add obj_nnz_count

* add notebook with gutenberg example

* bnc model for notebook

* notebook bnc

* notebook frwac

* remove nb evaluate

* add tqdm to sparsify method

* 99 diachronic features (#100)

* Dev (#94)

* factory method to load embeddings at the w2v format (#53)

* Revert "factory method to load embeddings at the w2v format (#53)"

This reverts commit 7da0e99.

* 52 loading vectors such as w2v or spine ones (#57)

* factory method to load embeddings at the w2v format

* Update graph_embeddings.py, small fix

* Adding distRatio (#59)

* moving dist ratio in sinr.text.evaluate, adding unit tests (#61)

* commenting cosine_dist, pick_intruder, dist_ratio, dist_ratio_dim, intra_sim, inter_sim methods

* moving distRatio from graph_embeddings to text/evaluate

* tests unitaires distratio

* cleaning comments

* adding creation and deletion of w2v file for distRatio unit tests

* fix with_value() argument (#65)

Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* load_from_word2vec model s name bug fixed (#70)

* missing word list bug fixed (#68)

* 73 wrong community memberships update when filtering dimensions (#75)

* update of community_membership when filtering dimensions

* sinr filtered: removing dimensions and updating communities_sets

* fixed code to pass tests

* comments

* 76 preprocessing multiple documents (#77)

* preprocessing by documents

* Tests : preprocessing by sentences and by documents

* adding size indicator for spacy model and downloading spacy model in tests workflow'

* downloading spacy

* 78 classification (#80)

* preprocess : minimal length of documents kept + tests

* vectorizer + test

* classification's methods + tests

* xgboost interpretable dimensions

* adding xgboost for test workflow

* classification, fit and score test modification

* get_dimension_stereotypes on removed community fixed (#82)

* Filtering words using a dictionnary (#84)

* Exceptions list, path to save / load SINrVectors (#86)

* not removing words when in exceptions list

* add path to method save

* exceptions list to set + test exceptions list

* path parameter method load

* new exceptions list for similarity

* optionnal parameter path for load and save methods

* 90 notebooks (#91)

* fix save, load, dim_nnz_thresholds + add obj_nnz_count

* add notebook with gutenberg example

* bnc model for notebook

* notebook bnc

* notebook frwac

* remove nb evaluate

* add tqdm to sparsify method

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Anna B <72624798+aberanger@users.noreply.github.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* Update deploy.yml

* [AUTO-COMMIT] Update release version to v1.3.1. (#96)

Files changed:
M	pyproject.toml
M	sinr/__init__.py

Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>

* doc update (#97)

* doc update

* links update

* remove doc, quality, build

* fix LICENSE link

* Update conf.py

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>

* Diachronic features

* Update publications.rst

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Anna B <72624798+aberanger@users.noreply.github.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>
Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>

* remove disconnected nodes from the graph (#105)

* remove isolated nodes from the graph

* test update

* 98 multiple edges - temporary fix (#107)

* Dev (#94)

* factory method to load embeddings at the w2v format (#53)

* Revert "factory method to load embeddings at the w2v format (#53)"

This reverts commit 7da0e99.

* 52 loading vectors such as w2v or spine ones (#57)

* factory method to load embeddings at the w2v format

* Update graph_embeddings.py, small fix

* Adding distRatio (#59)

* moving dist ratio in sinr.text.evaluate, adding unit tests (#61)

* commenting cosine_dist, pick_intruder, dist_ratio, dist_ratio_dim, intra_sim, inter_sim methods

* moving distRatio from graph_embeddings to text/evaluate

* tests unitaires distratio

* cleaning comments

* adding creation and deletion of w2v file for distRatio unit tests

* fix with_value() argument (#65)

Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* load_from_word2vec model s name bug fixed (#70)

* missing word list bug fixed (#68)

* 73 wrong community memberships update when filtering dimensions (#75)

* update of community_membership when filtering dimensions

* sinr filtered: removing dimensions and updating communities_sets

* fixed code to pass tests

* comments

* 76 preprocessing multiple documents (#77)

* preprocessing by documents

* Tests : preprocessing by sentences and by documents

* adding size indicator for spacy model and downloading spacy model in tests workflow'

* downloading spacy

* 78 classification (#80)

* preprocess : minimal length of documents kept + tests

* vectorizer + test

* classification's methods + tests

* xgboost interpretable dimensions

* adding xgboost for test workflow

* classification, fit and score test modification

* get_dimension_stereotypes on removed community fixed (#82)

* Filtering words using a dictionnary (#84)

* Exceptions list, path to save / load SINrVectors (#86)

* not removing words when in exceptions list

* add path to method save

* exceptions list to set + test exceptions list

* path parameter method load

* new exceptions list for similarity

* optionnal parameter path for load and save methods

* 90 notebooks (#91)

* fix save, load, dim_nnz_thresholds + add obj_nnz_count

* add notebook with gutenberg example

* bnc model for notebook

* notebook bnc

* notebook frwac

* remove nb evaluate

* add tqdm to sparsify method

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Anna B <72624798+aberanger@users.noreply.github.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* Update deploy.yml

* [AUTO-COMMIT] Update release version to v1.3.1. (#96)

Files changed:
M	pyproject.toml
M	sinr/__init__.py

Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>

* doc update (#97)

* doc update

* links update

* remove doc, quality, build

* fix LICENSE link

* Update conf.py

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>

* temporary fix multiple (i,j) entries issue in cooccurrence matrix

---------

Co-authored-by: Nico <nicolas.dugue@univ-lemans.fr>
Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>
Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>

* 108 incompatibility numpy pandas (#109)

* Dev (#94)

* factory method to load embeddings at the w2v format (#53)

* Revert "factory method to load embeddings at the w2v format (#53)"

This reverts commit 7da0e99.

* 52 loading vectors such as w2v or spine ones (#57)

* factory method to load embeddings at the w2v format

* Update graph_embeddings.py, small fix

* Adding distRatio (#59)

* moving dist ratio in sinr.text.evaluate, adding unit tests (#61)

* commenting cosine_dist, pick_intruder, dist_ratio, dist_ratio_dim, intra_sim, inter_sim methods

* moving distRatio from graph_embeddings to text/evaluate

* tests unitaires distratio

* cleaning comments

* adding creation and deletion of w2v file for distRatio unit tests

* fix with_value() argument (#65)

Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* load_from_word2vec model s name bug fixed (#70)

* missing word list bug fixed (#68)

* 73 wrong community memberships update when filtering dimensions (#75)

* update of community_membership when filtering dimensions

* sinr filtered: removing dimensions and updating communities_sets

* fixed code to pass tests

* comments

* 76 preprocessing multiple documents (#77)

* preprocessing by documents

* Tests : preprocessing by sentences and by documents

* adding size indicator for spacy model and downloading spacy model in tests workflow'

* downloading spacy

* 78 classification (#80)

* preprocess : minimal length of documents kept + tests

* vectorizer + test

* classification's methods + tests

* xgboost interpretable dimensions

* adding xgboost for test workflow

* classification, fit and score test modification

* get_dimension_stereotypes on removed community fixed (#82)

* Filtering words using a dictionnary (#84)

* Exceptions list, path to save / load SINrVectors (#86)

* not removing words when in exceptions list

* add path to method save

* exceptions list to set + test exceptions list

* path parameter method load

* new exceptions list for similarity

* optionnal parameter path for load and save methods

* 90 notebooks (#91)

* fix save, load, dim_nnz_thresholds + add obj_nnz_count

* add notebook with gutenberg example

* bnc model for notebook

* notebook bnc

* notebook frwac

* remove nb evaluate

* add tqdm to sparsify method

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Anna B <72624798+aberanger@users.noreply.github.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>

* Update deploy.yml

* [AUTO-COMMIT] Update release version to v1.3.1. (#96)

Files changed:
M	pyproject.toml
M	sinr/__init__.py

Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>

* doc update (#97)

* doc update

* links update

* remove doc, quality, build

* fix LICENSE link

* Update conf.py

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>

* Correcting conflict between pandas and numpy

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Anna B <72624798+aberanger@users.noreply.github.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>
Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>
Co-authored-by: nicolasdugue <dugue@skinner.clusteretu.univ-lemans.fr>

* Removing conflict between numpy and karateclub, karateclub not being used in sinr

* Solving depency problem with docutils

* Fixes misleading documentation in SINrVectors class (#121)

* 110 analogy evaluation (#122)

* Analogy evaluation V1

Files changed :
-sint/text/evaluate.py

New functions :
-best_predicted_word
-eval_analogy

Description :
-best_predicted_word : To solve analogies of the type "A is to B as C is to D(the word we are looking for)" thanks to sinr vectors and three words in parameter, it returns the best possibility
-eval_analogy : To compare the predictions with the expected answers with the dataset and the vectors. It also allows you to select a certain number of word in the documents

Co-Authored-By: RyuAragi <122371001+RyuAragi@users.noreply.github.com>
Co-Authored-By: Loniime <123164246+Loniime@users.noreply.github.com>
Co-Authored-By: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>

* Add fetch for analogy

Files changed :
-sint/text/evaluate.py

New functions :
-find_txt_files
-remove_invalid_lines
-format_lines
-fetch_analogy

Description :
- find_txt_files: Locate all text files within a directory and its subdirectories.
- remove_invalid_lines: Filter out invalid or unwanted lines from the content.
- format_lines: Standardize the formatting of content lines into consistent structures.
- fetch_analogy: Download, extract, clean, and assemble analogy datasets.

Co-Authored-By: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>
Co-Authored-By: Loniime <123164246+loniime@users.noreply.github.com>
Co-Authored-By: RyuAragi <122371001+ryuaragi@users.noreply.github.com>

* Add 2 alternative analogy functions - Normalize & Negative value to zero

Files changed :
-sint/text/evaluate.py

New functions :
-calcul_analogy_value_zero
-calcul_analogy_normalized

Description :
-calcul_analogy_value_zero : Solve analogy of the type A is to B as C is to D with only positives values in the resulting vector.
-calcul_analogy_normalized : Solve analogy of the type A is to B as C is to D with normalize the resulting vector so that the sum of it's components equals 1.

Co-Authored-By: Loniime <123164246+loniime@users.noreply.github.com>
Co-Authored-By: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>
Co-Authored-By: RyuAragi <122371001+ryuaragi@users.noreply.github.com>

* Add function calcul_analogy_sparsified_normalized

file modified : evaluate.py
function add: calcul_analogy_sparsified_normalized
Description : solve the analogy A to B is C to D with sparcification and normalized values

Co-Authored-By: Loniime <123164246+loniime@users.noreply.github.com>
Co-Authored-By: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>
Co-Authored-By: RyuAragi <122371001+ryuaragi@users.noreply.github.com>

* Pytest function analogy

file modified : test_sinr_evaluate.py
class add: MockSINrVectors, TestAnalogyFunctions, TestCalculAnalogySparsifiedNormalized, TestCalculAnalogyValueZero
Description : testing the different analogy functions

Co-Authored-By: Loniime <123164246+loniime@users.noreply.github.com>
Co-Authored-By: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>
Co-Authored-By: RyuAragi <122371001+ryuaragi@users.noreply.github.com>

* Fix analogy V1

Analogy evaluation V1
Files changed :
-sint/text/evaluate.py

New function :
-normalize_vector

Modified functions :
-best_predicted_word
-eval_analogy

Description :
-normalize_vector : Normalize a vector.
-best_predicted_word :
use of normalisation ( L2 norm ) for the vectors a, b and c when calculating the result vector.
Using get_my_vector instead of vectors[sinr_vec.vocab.index(word_a)]
-eval_analogy:
some optimisations

---------

Co-authored-by: RyuAragi <122371001+RyuAragi@users.noreply.github.com>
Co-authored-by: Loniime <123164246+Loniime@users.noreply.github.com>
Co-authored-by: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>

* Update docs (#123)

* Update list of publications in README.rst.

* Update docs/publications.rst.

* Update docs/presentation.rst and fix lingering typos.

* Fix lingering typos.

* Update README.rst

* 111 bias evaluation (#125)

* Implement direct bias calculation using cosine similarity

Files changed :
-sint/text/evaluate.py

New functions :
- normalize
- load_config
- identify_gender_direction_sinr
- calc_direct_bias_sinr

Description :
- normalize : Normalize a vector.
- load_config : Load the configuration file from JSON(config.json).
- identify_gender_direction_sinr : Compute the gender direction using different methods (single, sum, PCA) based on definitional word pairs.
- calc_direct_bias_sinr : Measure the direct bias of words with respect to the gender direction using cosine similarity.

* Unit tests for gender direction and direct bias functions

Files changed :
- tests/test_sinr_evaluate.py

New tests :
- test_gender_direction : Verifies the computation of the gender direction using PCA method.
- test_direct_bias : Validates the direct bias computation based on the gender direction for given professions.

* Add config.json file for gender and profession configuration

Description :
- config.json : Contains configuration for gender definitional pairs and list of professions to be used for bias calculation.
  - "definitional_pairs": Defines pairs of words for gender analogies ("men" vs "woman", "father" vs "mother").
  - "professions": A list of professions to analyze for gender bias ("actor", "actress").

* Implement Indirect bias calculation

Files changed:
- sinr\text\evaluate.py

Functions added:
- project_vector
- reject_vector
- calc_indirect_bias_sinr

Description:
- project_vector: Computes the projection of a vector 'a' onto the direction of a normalized vector 'b'.

- reject_vector: Computes the orthogonal projection of vector 'a' onto the direction of vector 'b', by subtracting the projection of 'a' onto 'b' from 'a' itself.

- calc_indirect_sinr: Computes the indirect bias between two words by calculating their similarity while factoring out the gender component.

* Unit tests for indirect bias

Files changed:
- tests\test_sinr_evaluate.py

New tests:
- test_project_vector: Tests the project_vector function by checking if the projection of a vector 'a' onto a direction 'b' is correctly computed.

- test_reject_vector: Tests the reject_vector function to ensure the orthogonal projection of vector 'a' onto direction 'v' is computed as expected.

- test_calc_indirect_bias_sinr: Verifies that the calc_indirect_bias_sinr function returns a float value when calculating the indirect bias between two words (father and mother) with a provided gender direction.

- test_calc_indirect_bias_sinr_edge_case: Tests an edge case where the similarity is calculated between the same word (father and father) and ensures that the similarity result is 0.0

* Mock class name changed

* update

* Update

* Update

* Update

* Update

* Update evaluate.py

* Update test_sinr_evaluate.py

* Update test_sinr_evaluate.py

* Add Bias to the notebook

Files changed:
- notebooks\sinr_vec.ipynb

Description:
Add the DIrect and indirect bias calculation to the notebook

* Add Bias to the english and french notebook and add config_fr.json

* Fix problem of conflits

Fix problem of conflits

---------

Co-authored-by: MasterPNJ <38404325+MasterPNJ@users.noreply.github.com>

* Add analogy by k and by category (#127)

* Add analogy by k and by category

Files changed :
-sint/text/evaluate.py
-tests/test_sinr_evaluate

New functions :
- best_predicted_word_k
- eval_analogy_k
- eval_analogy_by_category_k
- plot_global_error_rates
- plot_category_error_rates

Description :
- best_predicted_word_k : Predict the best word for the analogy A is to B as C is to D with k best words.
- eval_analogy_k : Compare the predicted with the expected word with k best words.
- eval_analogy_by_category_k : Evaluate analogy by category with k best words
- plot_global_error_rates : Plot global error rates for different values of k
- plot_category_error_rates : Plot error rates by category for different values of k

Add Unit tests for best_predicted_word_k and eval_analogy_k functions

New import : tempfile, matplotlib

* Fix missing def in test

Fix missing def in test

* Fix dimension error

Fix dimension error

* Fix docstrings and code before merge in main.

* Add varnn (#131)

* Add varnn

Files changed :
-sint/text/evaluate.py

New functions :
- varnn
- varnn_across_models
- scores_varnn

Description :
- varnn : Computes varnn for each word is model1 also present in model2
- varnn_across_models : Computes varnn for each word is model1 also present in model2
- scores_varnn : Computes mean of pierrejean score on the shared vocabulary of model1 and model2

Co-Authored-By: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>

* fix hard coding 25 parameter, separate function and some fix

- fix hard coding 25 parameter
- separate function
- some fix

* unit test for the varnn function

unit test for the varnn function :
- test_all_neighbors_shared
- test_no_neighbors_shared
- test_some_neighbors_shared
- test_with_k_different
- test_empty_sets

---------

Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>

* 132 index offset during alignment (#133)

* Fix : index mismatch

Fix index mismatch occurs after aligning the two reference model using the get_vectors_using_self_space function, causing an index out of range error when using get_obj_descriptors function.

* Add : Unique function for community transfer and alignment

Unique function for performing the entire community transfer and the alignment of a large referential to a small one.

* making intermediate transfer methods private

making intermediate transfer methods private

* Update graph_embeddings.py

* Updating the transfer notebook

* OOV functions that add nodes and edges (#134)

* OOV function to add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* fixing adding comments for the OOV functions that add nodes and edges

* fixing adding comments for the OOV functions that add nodes and edges

* fixing adding comments for the OOV functions that add nodes and edges

* Add the OOV functions that add nodes and edges in graph_embeddings, and an illustration example in the TransfertExample notebook

* Fixing the OOV functions that add nodes and edges in graph_embeddings

* Oov (#136)

* OOV function to add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* Adding comments for the OOV functions that add nodes and edges

* fixing adding comments for the OOV functions that add nodes and edges

* fixing adding comments for the OOV functions that add nodes and edges

* fixing adding comments for the OOV functions that add nodes and edges

* Add the OOV functions that add nodes and edges in graph_embeddings, and an illustration example in the TransfertExample notebook

* Fixing the OOV functions that add nodes and edges in graph_embeddings

* Add the OOV functions that add nodes and edges in graph_embeddings, and an illustration example in the TransfertExample notebook

* Add Diachrony function (#137)

* Add option for have a format : lemma_#POS

* Add some function for compute diachrony

- cosine_similarity : cosine similarity
- difference_vector_common_space : the difference vector
- compute_change_norms : an OrderedDict with words as keys and their change norms as values.
- get_change_vectors : a dictionary with words as keys and their change vectors as values.
- compute_similarity_matrix : a list of words and a similarity matrix.
- plot_topk_similarity_matrix : plots heatmaps for the top-k words and their neighbors.

* class diachronic

* fix

* Create DiachronyExample.ipynb

* Update diachrony.py

* fix option with_lemma_pos for extract text

fix option with_lemma_pos for extract text

* Update DiachronyExample.ipynb

---------

Co-authored-by: Thibault PROUTEAU <thibault.prouteau@gmail.com>
Co-authored-by: Anna B <72624798+aberanger@users.noreply.github.com>
Co-authored-by: Simon Guillot <47661058+SimonGuillot@users.noreply.github.com>
Co-authored-by: Simon Guillot <simon.guillot@univ-lemans.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>
Co-authored-by: Thibault PROUTEAU <thibault.prouteau@univ-lemans.fr>
Co-authored-by: nicolasdugue <dugue@skinner.clusteretu.univ-lemans.fr>
Co-authored-by: MasterPNJ <38404325+MasterPNJ@users.noreply.github.com>
Co-authored-by: RyuAragi <122371001+RyuAragi@users.noreply.github.com>
Co-authored-by: Loniime <123164246+Loniime@users.noreply.github.com>
Co-authored-by: Sedra Alhallak <123164242+sedraalhallak@users.noreply.github.com>
Co-authored-by: thibaultprouteau <thibault.prouteau@loria.fr>
Files changed:
M	pyproject.toml
M	sinr/__init__.py

Co-authored-by: nicolasdugue <nicolasdugue@users.noreply.github.com>
This document outlines the standards of behavior for community members and the enforcement procedures for violations.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Contributor Covenant Code of Conduct document to define expected community behavior and an enforcement process for the repository.

Changes:

  • Introduces CODE_OF_CONDUCT.md based on Contributor Covenant v2.0.
  • Defines community standards, scope, enforcement process, and enforcement guidelines.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CODE_OF_CONDUCT.md Outdated
Comment thread CODE_OF_CONDUCT.md Outdated
thibaultprouteau and others added 2 commits March 2, 2026 14:25
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@thibaultprouteau
thibaultprouteau changed the base branch from main to dev March 2, 2026 13:26
@thibaultprouteau
thibaultprouteau changed the base branch from dev to main March 2, 2026 13:27
@thibaultprouteau
thibaultprouteau marked this pull request as draft June 11, 2026 09:19
@thibaultprouteau
thibaultprouteau changed the base branch from main to dev June 11, 2026 09:21
@thibaultprouteau
thibaultprouteau requested a review from Copilot June 11, 2026 09:23
@thibaultprouteau
thibaultprouteau marked this pull request as ready for review June 11, 2026 09:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread README.rst
Comment on lines +200 to +202
💡 **Seemantics : devinez les mots, éclairez les algorithmes**

Jouez et participez à notre travail de recherche sur les embeddings interprétables : <https://lium-seemantics.univ-lemans.fr/>
Comment thread CODE_OF_CONDUCT.md
Comment on lines +61 to +63
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement via the project's
official reporting channel, as described in the project documentation.
Comment thread pyproject.toml
[tool.poetry]
name = "sinr"
version = "v1.4.1"
version = "v1.4.2"
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

Successfully merging this pull request may close these issues.

3 participants