• Stars
    star
    2,753
  • Rank 16,544 (Top 0.4 %)
  • Language Roff
  • License
    Other
  • Created about 13 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code for building ConceptNet from raw data.

ConceptNet

Overview

ConceptNet aims to give computers access to common-sense knowledge, the kind of information that ordinary people know but usually leave unstated.

ConceptNet is a semantic network that represents things that computers should know about the world, especially for the purpose of understanding text written by people. Its "concepts" are represented using words and phrases of many different natural language -- unlike similar projects, it's not limited to a single language such as English. It expresses over 13 million links between these concepts, and makes the whole data set available under a Creative Commons license.

Much of the current development of ConceptNet involves using it as an input for machine learning about the semantics of text. Its multilingual representation makes it particularly expressive, because the semantic overlaps and differences between languages are a useful signal that a learning system can learn from.

ConceptNet grew out of Open Mind Common Sense, an early project for crowd-sourced knowledge, and expanded to cover many different languages through a collaboration with groups around the world. ConceptNet is cited in many research papers, and its public API gets over 50,000 hits per day.

This Python package contains a toolset for building the ConceptNet 5 knowledge graph, possibly with your own custom data, and it serves the HTML interface and JSON Web API for it.

You don't need this package to simply access ConceptNet 5; see http://conceptnet.io for more information and a browsable Web interface with an API.

Further documentation is available on the ConceptNet wiki.

Licensing and attribution appear in LICENSE.txt and DATA-CREDITS.md.

Discussion groups

If you're interested in using ConceptNet, please join the conceptnet-users Google group, for questions and occasional announcements: http://groups.google.com/group/conceptnet-users?hl=en

For real-time discussion, ConceptNet also has a chat channel on Gitter: https://gitter.im/commonsense/conceptnet5

Installing and building ConceptNet

To be able to run all steps of the ConceptNet build process, you'll need a Unix command line (Ubuntu 16.04 works great), Python 3.5 or later, 30 GB of RAM, and some other dependencies. See the build process on our wiki for instructions.

You may not need to build ConceptNet yourself! Try the Web API first.

Testing

Run pytest to test the ConceptNet libraries and a small version of the build process.

Run pytest --quick to re-run the tests more quickly, with the assumption that the small test database has already been built.

Run pytest --fulldb to run additional tests on the fully built ConceptNet database.

More Repositories

1

conceptnet-numberbatch

Python
1,279
star
2

conceptnet

ConceptNet: a semantic network of common sense knowledge
Python
271
star
3

metanl

Some convenient natural language tools that build on NLTK.
Python
84
star
4

divisi2

A Python library for learning from dimensionality reduction, supporting sparse and dense matrices.
Python
77
star
5

omcs

The meta-repository for the Open Mind Common Sense project.
Python
75
star
6

simplenlp

Lightweight, multilingual natural language processing
Python
63
star
7

luminoso

A visualizer for multi-dimensional semantic data
Python
38
star
8

conceptdb

A platform for storing large semantic networks on MongoDB
Python
23
star
9

CommonConsensus

A multiplayer web-based game for collecting commonsense knowledge.
JavaScript
11
star
10

divisi

A Python library for learning from dimensionality reduction (old version)
C
11
star
11

codenames

An AI that plays Vlaada Chvatil's "Codenames" using ConceptNet
Python
10
star
12

csc-utils

Functions that the Commonsense Computing Initiative finds useful enough to share between projects
Python
10
star
13

conceptnet-deployment

Scripts for building and deploying ConceptNet, using Packer and Puppet
Ruby
9
star
14

LexiconLinking

Lexicon Linking Model
Python
7
star
15

conceptnet-web

Runs the Web site and API for ConceptNet.
HTML
5
star
16

verbosity-reader

Handles output from Verbosity in OMCS.
Python
4
star
17

conceptnet-5.5-paper

September 2016 paper on ConceptNet 5.5
TeX
2
star
18

conceptnet-puppet

Puppet configuration for ConceptNet
Puppet
1
star
19

blog.conceptnet.io

Generates the ConceptNet blog as a static site.
Jupyter Notebook
1
star