Skip to content

tocubed/conceptnet-lightweight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conceptnet-lightweight

Provides easy, lightweight lookup for english-only assertions from ConceptNet5.

Example

from conceptnet import ConceptNet

cn = ConceptNet()
for concept in cn.related('UsedFor', cn.concept('tool')):
    print('A tool is used for', cn.string(concept))

Time and Memory

  • Lookup is at O(log n) using binary search.
  • Memory usage is at 700MB on a Windows x64 machine.

About

Python API for english-only ConceptNet5 assertions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages