Skip to main content

Repository for ConCat: a simple and intuitive method for English lexical substitution.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

concat_ls-1.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

concat_ls-1.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file concat_ls-1.1.0.tar.gz.

File metadata

  • Download URL: concat_ls-1.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for concat_ls-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0641e02f40806b7d2eaa4be8346e317ceb7e6db1d742e4fe1d85c50a6b126602
MD5 5938cb9be04b4349b295e61e43f07a57
BLAKE2b-256 09bc5f39922419b0d7f1190efb26f946612f1f5e0ecacd7765e8e62f2c08912f

See more details on using hashes here.

File details

Details for the file concat_ls-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: concat_ls-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for concat_ls-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 163cffc025e641b90b29c400612eb570ab28f3ed49d4a53a9527bc71f39c0b4c
MD5 f63fddf25e69f41c4af61d77381234e1
BLAKE2b-256 0b8460a2aec8ec750b05fa7df76b3e71937ff3ff7f6148ed5dd3549cfc035019

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page