1289cd6e8f46d3fb3109d33fdc458c9574beab86,spacy/sandbox_test_sofie/testing_el.py,,create_kb,#,6
Before Change
print("kb size", len(mykb), mykb.get_size_entities(), mykb.get_size_aliases())
print("candidates for", alias1)
candidates1 = mykb.get_candidates(alias1)
for candidate in candidates1:
print(" candidate")
print(" name", candidate.get_entity_name(mykb))
print(" alias", candidate.get_alias_name(mykb))
print(" prior_prob", candidate.prior_prob)
print("candidates for", alias2)
candidates2 = mykb.get_candidates(alias2)
for candidate in candidates2:
print(" candidate")
After Change
candidates = mykb.get_candidates(alias)
for candidate in candidates:
print(" candidate")
print(" kb_id", candidate.kb_id)
print(" kb_id_", candidate.kb_id_)
print(" alias", candidate.alias)
print(" alias_", candidate.alias_)
print(" prior_prob", candidate.prior_prob)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: explosion/spaCy
Commit Name: 1289cd6e8f46d3fb3109d33fdc458c9574beab86
Time: 2019-03-22
Author: sofie.vanlandeghem@gmail.com
File Name: spacy/sandbox_test_sofie/testing_el.py
Class Name:
Method Name: create_kb
Project Name: explosion/spaCy
Commit Name: 1289cd6e8f46d3fb3109d33fdc458c9574beab86
Time: 2019-03-22
Author: sofie.vanlandeghem@gmail.com
File Name: spacy/sandbox_test_sofie/testing_el.py
Class Name:
Method Name: create_kb
Project Name: explosion/spaCy
Commit Name: 26afa4800f16901a4bda3be8d0b84e64905202b8
Time: 2019-03-21
Author: sofie.vanlandeghem@gmail.com
File Name: spacy/sandbox_test_sofie/testing_el.py
Class Name:
Method Name: create_kb
Project Name: explosion/spaCy
Commit Name: 6ba4079f7c4489967044200a903c252975aebaca
Time: 2019-03-21
Author: sofie.vanlandeghem@gmail.com
File Name: spacy/sandbox_test_sofie/testing_el.py
Class Name:
Method Name: create_kb
Project Name: explosion/spaCy
Commit Name: c71123dd0c91766c4d8f890c3d2c6660f6deee16
Time: 2019-03-22
Author: sofie.vanlandeghem@gmail.com
File Name: spacy/sandbox_test_sofie/testing_el.py
Class Name:
Method Name: create_kb