ConCat
Repository containing the code described in the ICAART 2025 paper: Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes
Getting Started
Using Concat is simple! First, simply install the package using the following command:
pip install concat-ls
Then, load ConCat and getting LSing!
from concat import ConCat
X = ConCat()
X.lexsub("hello world", "hello", K=5)
The lexsub function takes the following parameters: lexsub([CONTEXT (sentence)], [TARGET WORD (taregt)], [TOPK (K)]). By default, K=5.
Metadata
Release files for concat-ls 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| concat_ls-1.2.0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| concat_ls-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / concat_ls-1.2.0.tar.gz
| Download URL | concat_ls-1.2.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2de87d334dfbcc68132143e6b12378fd028d0b71b771cc8fcf98666075ea5d46
|
|
BLAKE2b-256 checksum How to use checksums |
7cb940e6ceca502b591d372e58fe61767766672ff1ee868bca7f1f66cfe6329a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / concat_ls-1.2.0-py3-none-any.whl
| Download URL | concat_ls-1.2.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd196a86e92376d81011d00b8123bc7b531d226826593d5f11c21cb3a794654f
|
|
BLAKE2b-256 checksum How to use checksums |
ca9aaf0ea677f4dfece55e70c97b104d997aa61674daabf55c0b2bbf5fc673dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|