/graphoW

graphoW is a Python package for the creation of a Graph-of-Words (GoW) representation of texts.

Primary LanguagePythonApache License 2.0Apache-2.0

graphoW: A python package for building Graph of Words

graphoW is a Python package for the creation of a Graph-of-Words (GoW) representation of texts.

It allows to:

  • Create a GoW for individual texts.
  • Create a container of GoW in which each GoW corresponds to a paragraph in the text.
  • Compute diverse types of graph metrics (e.g., individual, global, connectivity...).
  • Compute the narrative consistency of text based on all terms or only on noun phrases.
  • Compute the rapidity of a text, i.e., how slow/fast change the structure of paragraphs.

GoW is supported using NetworkX.