Skip to main content

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

ConCat

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)

Source distribution for concat-ls 1.2.0
File Size Uploaded Provenance Actions
concat_ls-1.2.0.tar.gz 7.2 kB Without provenance Details for concat_ls-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for concat-ls 1.2.0
File Interpreter ABI Platform Actions
concat_ls-1.2.0-py3-none-any.whl Python 3 none any Details for concat_ls-1.2.0-py3-none-any.whl

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

Security for concat-ls 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page