Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

conversational_settings.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!usr/bin/env python
  2. # -*- coding: utf8 -*-
  3. #
  4. # -----------------------------------------------------------------------------
  5. # File: conversational_settings.py (as part of project URUMETRICS-CODE)
  6. # Created: 25/08/2022 10:34
  7. # Last Modified: 25/08/2022 10:34
  8. # -----------------------------------------------------------------------------
  9. # Author: William N. Havard
  10. # Postdoctoral Researcher
  11. #
  12. # Mail : william.havard@ens.fr / william.havard@gmail.com
  13. #
  14. # Institution: ENS / Laboratoire de Sciences Cognitives et Psycholinguistique
  15. #
  16. # ------------------------------------------------------------------------------
  17. # Description:
  18. # •
  19. # -----------------------------------------------------------------------------
  20. from conversations import Conversation
  21. from conversations.standards import standard_filtering_rules, standard_path_selection_rules, \
  22. standard_turn_transition_rules
  23. # Define the settings used by the conversational analysis package
  24. uru_conversations = Conversation(# Participants
  25. target_participant='CHI',
  26. interactants = ['FEM', 'MAL'],
  27. # Connectivity
  28. allowed_gap=1000,
  29. allow_segment_jump=False,
  30. # Arguments for the user-defined/default_* functions
  31. allow_multi_unit_turns=True,
  32. allow_interactions_btw_interactants=False,
  33. selection_key=['num_turns'],
  34. # User-defined rules
  35. # Define how turns are allowed to take place
  36. turn_transition_rules=standard_turn_transition_rules,
  37. # Select one path amongst several
  38. best_path_selection_rules=standard_path_selection_rules,
  39. # Filter out interactional sequences
  40. filtering_rules=standard_filtering_rules, )