User:JuliaMor/sandbox

Distributional semantics is a research area that develops and studies theories and methods for quantifying and categorizing semantic similarities between linguistic items based on their distributional properties in large samples of language data. The basic idea of distributional semantics can be summed up in the so-called Distributional hypothesis: linguistic items with similar distributions have similar meanings.

Distributional Hypothesis
The Distributional Hypothesis in linguistics is derived from the semantic theory of language usage, i.e. words that are used and occur in the same contexts tend to purport similar meanings. The underlying idea that "a word is characterized by the company it keeps" was popularized by Firth. The Distributional Hypothesis is the basis for Statistical Semantics. Although the Distributional Hypothesis originated in Linguistics, it is now receiving attention in Cognitive Science especially regarding the context of word use. In recent years, the distributional hypothesis has provided the basis for the theory of similarity-based generalization in language learning: the idea that children can figure out how to use words they've rarely encountered before by generalizing about their use from distributions of similar words. The distributional hypothesis suggests that the more semantically similar two words are, the more distributionally similar they will be in turn, and thus the more that they will tend to occur in similar linguistic contexts. Whether or not this suggestion holds has significant implications for both the data-sparsity problem in computational modeling, and for the question of how children are able to learn language so rapidly given relatively impoverished input (this is also known as the problem of the poverty of the stimulus).

Distributional semantic modeling
Distributional semantics favor the use of linear algebra as computational tool and representational framework. The basic approach is to collect distributional information in high-dimensional vectors, and to define distributional/semantic similarity in terms of vector similarity. Different kinds of similarities can be extracted depending on which type of distributional information is used to collect the vectors: topical similarities can be extracted by populating the vectors with information on which text regions the linguistic items occur in; paradigmatic similarities can be extracted by populating the vectors with information on which other linguistic items the items co-occur with. Note that the latter type of vectors can also be used to extract syntagmatic similarities by looking at the individual vector components.

The basic idea of a correlation between distributional and semantic similarity can be operationalized in many different ways. There is a rich fauna of computational models implementing distributional semantics, including Latent semantic analysis (LSA), Hyperspace Analogue to Language (HAL), syntax- or dependency-based models, Random indexing, and various variants of the Topic model.

Distributional semantic models differ primarily with respect to the following parameters:


 * Context type (text regions vs. linguistic items)
 * Context window (size, extension, etc.)
 * Frequency weighting (e.g. Entropy, Pointwise mutual information, etc.)
 * Dimension reduction (e.g. Random indexing, Singular value decomposition, etc.)
 * Similarity measure (e.g. Cosine similarity, Minkowski distance, etc.)

Distributional semantic models that use linguistic items as context have also been referred to as word space models

Compositional Distributional Semantics
Compositional distributional semantic models are an extension of distributional semantic models that characterize the semantics of entire phrases or sentences. This is achieved by composing the distributional representations of the words that sentences contain. Different approaches to composition have been explored, and are under discussion at established workshops such as SemEval.

Simpler non-compositional models fail to capture the semantics of larger linguistic units as they ignore grammatical structure and logical words, which are crucial for their understanding.

Software

 * S-Space
 * SemanticVectors
 * Gensim