/spec_context

Dependency-based embeddings with lexically specific contexts

Primary LanguageRGNU General Public License v3.0GPL-3.0

Dependency-based embeddings

Python script to create word and dependency context (e.g., obj-shattered, nsubj-eaten) embeddings from a parsed corpus.

For details of the method, see Smith & Vasishth (Cognitive Science, 2020).