pelican-nlp 0.2.3__py3-none-any.whl → 0.2.5__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.
pelican_nlp/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.2.3"
1
+ __version__ = "0.2.5"
@@ -4,7 +4,6 @@
4
4
  # Basic Settings
5
5
  # -------------
6
6
  input_file: "audio" # Options: 'text' or 'audio'
7
- PATH_TO_PROJECT_FOLDER: "/home/yvespauli/PycharmProjects/Silvia"
8
7
  language: "dutch" # Options: 'german', 'english'
9
8
  recompute_everything: true # If false, reuses previously computed results
10
9
  output_document_information: true
@@ -5,7 +5,6 @@ discourse: &discourse_flag true
5
5
  #=====================================
6
6
 
7
7
  #general configurations; always adapt
8
- PATH_TO_PROJECT_FOLDER: "/home/yvespauli/PycharmProjects/Morteza/"
9
8
  language: "german" # Possibly add options for German and English
10
9
 
11
10
  task_name: "interview" # Give name of task used for creation of the input file (e.g., ['fluency', 'interview'])
@@ -5,7 +5,6 @@ fluency_task: &fluency_flag true
5
5
  #========================================
6
6
 
7
7
  #general configurations; always adapt
8
- PATH_TO_PROJECT_FOLDER: "/home/yvespauli/PycharmProjects/FluencyTest"
9
8
  language: "german"
10
9
  multiple_sessions: &session_flag false
11
10
 
@@ -4,7 +4,6 @@
4
4
  # Basic Settings
5
5
  # -------------
6
6
  input_file: "text" # Options: 'text' or 'audio'
7
- PATH_TO_PROJECT_FOLDER: "/home/yvespauli/PycharmProjects/FluencyTest"
8
7
  language: "german" # Options: 'german', 'english'
9
8
  recompute_everything: true # If false, reuses previously computed results
10
9
 
@@ -3,8 +3,6 @@
3
3
  input_file: "text" #or 'audio'
4
4
  discourse: &discourse_flag true
5
5
 
6
- #PATH_TO_PROJECT_FOLDER: "/home/yvespauli/PycharmProjects/KetamineStudy/KetamineStudy_ProjectFolder/" # Set default to home directory, e.g., '/home/usr/...'
7
- PATH_TO_PROJECT_FOLDER: "/home/yvespauli/PycharmProjects/Morteza/"
8
6
  language: "german" # Possibly add options for German and English
9
7
 
10
8
  task_name: "interview" # Give name of task used for creation of the input file (e.g., ['fluency', 'interview'])
@@ -21,7 +21,7 @@ class Corpus:
21
21
  self.documents = documents
22
22
  self.config = configuration_settings
23
23
  self.project_folder = project_folder
24
- self.derivative_dir = project_folder + '/derivatives'
24
+ self.derivative_dir = project_folder / 'derivatives'
25
25
  self.pipeline = TextPreprocessingPipeline(self.config)
26
26
  self.task = configuration_settings['task_name']
27
27
  self.results_path = None
pelican_nlp/main.py CHANGED
@@ -90,7 +90,7 @@ class Pelican:
90
90
  print(f'Processing corpus: {corpus_name}')
91
91
 
92
92
  corpus_documents = self._identify_corpus_files(subjects, corpus_name)
93
- corpus = Corpus(corpus_name, corpus_documents[corpus_name], self.config)
93
+ corpus = Corpus(corpus_name, corpus_documents[corpus_name], self.config, self.project_path)
94
94
 
95
95
  for document in corpus_documents[corpus_name]:
96
96
  document.corpus_name = corpus_name
@@ -5,7 +5,6 @@ discourse: &discourse_flag true
5
5
  #=====================================
6
6
 
7
7
  #general configurations; always adapt
8
- PATH_TO_PROJECT_FOLDER: "/path/to/your/project"
9
8
  language: "german" # Possibly add options for German and English
10
9
 
11
10
  task_name: "interview" # Give name of task used for creation of the input file (e.g., ['fluency', 'interview'])
@@ -5,7 +5,6 @@ fluency_task: &fluency_flag true
5
5
  #========================================
6
6
 
7
7
  #general configurations; always adapt
8
- PATH_TO_PROJECT_FOLDER: "/path/to/your/project"
9
8
  language: "german"
10
9
  multiple_sessions: &session_flag false
11
10
 
@@ -4,7 +4,6 @@
4
4
  # Basic Settings
5
5
  # -------------
6
6
  input_file: "text" # Options: 'text' or 'audio'
7
- PATH_TO_PROJECT_FOLDER: "/path/to/your/project"
8
7
  language: "german"
9
8
  recompute_everything: true # If false, reuses previously computed results
10
9
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pelican_nlp
3
- Version: 0.2.3
3
+ Version: 0.2.5
4
4
  Summary: Preprocessing and Extraction of Linguistic Information for Computational Analysis
5
5
  Author-email: Yves Pauli <yves.pauli@gmail.com>
6
6
  License-Expression: CC-BY-NC-4.0
@@ -1,7 +1,7 @@
1
1
  pelican_nlp/__init__.py,sha256=TD5xjKeXXAH6nUWG-6igbClgovi5r8RIEqI_ix1QeYo,204
2
- pelican_nlp/_version.py,sha256=X0PliCRFAeVnSTceUeHX1eM0j1HFhGFDWCRxLdde2Bs,21
2
+ pelican_nlp/_version.py,sha256=_VIP0UQ_JqCj1G-6kKLIYhaPRNuXStwJz-CIhCgKrHg,21
3
3
  pelican_nlp/cli.py,sha256=uXouL67mTjBynFMWpBTaGvGtEBWDnbS1BI7aRdxV-0M,439
4
- pelican_nlp/main.py,sha256=4Lmy87B3x0bDZbKa38Y9ig3DFYYvWhtK4WJpZwBsQB0,7520
4
+ pelican_nlp/main.py,sha256=iTaV0xuftFijsn1QLk_6iZ2AQDs-r6Z9l0sACOXFwGo,7539
5
5
  pelican_nlp/Nils_backup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  pelican_nlp/Nils_backup/extract_acoustic_features.py,sha256=eSP8lXxbZ15YE1HqxGtma9uWOcSN-fI-ig-NwQ9eOA8,10771
7
7
  pelican_nlp/Nils_backup/speaker_diarization_Nils.py,sha256=3RIhjKihu4Z1rruMt9KESFE2lqesfzIpRr7rLummUEo,10219
@@ -31,14 +31,14 @@ pelican_nlp/Nils_backup/transcription/word_boundaries.py,sha256=n6erYFVgDWLkgMnS
31
31
  pelican_nlp/Nils_backup/transcription/output/holmes_control_nova_all_outputs.json,sha256=Eo2pseyXGWSRLs44fDBIAUU7d57gXFXcq4A58iuLoVo,212326
32
32
  pelican_nlp/Silvia_files/Opensmile/opensmile_feature_extraction.py,sha256=sJsthRqJI8bfH38H-OwyQdxXCBIrXEdFm3qSARamYIw,2093
33
33
  pelican_nlp/Silvia_files/prosogram/prosogram.py,sha256=ndjtTSgVzEchPEcRNb9jAHuiKRJYXI2C3Y__Deyc1rU,3324
34
- pelican_nlp/configuration_files/config_audio.yml,sha256=aUneGp32RkBQD2xxgYw7J4djWatfWEjTm7Z8UeO49ec,3868
35
- pelican_nlp/configuration_files/config_discourse.yml,sha256=WrZk5J2xWMQQPOu25BsqIOM5CrYcAhxCxoMcQVKbDIU,3661
36
- pelican_nlp/configuration_files/config_fluency.yml,sha256=nBTGJXnbj8IhWsJGwP4ZutZCeIu2ybHUepG7RAWA1y0,3060
37
- pelican_nlp/configuration_files/config_general.yml,sha256=dOBiqOhw0VgV0LZ1boYJhhjCsnTaYBk6qoCTai-fk-o,3474
38
- pelican_nlp/configuration_files/config_morteza.yml,sha256=T378fxvBY9hERVGsnXroDFCy8Zh5PIq4dyer2b5AiDY,3376
34
+ pelican_nlp/configuration_files/config_audio.yml,sha256=E9PTI9-DGj-jCMU-teRLqbbtdBOuxEqeu7p48nr0LEg,3803
35
+ pelican_nlp/configuration_files/config_discourse.yml,sha256=wUWjqiwjyBi7-pxP66h_EGPA5XVw6lbIAj71S3tdlqU,3594
36
+ pelican_nlp/configuration_files/config_fluency.yml,sha256=JYpq90K4AF5TslzESJK6Nidw6-D1IiqD_6cdmlCd5-w,2990
37
+ pelican_nlp/configuration_files/config_general.yml,sha256=Dx06lK77yHSiH5U8vxrfm5U5Xc0O6rft6i6PuwcqNuU,3404
38
+ pelican_nlp/configuration_files/config_morteza.yml,sha256=ZUcEIHrXWH9H3r42kTWIFEfgtqZBpyYUMOErVC7X3z8,3152
39
39
  pelican_nlp/core/__init__.py,sha256=whJc5dWsGsKn2IAw-D4BvCvUKW1sVtWYE1WJIuUr5uI,165
40
40
  pelican_nlp/core/audio_document.py,sha256=hhSJNgeqSYa6_uws2ho66agHhAdHuKN3EIEdIsIcXKg,586
41
- pelican_nlp/core/corpus.py,sha256=j_p4hWwLnHuGu4jQakG9oVeizDD9mvWVWVJKTu_lMB4,15143
41
+ pelican_nlp/core/corpus.py,sha256=EIt-3giRaFe0vcJoKla_J8uVF_zR6oGmbQnNbllO9C0,15142
42
42
  pelican_nlp/core/document.py,sha256=j2HP5FX6cfmXHo7OWVFCX6cMsDyqsOmNlnGNNNfCm2c,8467
43
43
  pelican_nlp/core/subject.py,sha256=-pi3jDzb2zLiG8JNAi9i-9Jd-VtsPxDO4ShQci2QSMg,1059
44
44
  pelican_nlp/extraction/__init__.py,sha256=hfqFiaKpQBS6cwRm9Yd7MpOcV60_xJmwuQ2Kegary5k,84
@@ -62,16 +62,16 @@ pelican_nlp/preprocessing/text_cleaner.py,sha256=QKqxwoRR8dnuBYiY-PXK1kB7744TVUc
62
62
  pelican_nlp/preprocessing/text_importer.py,sha256=FtSyJjFXDxVle7Jpyw6EqCLDbLTCRxqVQi9ymWWtPB4,1356
63
63
  pelican_nlp/preprocessing/text_normalizer.py,sha256=huo5VFqJ0p2jq-ud1047XvMu1qNeaiuG879SF3zkJoM,894
64
64
  pelican_nlp/preprocessing/text_tokenizer.py,sha256=h875bXr0YuMrLh4HtQUvpHmASScddtkQXGaF9mm7uwU,1642
65
- pelican_nlp/sample_configuration_files/config_discourse.yml,sha256=xVHIUpSORV6iR0nEvuess6rfiAvuGEkqmaMWD_6kyFE,3618
66
- pelican_nlp/sample_configuration_files/config_fluency.yml,sha256=oQ6Y2BhRLExEMpS3VRH2pFrGHi788L66aSYUm05nV_A,3038
67
- pelican_nlp/sample_configuration_files/config_general.yml,sha256=UuGnZUa-SVmioE9NmXWOMKuv3uG5mNjIuXgA6-Y0JS0,3440
65
+ pelican_nlp/sample_configuration_files/config_discourse.yml,sha256=OaTCoMwhDjrOIBpw1nKXWIoSWRUUFNjGQdgQZHVrJn0,3570
66
+ pelican_nlp/sample_configuration_files/config_fluency.yml,sha256=JYpq90K4AF5TslzESJK6Nidw6-D1IiqD_6cdmlCd5-w,2990
67
+ pelican_nlp/sample_configuration_files/config_general.yml,sha256=T-rIYROERuG3PDKlUUlfNUeh35q7icW25Mg6Otzc1U4,3392
68
68
  pelican_nlp/utils/__init__.py,sha256=q1tGdOOj5UPRC2mGhoMUh8p4cbFCkkbD21bQaOVvFao,189
69
69
  pelican_nlp/utils/csv_functions.py,sha256=hsG73gm3Up9sAerp6gIxuNHaeP1vJj6HSh7ggVm1SSo,7272
70
70
  pelican_nlp/utils/sample_usage.py,sha256=W__OVMjWND-ZtxxRhfGJDHwbVpGlB-anXDxyA5P4cME,353
71
71
  pelican_nlp/utils/setup_functions.py,sha256=t4WG5qd5iYpNNBGklje_8ukwmJp_C9RMLLi7veDgNeA,3574
72
- pelican_nlp-0.2.3.dist-info/licenses/LICENSE,sha256=m3jshBZIXKiBX6qhmhtJcLTVJ1N6BEkQGIflneXvpYg,19336
73
- pelican_nlp-0.2.3.dist-info/METADATA,sha256=3GFutxyfVQ-AfzbVYiew-AFmj_6NyoLIuF6y0bqRLqw,5562
74
- pelican_nlp-0.2.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
75
- pelican_nlp-0.2.3.dist-info/entry_points.txt,sha256=znlG0paAfju9P10UM3rm5HcCHoj4tarTllNpeaqH_gc,53
76
- pelican_nlp-0.2.3.dist-info/top_level.txt,sha256=F0qlyqy5FCd3sTS_npUYPeLKN9_BZq6wD4qo9pI0xbg,12
77
- pelican_nlp-0.2.3.dist-info/RECORD,,
72
+ pelican_nlp-0.2.5.dist-info/licenses/LICENSE,sha256=m3jshBZIXKiBX6qhmhtJcLTVJ1N6BEkQGIflneXvpYg,19336
73
+ pelican_nlp-0.2.5.dist-info/METADATA,sha256=G0-X8_BeAE27zXEjBDYF3ri0i6-Ft1oxkTsL5gdinnw,5562
74
+ pelican_nlp-0.2.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
75
+ pelican_nlp-0.2.5.dist-info/entry_points.txt,sha256=znlG0paAfju9P10UM3rm5HcCHoj4tarTllNpeaqH_gc,53
76
+ pelican_nlp-0.2.5.dist-info/top_level.txt,sha256=F0qlyqy5FCd3sTS_npUYPeLKN9_BZq6wD4qo9pI0xbg,12
77
+ pelican_nlp-0.2.5.dist-info/RECORD,,