Skip to content

Digital humanities project : find a list of word and their synonyms if wanting in a text (divided in chapter), calculate the sentiment of sentences in which they appear and frequencies of word in theses sentences

License

Notifications You must be signed in to change notification settings

PonteIneptique/mobify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mobify

Aim

This project is python based. Its aim is to find context around a given list of words in corpora, which can be divided. For now, it provides :

  • Finder of words with their frequency
  • Finder of word synonyms within the text
  • Finder of sentences in which these words appear
  • Sentiment analyser of these sentences
  • Frequency of lemma in these sentences

Dependency

This project needs

  • Python 2 or superior
  • Pattern.en, Website

Example

The example is withdrawn from the Gutenberg Project. All credits to them.

  • Copy elements of source folder in example
  • Run test.py

Known Issue

  • Pattern runs an error for a too large collection of chapters
  • Only plaintext file are supported
  • Only text using "CHAPTER" to introduce a new chapter are supported

History

This project has been developed during a one day code contest at the DARIAH Summer School 2013 in Goettingen (Germany) by

About

Digital humanities project : find a list of word and their synonyms if wanting in a text (divided in chapter), calculate the sentiment of sentences in which they appear and frequencies of word in theses sentences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages