Skip to content

Repository with the software for the ICAART paper "Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes"

License

Notifications You must be signed in to change notification settings

sebischair/ConCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 get 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.

About

Repository with the software for the ICAART paper "Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes"

Resources

License

Stars

Watchers

Forks