speechmetryflow 0.2.3__tar.gz → 0.2.4__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.
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/PKG-INFO +1 -1
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/_version.py +2 -2
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/utils.py +4 -1
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/.gitignore +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/LICENSE +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/README.md +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/pyproject.toml +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/cli.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/concreteness.tsv +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/familiarity_imageability.tsv +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/frequency.tsv +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/valence.tsv +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/database.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/part_of_speech.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/utils.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/pragmatic/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/pragmatic/assets.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/pragmatic/database.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/semantic/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/semantic/assets.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/semantic/icu.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/semantic/idea_density.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/assets/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/assets/words_fr.json +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/fluency.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/fragment.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/syntactic/__init__.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/syntactic/assets.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/syntactic/dependency.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/syntactic/sentences.py +0 -0
- {speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/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.
|
|
3
|
+
Version: 0.2.4
|
|
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
|
|
@@ -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.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
31
|
+
__version__ = version = '0.2.4'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 2, 4)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -14,11 +14,14 @@ def general_cleaning(raw_text: str) -> str:
|
|
|
14
14
|
Returns:
|
|
15
15
|
str: Cleaned up text
|
|
16
16
|
"""
|
|
17
|
+
# Replace wrong apostrophes with correct ones
|
|
18
|
+
content = content.replace("’", "'")
|
|
19
|
+
|
|
17
20
|
# Removes content between square brackets ([...])
|
|
18
21
|
text = re.sub(r"\[.*?\]", "", raw_text)
|
|
19
22
|
|
|
20
23
|
# Removes punctuation, keeping letters, apostrophes, spaces, periods, and question marks
|
|
21
|
-
text = re.sub(r"[^\w
|
|
24
|
+
text = re.sub(r"[^\w\' \.\?]", "", text)
|
|
22
25
|
|
|
23
26
|
# Removes periods following a space
|
|
24
27
|
text = re.sub(r"\s\.", "", text)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/concreteness.tsv
RENAMED
|
File without changes
|
|
File without changes
|
{speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/lexical/assets/frequency.tsv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/__init__.py
RENAMED
|
File without changes
|
{speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/assets/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/fluency.py
RENAMED
|
File without changes
|
{speechmetryflow-0.2.3 → speechmetryflow-0.2.4}/speechmetryflow/speech_production/fragment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|