What are the coexistence matrices and how are they used in NLP?

The pypi docs for the nogle google downloader say “sometimes you need summary data for a dataset. For example, the appearance matrix.

Wikipedia for the cooccurance matrix is ​​related to image processing and googling search, it seems that this leads to some kind of SEO tricks.

So what are the co-occurrence matrices (in computational linguistics / NLP)? How are they used in NLP?

+3
source share
1 answer

What is a match matrix?

, (ER) (EC). - , ER , EC. , entites , .

(.. ) , , .

:

. .

, , :

      |  Roses | are | red | Sky | is | blue
Roses |    1   |  1  |  1  |  0  |  0 |   0
are   |    1   |  1  |  1  |  0  |  0 |   0
red   |    1   |  1  |  1  |  0  |  0 |   0
Sky   |    0   |  0  |  0  |  1  |  1 |   1
is    |    0   |  0  |  0  |  1  |  1 |   1
Blue  |    0   |  0  |  0  |  1  |  1 |   1

, . , , . , .

NLP?

. , . , . - :

ProductX .

productY.

.

+6

Source: https://habr.com/ru/post/1682256/


All Articles