Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Social Recommendation System


Social Recommendation System is a prototype of recommendation for the website Gokera. It is implemented on a website, with the framework Django. The purpose of the project is not the website, so it’s normal if the quality of the website is poor.

The purpose is to propose events to an user with an hybrid recommendation system. The works is split in few parts:
1) Login facebook and Graph request to obtain some useful information about the user
2) Texts analysis of all the events
3) Recommendation, hybrid feature-weighted system.

For more information, please consult the report.



Before downloading this project, you should have some requirements. These are all I’ve used with this project, on windows. For other operating system, they should be similar.

For windows, what I’ve used :

In a general way, if there is a file like requirements.txt, you should do “pip install -r requirements.txt”.

The version of django used is 1.3.7, installed via Django MongoDB Engine.


The installation of TreeTagger is a little bit tricky. First you have to download the python wrapper here : Afterwards, you have to copy it in your python folder Lib.Then, you have to create your treetagger folder that’ll contain the binaries and the configuration files. More information can be found here :

An example is available here : Be careful with the accent in french. If you want that works, you must precise that the input and the output is utf-8 and when you pass a string, pass it in unicode (u"….") and it’ll work.

For the french version, here an example of treetagger folder. It could be downloaded here : http://isic.lan/dmsf/files/589/download.



Getting started

Once you’ve downloaded and installed all the requirement, change the path to the template directory into the file and change all \ to /.
Then you must start mongo (mongod.exe) and you might start mongo interface too (mongo.exe —dbpath path_to_data_folder).

Now, let’s execute the code :

Step 1

python shell
# Inside the shell :
from django.contrib.sites.models import Site
s = Site()

Copy the id into (SITE_ID)

Step 2

python syncdb

Step 3

python runserver

Now start you favorite browser and go to and enjoy it !


This code is distributed under the terms and conditions of the MIT license.


Single semester project, Bsc 5 HE-Arc 2013-2014




No releases published


No packages published