get_word_sketch_diff
Compare two words by analyzing their collocations to reveal which collocations are more typical of each word. Useful for distinguishing between similar terms.
Instructions
Compare the behavior of two words/lemmas via their collocations. Returns scores indicating which collocation is more typical of which word, useful for observing differences between similar words.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lpos | No | Part of speech filter (e.g., 'n' for noun, 'v' for verb) (optional) | |
| lemma | Yes | First lemma to compare | |
| format | No | Response format | json |
| lemma2 | Yes | Second lemma to compare | |
| diff_by | No | Comparison mode: 'lemma' compares two lemmas (default), 'word form' compares word forms of same lemma, 'subcorpus' compares same lemma in different subcorpora (optional) | |
| minfreq | No | Minimum frequency threshold for collocations (optional) | |
| corpname | Yes | Name of the corpus | |
| subcorp1 | No | First subcorpus name (requires diff_by='subcorpus') (optional) | |
| subcorp2 | No | Second subcorpus name (requires diff_by='subcorpus') (optional) | |
| maxcommon | No | Maximum number of common collocations to show (optional) | |
| wordform1 | No | First word form to compare (requires diff_by='word form') (optional) | |
| wordform2 | No | Second word form to compare (requires diff_by='word form') (optional) | |
| maxexclusive | No | Maximum number of exclusive collocations per word (optional) | |
| separate_blocks | No | Separate collocations into blocks by grammatical relation (optional) |