Skip to content

Commit 9118c51

Browse files
committed
Update notes
1 parent 0429ced commit 9118c51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

NOTES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@
66
ap @neo.execute_query('MATCH (w:Word { lemma: "auto" })-[r:belongs_to]-(s:Synset)-[]->(s2:Synset) return w.id, s.id, s2.id limit 10')["data"]
77

88
- indexes on neo4j imported fields (merge)
9+
10+
- Proof you can't denormalize synsets:
11+
12+
match (c:Sense)-[:belongs_to]->(s2:Synset)--(s:Synset)<-[:belongs_to]-(b:Sense)
13+
with s, count(c) as c1, count(b) as b1
14+
return avg(c1 * b1)
15+
16+
2805.729094183261
17+
18+
(you need 3000 times storage, 500MB now).

0 commit comments

Comments
 (0)