-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* code from notebook * add turndynamics code from notebook * instructions for disabling the bloody githook * move code from test to notebook * remove notebook from repository * start adding utterance functions * add calculated fields to dataclass * add python 3.6 to show that it breaks * add python 3.8 to show that it breaks * add python 3.6 to show that it breaks * add python 3.8 to show that it breaks * remove earlier python versions again * add fields to initial data class * implement until method calculating time differences between utterances * inmplement subconversation and until next method at conversation object * autopep8 * elaborate subconversation * move time processing to utterance * object oriented and small fixes * refactor post init * add subconversation functionaliry * subconversation can select based on index or time * make linter happy * also pack arguments for second subconversation test * fix linting issues * add dyadic property * apply conversation wide calculations dyadic and time to nxt * subconversation is internal * count number of participants * calculate FTO * remove old code * address linter comments * address linter issues and update fto calculation * fix noqa * fix noqa * calculations update in metadata corrected * allow warning supppression on empty conversations inside subconversation * refer to hidden _utterances instead of property * allow participant counting to exclude None * add test for FTO calculation * ensure participant count does not include future utterances * split subconversation into two functions * fix linter issue * update example notebook * Update sktalk/corpus/conversation.py Co-authored-by: Ji Qi <[email protected]> * Update sktalk/corpus/conversation.py Co-authored-by: Ji Qi <[email protected]> * add comments re: error * Update sktalk/corpus/conversation.py Co-authored-by: Ji Qi <[email protected]> * rewrite FTO calculation * rename overlap function to make it available * update FTO calculation to account for partial overlap * refactor overlap functions * Update sktalk/corpus/parsing/cha.py Co-authored-by: Ji Qi <[email protected]> --------- Co-authored-by: Ji Qi <[email protected]>
- Loading branch information
Showing
11 changed files
with
745 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.