Skip to content
Discussion options

You must be logged in to vote

Hi @chin-jey and thanks for the question. In general, lambeq works at the sentence level, and keyword extraction is a task that does not fit very well in this. In keyword extraction, each word needs to be evaluated individually, so compositionality here is not very helpful. The simplest way to do keyword extraction would be to compute TF-IDF values for each word in your dataset and use them to extract the important words, or use something more clever like a PageRank-style algorithm at the lever of words.

A suggestion for further reading: In this paper, Bob Coecke proposes a way to connect sentences into document-level circuits, and measure how each word is changed at the end of the intera…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@chin-jey
Comment options

@dimkart
Comment options

@chin-jey
Comment options

@dimkart
Comment options

Answer selected by dimkart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants