coals.pl -- COALS
Correlated Occurrence Analogue to Lexical Semantics (COALS) interface for
Definite Clause Grammars (DCG).
- See also
- - Rohde, D. L. T., Gonnerman, L. M., & Plaut, D. C. (2005). An Improved
Model of Semantic Similarity Based on Lexical Co-Occurrence.
- coals_vectors(+WindowType, +WindowSize, -CoalsVectors) is det
- CoalsVectors is a list of (Word,Vector) tuples, where Vector is a
real-valued COALS vector, derived from a DCG using a WindowType of
WindowSize.
- coals_write_vectors(+Tuples, +File) is det
- Writes a list of (Word,Vector) Tuples to File in CSV format.
- coals_binary_vectors(+WindowType, +WindowSize, -CoalsVectors) is det
- CoalsVectors is a list of (Word,Vector) tuples, where Vector is a
binary COALS vector, derived from a DCG using a WindowType of
WindowSize. Binary COALS vectors are derived from real-valued COALS
vectors, by setting positive correlations to hot bits (i.e., 1s).
- coals_padded_binary_vectors(+WindowType, +WindowSize, +NHotPaddingBits, -CoalsVectors) is det
- CoalsVectors is a list of (Word,Vector) tuples, where Vector is a
binary COALS vector, derived from a DCG using a WindowType of
WindowSize. Binary vectors are padded with a a minimal binary
identifier containing NHotPaddingBits, in such a way that the
identifiers for similar binary vectors do not share any features.