Watts-Lab / team_comm_tools

An open-source Python library that turns multiparty conversational data into social-science backed features.
https://teamcommtools.seas.upenn.edu/
MIT License
3 stars 4 forks source link

Update Documentation (Complete Conceptual Documentation, Document Assumptions) #289

Closed agshruti12 closed 1 week ago

agshruti12 commented 2 weeks ago

Pull Request Template: If you are merging in a feature or other major change, use this template to check your pull request!

Basic Info

What's this pull request about?

Conceptual documentation for discursive diversity, forward flow, and certainty features.

My PR Adds or Improves Documentation

If your feature is about documentation, ensure that you check the boxes relevant to you.

Docstrings

Feature Wiki

General Documentation

My PR is About Adding a New Feature to the Code Repository

Adding Feature to the Feature Dictionary

  "Function Word Accommodation": {
    "columns": ["function_word_accommodation"],
    "file": "./features/word_mimicry.py",
    "level": "Chat",
    "semantic_grouping": "Variance",
    "description": "The total number of function words used in a given turn that were also used in the previous turn. Function words are defined as a list of 190 words from the source paper.",
    "references": "(Ranganath et al., 2013)",
    "wiki_link": "https://github.com/Watts-Lab/team-process-map/wiki/C.9-Mimicry:-Function-word,-Content-word,-BERT,-Moving",
    "function": ChatLevelFeaturesCalculator.calculate_word_mimicry,
    "dependencies": [],
    "preprocess": [],
    "vect_data": False,
    "bert_sentiment_data": False
  }

Documentation

Did you document your feature? You should follow the same requirements as above:

Code Basics

Testing

The location of my tests are here:

[PASTE LINK HERE]

If you check all the boxes above, then you ready to merge!