Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyse the gender of OP and create a file for all the functions #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gurvanrenault
Copy link

- Add a new file "social_analysis.py"
I add this file in order to separate functions and the main program in "reddit-relationships-bot.py". It will be easier to contribute in the future .

- Add new functions to analyse the gender of the original poster

analyse_gender_OP(post,men,women,tot_gender)
Analyse the gender of the original poster with the format like [42F] ( female of 42 years old)

The goal of this function is to show the percentage of men and women who submit in /r/relationships

Here is a screenshot of the working program :

reddit-rel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant