speechmetryflow 0.2.4__tar.gz → 0.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/PKG-INFO +2 -2
  2. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/pyproject.toml +1 -1
  3. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/_version.py +2 -2
  4. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/utils.py +3 -3
  5. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/.gitignore +0 -0
  6. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/LICENSE +0 -0
  7. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/README.md +0 -0
  8. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/__init__.py +0 -0
  9. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/cli.py +0 -0
  10. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/__init__.py +0 -0
  11. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/assets/__init__.py +0 -0
  12. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/assets/concreteness.tsv +0 -0
  13. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/assets/familiarity_imageability.tsv +0 -0
  14. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/assets/frequency.tsv +0 -0
  15. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/assets/valence.tsv +0 -0
  16. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/database.py +0 -0
  17. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/part_of_speech.py +0 -0
  18. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/lexical/utils.py +0 -0
  19. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/pragmatic/__init__.py +0 -0
  20. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/pragmatic/assets.py +0 -0
  21. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/pragmatic/database.py +0 -0
  22. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/semantic/__init__.py +0 -0
  23. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/semantic/assets.py +0 -0
  24. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/semantic/icu.py +0 -0
  25. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/semantic/idea_density.py +0 -0
  26. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/speech_production/__init__.py +0 -0
  27. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/speech_production/assets/__init__.py +0 -0
  28. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/speech_production/assets/words_fr.json +0 -0
  29. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/speech_production/fluency.py +0 -0
  30. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/speech_production/fragment.py +0 -0
  31. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/syntactic/__init__.py +0 -0
  32. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/syntactic/assets.py +0 -0
  33. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/syntactic/dependency.py +0 -0
  34. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/syntactic/sentences.py +0 -0
  35. {speechmetryflow-0.2.4 → speechmetryflow-0.2.5}/speechmetryflow/ucsf_disfluency/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: speechmetryflow
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Python module to extract text metrics for speechmetryflow pipeline
5
5
  Project-URL: Documentation, https://lingualab.github.io/speechmetryflow/
6
6
  Project-URL: Issues, https://github.com/lingualab/speechmetryflow/issues
@@ -700,7 +700,7 @@ Requires-Dist: nltk
700
700
  Requires-Dist: protobuf
701
701
  Requires-Dist: sentencepiece
702
702
  Requires-Dist: textdescriptives
703
- Requires-Dist: transformers[torch]
703
+ Requires-Dist: transformers[torch]==4.57.1
704
704
  Provides-Extra: doc
705
705
  Requires-Dist: mkdocs-material; extra == 'doc'
706
706
  Provides-Extra: style
@@ -32,7 +32,7 @@ dependencies = [
32
32
  "importlib_resources",
33
33
  "nltk",
34
34
  "textdescriptives",
35
- "transformers[torch]",
35
+ "transformers[torch]==4.57.1",
36
36
  "protobuf",
37
37
  "sentencepiece",
38
38
  ]
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.2.4'
32
- __version_tuple__ = version_tuple = (0, 2, 4)
31
+ __version__ = version = '0.2.5'
32
+ __version_tuple__ = version_tuple = (0, 2, 5)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1,4 +1,4 @@
1
- """"""
1
+ """test"""
2
2
 
3
3
  import re
4
4
  from nltk.stem import SnowballStemmer
@@ -15,10 +15,10 @@ def general_cleaning(raw_text: str) -> str:
15
15
  str: Cleaned up text
16
16
  """
17
17
  # Replace wrong apostrophes with correct ones
18
- content = content.replace("’", "'")
18
+ text = raw_text.replace("’", "'")
19
19
 
20
20
  # Removes content between square brackets ([...])
21
- text = re.sub(r"\[.*?\]", "", raw_text)
21
+ text = re.sub(r"\[.*?\]", "", text)
22
22
 
23
23
  # Removes punctuation, keeping letters, apostrophes, spaces, periods, and question marks
24
24
  text = re.sub(r"[^\w\' \.\?]", "", text)
File without changes