Пример #1
0
def test_study():
    doc = Document('obvious', demo_text)
    cnet = get_picklecached_thing(CONCEPTNET_PATH).normalized(mode=[0,1]).bake()
    study = Study('test', [doc], [cnet])
    study.analyze()
Пример #2
0
def test_study_no_cnet():
    study = Study('test', [doc], [])
    res = study.analyze()