lingualabpy 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
- lingualabpy/_version.py +2 -2
- lingualabpy/text/parser.py +5 -0
- {lingualabpy-0.1.1.dist-info → lingualabpy-0.1.2.dist-info}/METADATA +1 -1
- {lingualabpy-0.1.1.dist-info → lingualabpy-0.1.2.dist-info}/RECORD +7 -7
- {lingualabpy-0.1.1.dist-info → lingualabpy-0.1.2.dist-info}/WHEEL +0 -0
- {lingualabpy-0.1.1.dist-info → lingualabpy-0.1.2.dist-info}/entry_points.txt +0 -0
- {lingualabpy-0.1.1.dist-info → lingualabpy-0.1.2.dist-info}/licenses/LICENSE +0 -0
lingualabpy/_version.py
CHANGED
|
@@ -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.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.2'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 2)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
lingualabpy/text/parser.py
CHANGED
|
@@ -17,6 +17,11 @@ def parse_waywithwords(document: Document) -> dict:
|
|
|
17
17
|
content = para.text.split()
|
|
18
18
|
speaker = content[0]
|
|
19
19
|
transcription = " ".join(content[1:])
|
|
20
|
+
|
|
21
|
+
# Since 2026, some transcripts have `PA` for the interviewee.
|
|
22
|
+
# This check has been added to ensure backward compatibility.
|
|
23
|
+
if speaker == "PA":
|
|
24
|
+
speaker = "IE"
|
|
20
25
|
except:
|
|
21
26
|
speaker = None
|
|
22
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lingualabpy
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Tools and utilities from the LINGUA laboratory
|
|
5
5
|
Project-URL: Documentation, https://github.com/lingualab/lingualabpy
|
|
6
6
|
Project-URL: Source, https://github.com/lingualab/lingualabpy
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
lingualabpy/__init__.py,sha256=KoUkh_Y5eCEDxIh8SaCL_jht5ebBIv7RuHyU-bu-uXk,685
|
|
2
|
-
lingualabpy/_version.py,sha256=
|
|
2
|
+
lingualabpy/_version.py,sha256=Ok5oAXdWgR9aghaFXTafTeDW6sYO3uVe6d2Nket57R4,704
|
|
3
3
|
lingualabpy/io.py,sha256=-UXNXHgjy-W7h2h9fmZTe2glKm6tFNSgjLcGxcrVpEo,1106
|
|
4
4
|
lingualabpy/plot.py,sha256=yfqKpS387u1TQaDINXatJhMr67J-q9k78EKrAnyBHlE,836
|
|
5
5
|
lingualabpy/audio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -14,13 +14,13 @@ lingualabpy/cli/plot_sound.py,sha256=DCK31EIN9IpirOw-Cb87k1U79dniFuNT8TWcGUBGh14
|
|
|
14
14
|
lingualabpy/neuroimaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
lingualabpy/neuroimaging/hcp_connectome.py,sha256=DM7KjXsnPjrvU0mMs7ys91vXNYDvsBgp8x5zts1_hOo,5129
|
|
16
16
|
lingualabpy/text/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
lingualabpy/text/parser.py,sha256=
|
|
17
|
+
lingualabpy/text/parser.py,sha256=EA2BGQ2RFgXYTOWzzoZuhhoFBK2THQNcPryZ2vY8KCg,1090
|
|
18
18
|
lingualabpy/text/textgrid.py,sha256=X4R7gDLIM-xHEtvyqaXY8-72HY4kbpoWMPs2E5eQmhM,1418
|
|
19
19
|
lingualabpy/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
lingualabpy/tools/data.py,sha256=qzMHFhUTK59f4me646D6I8VNr0nF5xs53nTXtDCyTeU,1482
|
|
21
21
|
lingualabpy/tools/interval.py,sha256=1wJO7sBB97GWRNvr5FmebOj7K33ZEn-nd2Xy9DY__Fg,2001
|
|
22
|
-
lingualabpy-0.1.
|
|
23
|
-
lingualabpy-0.1.
|
|
24
|
-
lingualabpy-0.1.
|
|
25
|
-
lingualabpy-0.1.
|
|
26
|
-
lingualabpy-0.1.
|
|
22
|
+
lingualabpy-0.1.2.dist-info/METADATA,sha256=tPi_8YBJVgehSWhbxj_vKRZKwjyCM_de2PHUUDIImtA,2956
|
|
23
|
+
lingualabpy-0.1.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
24
|
+
lingualabpy-0.1.2.dist-info/entry_points.txt,sha256=iz_pd8DzlHRCT3x-j0ElQtC-ZrXjMZYCg14hgyRcb84,385
|
|
25
|
+
lingualabpy-0.1.2.dist-info/licenses/LICENSE,sha256=c-I54KLO-TBc3-uz1_w3ru3Mf6RSEHnU5cbiIEuCRzw,1074
|
|
26
|
+
lingualabpy-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|