Getting started with ConceptNet5

246 views
Skip to first unread message

Mihir Saxena

unread,
Jun 27, 2017, 7:33:12 AM6/27/17
to conceptnet-users
Hello everyone! I have gone through the Concept Net Web API and am looking forward to test it on my local machine. I want to do it without Docker. Therefore, I have installed all the dependencies, but I am finding no way to proceed further. What should I do? My main aim is to test how ConceptNet works on my local machine and see some output that gives a feel of how it actually works! Please guide me on this.

Mihir Saxena

unread,
Jun 29, 2017, 6:09:48 AM6/29/17
to conceptnet-users
Anyone who has some knowledge on this, please help! Only if you could tell me on how to run conceptNet5 on my PC( I don't want to use the Web API)

JoeSox

unread,
Jun 29, 2017, 10:10:14 AM6/29/17
to conceptn...@googlegroups.com
I haven't played around with ConceptNet for a couple of years now (still enjoy keeping up with the project on this list) but if I remember and I just did a simple search on the googlegroup .
Have you seen this?

others can probably chime in if the document is up-to-date or not.
--
Later, Joe

On Thu, Jun 29, 2017 at 3:09 AM, Mihir Saxena <mihir.s...@gmail.com> wrote:
Anyone who has some knowledge on this, please help! Only if you could tell me on how to run conceptNet5 on my PC( I don't want to use the Web API)

--
You received this message because you are subscribed to the Google Groups "conceptnet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conceptnet-users+unsubscribe@googlegroups.com.
To post to this group, send email to conceptnet-users@googlegroups.com.
Visit this group at https://groups.google.com/group/conceptnet-users.
For more options, visit https://groups.google.com/d/optout.

JoeSox

unread,
Jun 29, 2017, 10:15:02 AM6/29/17
to conceptn...@googlegroups.com
 "If you want, you can ignore Docker and set up all the dependencies of ConceptNet separately"
--
Later, Joe

Mihir Saxena

unread,
Jun 29, 2017, 11:33:38 AM6/29/17
to conceptn...@googlegroups.com
Actually, I saw that, but I didn't understand how to run and test it on my machine. Do you have any clue on that?

--
You received this message because you are subscribed to a topic in the Google Groups "conceptnet-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/conceptnet-users/57EetYNhBPo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to conceptnet-users+unsubscribe@googlegroups.com.

JoeSox

unread,
Jun 29, 2017, 11:46:04 AM6/29/17
to conceptn...@googlegroups.com
Sorry, since I haven't had time to try and build and setup, I am probably not much help. I am curious on the latest version I have only built conceptnet with older versions and not with the current and it has changed greatly.
Sometimes the list goes dark because classes are out and more active when classes are in.
When you say you installed the dependencies I am guessing you refered to this list?
https://github.com/commonsense/conceptnet5/wiki/Build-process
Did you download the raw data?
Did you install ConceptNet?
Do you have a webserver running so you can follow "Running ConceptNet for the first time"

Rob Speer

unread,
Jun 29, 2017, 2:15:50 PM6/29/17
to conceptn...@googlegroups.com
Have you successfully run 'build.sh'? (The instructions call it ./scripts/build.sh, but on the current master branch, that's moved to just ./build.sh)

After that, to run the web API server, you could run:

cd web
python conceptnet_web/api.py

You could also use the database that it generated (the PostgreSQL database called "conceptnet5"), or the word embeddings (in data/vectors/mini.h5), or both, as inputs to an NLP learning process.

To unsubscribe from this group and stop receiving emails from it, send an email to conceptnet-use...@googlegroups.com.
To post to this group, send email to conceptn...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "conceptnet-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/conceptnet-users/57EetYNhBPo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to conceptnet-use...@googlegroups.com.
To post to this group, send email to conceptn...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "conceptnet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conceptnet-use...@googlegroups.com.
To post to this group, send email to conceptn...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "conceptnet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conceptnet-use...@googlegroups.com.
To post to this group, send email to conceptn...@googlegroups.com.

Mihir Saxena

unread,
Jun 30, 2017, 1:49:59 AM6/30/17
to conceptnet-users, r...@luminoso.com
I am not able to run api.py, it gives an error, I don't know why( it shouldn't, according to me).

Traceback (most recent call last):
  File "web\conceptnet_web\api.py", line 4, in <module>
    from conceptnet_web.json_rendering import jsonify, highlight_and_link_json
ModuleNotFoundError: No module named 'conceptnet_web'

 Can you please guide me step by step what do I have to do? Like, from installing conceptNet to generating the database( or whatever be the final step). Also, it would be very helpful if you could tell me how do I use the database generated, etc( and also, is PostgreSQL necessary to download?)

Rob Speer

unread,
Jun 30, 2017, 2:48:34 PM6/30/17
to Mihir Saxena, conceptnet-users
I'm following up with this on Gitter.

I hope to make the Docker version work for you. I notice from the path "web\conceptnet_web\api.py" that you may be running this on Windows, and I do not have step-by-step instructions for Windows.
Reply all
Reply to author
Forward
0 new messages