Commit 65a988b7 authored by delanoe's avatar delanoe

[FIX] Cooc SQL.

parent e70cbd2f
...@@ -172,7 +172,7 @@ def compute_coocs( corpus, ...@@ -172,7 +172,7 @@ def compute_coocs( corpus,
AND grA.node_id = {groupings_id} AND grA.node_id = {groupings_id}
-- \--> adding (joining) ngrams that are grouped -- \--> adding (joining) ngrams that are grouped
LEFT JOIN nodes_ngrams LEFT JOIN nodes_ngrams
AS wlAA ON grA.ngram2_id = wlAA.id AS wlAA ON grA.ngram2_id = wlAA.ngram_id
AND wlA.node_id = wlA.node_id AND wlA.node_id = wlA.node_id
-- \--> adding (joining) ngrams that are not grouped -- \--> adding (joining) ngrams that are not grouped
--LEFT JOIN ngrams AS wlAA ON grA.ngram2_id = wlAA.id --LEFT JOIN ngrams AS wlAA ON grA.ngram2_id = wlAA.id
...@@ -186,7 +186,7 @@ def compute_coocs( corpus, ...@@ -186,7 +186,7 @@ def compute_coocs( corpus,
AND grB.node_id = {groupings_id} AND grB.node_id = {groupings_id}
-- \--> adding (joining) ngrams that are grouped -- \--> adding (joining) ngrams that are grouped
LEFT JOIN nodes_ngrams LEFT JOIN nodes_ngrams
AS wlBB ON grB.ngram2_id = wlBB.id AS wlBB ON grB.ngram2_id = wlBB.ngram_id
AND wlB.node_id = wlB.node_id AND wlB.node_id = wlB.node_id
-- \--> adding (joining) ngrams that are not grouped -- \--> adding (joining) ngrams that are not grouped
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment