pelican-nlp 0.1.2__tar.gz → 0.2.0__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.
- {pelican_nlp-0.1.2/pelican_nlp.egg-info → pelican_nlp-0.2.0}/PKG-INFO +31 -14
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/README.rst +26 -9
- pelican_nlp-0.2.0/pelican_nlp/_version.py +1 -0
- pelican_nlp-0.2.0/pelican_nlp/cli.py +14 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0/pelican_nlp.egg-info}/PKG-INFO +31 -14
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp.egg-info/SOURCES.txt +2 -0
- pelican_nlp-0.2.0/pelican_nlp.egg-info/entry_points.txt +2 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pyproject.toml +10 -4
- pelican_nlp-0.1.2/pelican_nlp/_version.py +0 -1
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/LICENSE +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/MANIFEST.in +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_discourse/config_discourse.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_discourse/subjects/sub-01/interview/sub-01_interview_schizophrenia_run-01.rtf +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/config_fluency.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/subjects/sub-01/fluency/sub-01_fluency_sem_animals.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/subjects/sub-01/fluency/sub-01_fluency_sem_clothes.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/subjects/sub-01/fluency/sub-01_fluency_sem_food.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/subjects/sub-02/fluency/sub-02_fluency_sem_animals.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/subjects/sub-02/fluency/sub-02_fluency_sem_clothes.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_fluency/subjects/sub-02/fluency/sub-02_fluency_sem_food.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/config_image-descriptions.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/subjects/sub-01/ses-01/image-description/sub-01_ses-01_image-description_drug.docx +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/subjects/sub-01/ses-01/image-description/sub-01_ses-01_image-description_placebo.docx +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/subjects/sub-01/ses-02/image-description/sub-01_ses-02_image-description_drug.docx +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/subjects/sub-01/ses-02/image-description/sub-01_ses-02_image-description_placebo.docx +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/subjects/sub-02/ses-01/image-description/sub-02_ses-01_image-description_drug.docx +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_image-descriptions/subjects/sub-02/ses-01/image-description/sub-02_ses-01_image-description_placebo.docx +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/extract_acoustic_features.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/aggregate_fluency_results.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/behavioral_data.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/check_duplicates.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/coherence.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/config.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/main.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/optimality_without_tsa.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/plot_fluency.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/plotting_utils.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/questionnaires_data.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/stats_fluency.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/utils.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/speaker_diarization_Nils.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/annotation_tool.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/annotation_tool_boundaries.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/annotation_tool_sandbox.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/output/holmes_control_nova_all_outputs.json +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/test.json +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcribe_audio.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcribe_audio_chunked.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcription.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcription_gui.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/word_boundaries.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Silvia_files/Opensmile/opensmile_feature_extraction.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Silvia_files/prosogram/prosogram.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/configuration_files/config_audio.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/configuration_files/config_discourse.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/configuration_files/config_fluency.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/configuration_files/config_general.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/configuration_files/config_morteza.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/core/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/core/audio_document.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/core/corpus.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/core/document.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/core/subject.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/acoustic_feature_extraction.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/distance_from_randomness.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/extract_embeddings.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/extract_logits.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/language_model.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/semantic_similarity.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/test_features.csv +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/wallace_1.15_3.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/wallace_1.1_3.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/wallace_1_4.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/main.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/metrics_statistics/embeddings_metrics_statistics.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/praat/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/LPDS.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/pipeline.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/speaker_diarization.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/text_cleaner.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/text_importer.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/text_normalizer.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/preprocessing/text_tokenizer.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/sample_configuration_files/config_discourse.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/sample_configuration_files/config_fluency.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/sample_configuration_files/config_general.yml +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/utils/__init__.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/utils/csv_functions.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/utils/sample_usage.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/utils/setup_functions.py +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp.egg-info/dependency_links.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp.egg-info/requires.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp.egg-info/top_level.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/requirements.txt +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/setup.cfg +0 -0
- {pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/tests/__init__.py +0 -0
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pelican_nlp
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.2.0
|
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
|
7
|
-
Project-URL: Homepage, https://github.com/ypauli/
|
8
|
-
Project-URL: Repository, https://github.com/ypauli/
|
9
|
-
Project-URL: Documentation, https://github.com/ypauli/
|
10
|
-
Project-URL: Bug Tracker, https://github.com/ypauli/
|
7
|
+
Project-URL: Homepage, https://github.com/ypauli/pelican_nlp
|
8
|
+
Project-URL: Repository, https://github.com/ypauli/pelican_nlp
|
9
|
+
Project-URL: Documentation, https://github.com/ypauli/pelican_nlp#readme
|
10
|
+
Project-URL: Bug Tracker, https://github.com/ypauli/pelican_nlp/issues
|
11
11
|
Keywords: nlp,linguistics,preprocessing,language-processing,text-analysis
|
12
12
|
Classifier: Development Status :: 1 - Planning
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
@@ -48,18 +48,18 @@ Dynamic: license-file
|
|
48
48
|
PELICAN_nlp
|
49
49
|
====================================
|
50
50
|
|
51
|
-
|
51
|
+
pelican_nlp stands for "Preprocessing and Extraction of Linguistic Information for Computational Analysis - Natural Language Processing". This package enables the creation of standardized and reproducible language processing pipelines, extracting linguistic features from various tasks like discourse, fluency, and image descriptions.
|
52
52
|
|
53
53
|
.. image:: https://img.shields.io/pypi/v/package-name.svg
|
54
|
-
:target: https://pypi.org/project/
|
54
|
+
:target: https://pypi.org/project/pelican_nlp/
|
55
55
|
:alt: PyPI version
|
56
56
|
|
57
57
|
.. image:: https://img.shields.io/github/license/username/package-name.svg
|
58
|
-
:target: https://github.com/ypauli/
|
58
|
+
:target: https://github.com/ypauli/pelican_nlp/blob/main/LICENSE
|
59
59
|
:alt: License
|
60
60
|
|
61
61
|
.. image:: https://img.shields.io/pypi/pyversions/package-name.svg
|
62
|
-
:target: https://pypi.org/project/
|
62
|
+
:target: https://pypi.org/project/pelican_nlp/
|
63
63
|
:alt: Supported Python Versions
|
64
64
|
|
65
65
|
Installation
|
@@ -75,7 +75,7 @@ For the latest development version:
|
|
75
75
|
|
76
76
|
.. code-block:: bash
|
77
77
|
|
78
|
-
pip install https://github.com/
|
78
|
+
pip install https://github.com/ypauli/pelican_nlp/releases/tag/v0.1.2-alpha
|
79
79
|
|
80
80
|
Usage
|
81
81
|
=====
|
@@ -85,14 +85,31 @@ To use the pelican_nlp package:
|
|
85
85
|
Adapt your configuration file to your needs.
|
86
86
|
ALWAYS change the specified project folder location.
|
87
87
|
|
88
|
+
Save configuration file to main project directory.
|
89
|
+
|
90
|
+
Run from command line:
|
91
|
+
|
92
|
+
Navigate to main project directory in command line and enter the following command (Note: Folder must contain your subjects folder and your configuration.yml file):
|
93
|
+
|
94
|
+
.. code-block:: bash
|
95
|
+
|
96
|
+
pelican-run
|
97
|
+
|
98
|
+
|
99
|
+
Run with python script:
|
100
|
+
|
101
|
+
Create python file with IDE of your choice (e.g. Visual Studio Code, Pycharm, etc.) and copy the following code into the file:
|
102
|
+
|
88
103
|
.. code-block:: python
|
89
104
|
|
90
105
|
from pelican_nlp.main import Pelican
|
91
106
|
|
92
|
-
configuration_file = "/path/to/your/config/file"
|
107
|
+
configuration_file = "/path/to/your/config/file.yml"
|
93
108
|
pelican = Pelican(configuration_file)
|
94
109
|
pelican.run()
|
95
110
|
|
111
|
+
Replace "/path/to/your/config/file" with the path to your configuration file located in your main project folder.
|
112
|
+
|
96
113
|
For reliable operation, data must be stored in the *Language Processing Data Structure (LPDS)* format, inspired by brain imaging data structure conventions.
|
97
114
|
|
98
115
|
Text and audio files should follow this naming convention:
|
@@ -125,15 +142,15 @@ Features
|
|
125
142
|
Examples
|
126
143
|
========
|
127
144
|
|
128
|
-
You can find example setups in the [`examples/`](https://github.com/ypauli/
|
145
|
+
You can find example setups in the [`examples/`](https://github.com/ypauli/pelican_nlp/tree/main/examples) folder.
|
129
146
|
ALWAYS change the path to the project folder specified in the configuration file to your specific project location.
|
130
147
|
|
131
148
|
Contributing
|
132
149
|
============
|
133
150
|
|
134
|
-
Contributions are welcome! Please check out the `contributing guide <https://github.com/ypauli/
|
151
|
+
Contributions are welcome! Please check out the `contributing guide <https://github.com/ypauli/pelican_nlp/blob/main/CONTRIBUTING.md>`_.
|
135
152
|
|
136
153
|
License
|
137
154
|
=======
|
138
155
|
|
139
|
-
This project is licensed under Attribution-NonCommercial 4.0 International. See the `LICENSE <https://github.com/ypauli/
|
156
|
+
This project is licensed under Attribution-NonCommercial 4.0 International. See the `LICENSE <https://github.com/ypauli/pelican_nlp/blob/main/LICENSE>`_ file for details.
|
@@ -2,18 +2,18 @@
|
|
2
2
|
PELICAN_nlp
|
3
3
|
====================================
|
4
4
|
|
5
|
-
|
5
|
+
pelican_nlp stands for "Preprocessing and Extraction of Linguistic Information for Computational Analysis - Natural Language Processing". This package enables the creation of standardized and reproducible language processing pipelines, extracting linguistic features from various tasks like discourse, fluency, and image descriptions.
|
6
6
|
|
7
7
|
.. image:: https://img.shields.io/pypi/v/package-name.svg
|
8
|
-
:target: https://pypi.org/project/
|
8
|
+
:target: https://pypi.org/project/pelican_nlp/
|
9
9
|
:alt: PyPI version
|
10
10
|
|
11
11
|
.. image:: https://img.shields.io/github/license/username/package-name.svg
|
12
|
-
:target: https://github.com/ypauli/
|
12
|
+
:target: https://github.com/ypauli/pelican_nlp/blob/main/LICENSE
|
13
13
|
:alt: License
|
14
14
|
|
15
15
|
.. image:: https://img.shields.io/pypi/pyversions/package-name.svg
|
16
|
-
:target: https://pypi.org/project/
|
16
|
+
:target: https://pypi.org/project/pelican_nlp/
|
17
17
|
:alt: Supported Python Versions
|
18
18
|
|
19
19
|
Installation
|
@@ -29,7 +29,7 @@ For the latest development version:
|
|
29
29
|
|
30
30
|
.. code-block:: bash
|
31
31
|
|
32
|
-
pip install https://github.com/
|
32
|
+
pip install https://github.com/ypauli/pelican_nlp/releases/tag/v0.1.2-alpha
|
33
33
|
|
34
34
|
Usage
|
35
35
|
=====
|
@@ -39,14 +39,31 @@ To use the pelican_nlp package:
|
|
39
39
|
Adapt your configuration file to your needs.
|
40
40
|
ALWAYS change the specified project folder location.
|
41
41
|
|
42
|
+
Save configuration file to main project directory.
|
43
|
+
|
44
|
+
Run from command line:
|
45
|
+
|
46
|
+
Navigate to main project directory in command line and enter the following command (Note: Folder must contain your subjects folder and your configuration.yml file):
|
47
|
+
|
48
|
+
.. code-block:: bash
|
49
|
+
|
50
|
+
pelican-run
|
51
|
+
|
52
|
+
|
53
|
+
Run with python script:
|
54
|
+
|
55
|
+
Create python file with IDE of your choice (e.g. Visual Studio Code, Pycharm, etc.) and copy the following code into the file:
|
56
|
+
|
42
57
|
.. code-block:: python
|
43
58
|
|
44
59
|
from pelican_nlp.main import Pelican
|
45
60
|
|
46
|
-
configuration_file = "/path/to/your/config/file"
|
61
|
+
configuration_file = "/path/to/your/config/file.yml"
|
47
62
|
pelican = Pelican(configuration_file)
|
48
63
|
pelican.run()
|
49
64
|
|
65
|
+
Replace "/path/to/your/config/file" with the path to your configuration file located in your main project folder.
|
66
|
+
|
50
67
|
For reliable operation, data must be stored in the *Language Processing Data Structure (LPDS)* format, inspired by brain imaging data structure conventions.
|
51
68
|
|
52
69
|
Text and audio files should follow this naming convention:
|
@@ -79,15 +96,15 @@ Features
|
|
79
96
|
Examples
|
80
97
|
========
|
81
98
|
|
82
|
-
You can find example setups in the [`examples/`](https://github.com/ypauli/
|
99
|
+
You can find example setups in the [`examples/`](https://github.com/ypauli/pelican_nlp/tree/main/examples) folder.
|
83
100
|
ALWAYS change the path to the project folder specified in the configuration file to your specific project location.
|
84
101
|
|
85
102
|
Contributing
|
86
103
|
============
|
87
104
|
|
88
|
-
Contributions are welcome! Please check out the `contributing guide <https://github.com/ypauli/
|
105
|
+
Contributions are welcome! Please check out the `contributing guide <https://github.com/ypauli/pelican_nlp/blob/main/CONTRIBUTING.md>`_.
|
89
106
|
|
90
107
|
License
|
91
108
|
=======
|
92
109
|
|
93
|
-
This project is licensed under Attribution-NonCommercial 4.0 International. See the `LICENSE <https://github.com/ypauli/
|
110
|
+
This project is licensed under Attribution-NonCommercial 4.0 International. See the `LICENSE <https://github.com/ypauli/pelican_nlp/blob/main/LICENSE>`_ file for details.
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.2.0"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import os
|
2
|
+
from pelican_nlp.main import Pelican
|
3
|
+
|
4
|
+
def main():
|
5
|
+
config_files = [f for f in os.listdir(".") if f.endswith(".yml")]
|
6
|
+
if not config_files:
|
7
|
+
print("No .yml configuration file found in the current directory.")
|
8
|
+
return
|
9
|
+
|
10
|
+
config_file = config_files[0] # You could also add logic to choose or validate
|
11
|
+
print(f"Using configuration file: {config_file}")
|
12
|
+
|
13
|
+
pelican = Pelican(config_file)
|
14
|
+
pelican.run()
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pelican_nlp
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.2.0
|
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
|
7
|
-
Project-URL: Homepage, https://github.com/ypauli/
|
8
|
-
Project-URL: Repository, https://github.com/ypauli/
|
9
|
-
Project-URL: Documentation, https://github.com/ypauli/
|
10
|
-
Project-URL: Bug Tracker, https://github.com/ypauli/
|
7
|
+
Project-URL: Homepage, https://github.com/ypauli/pelican_nlp
|
8
|
+
Project-URL: Repository, https://github.com/ypauli/pelican_nlp
|
9
|
+
Project-URL: Documentation, https://github.com/ypauli/pelican_nlp#readme
|
10
|
+
Project-URL: Bug Tracker, https://github.com/ypauli/pelican_nlp/issues
|
11
11
|
Keywords: nlp,linguistics,preprocessing,language-processing,text-analysis
|
12
12
|
Classifier: Development Status :: 1 - Planning
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
@@ -48,18 +48,18 @@ Dynamic: license-file
|
|
48
48
|
PELICAN_nlp
|
49
49
|
====================================
|
50
50
|
|
51
|
-
|
51
|
+
pelican_nlp stands for "Preprocessing and Extraction of Linguistic Information for Computational Analysis - Natural Language Processing". This package enables the creation of standardized and reproducible language processing pipelines, extracting linguistic features from various tasks like discourse, fluency, and image descriptions.
|
52
52
|
|
53
53
|
.. image:: https://img.shields.io/pypi/v/package-name.svg
|
54
|
-
:target: https://pypi.org/project/
|
54
|
+
:target: https://pypi.org/project/pelican_nlp/
|
55
55
|
:alt: PyPI version
|
56
56
|
|
57
57
|
.. image:: https://img.shields.io/github/license/username/package-name.svg
|
58
|
-
:target: https://github.com/ypauli/
|
58
|
+
:target: https://github.com/ypauli/pelican_nlp/blob/main/LICENSE
|
59
59
|
:alt: License
|
60
60
|
|
61
61
|
.. image:: https://img.shields.io/pypi/pyversions/package-name.svg
|
62
|
-
:target: https://pypi.org/project/
|
62
|
+
:target: https://pypi.org/project/pelican_nlp/
|
63
63
|
:alt: Supported Python Versions
|
64
64
|
|
65
65
|
Installation
|
@@ -75,7 +75,7 @@ For the latest development version:
|
|
75
75
|
|
76
76
|
.. code-block:: bash
|
77
77
|
|
78
|
-
pip install https://github.com/
|
78
|
+
pip install https://github.com/ypauli/pelican_nlp/releases/tag/v0.1.2-alpha
|
79
79
|
|
80
80
|
Usage
|
81
81
|
=====
|
@@ -85,14 +85,31 @@ To use the pelican_nlp package:
|
|
85
85
|
Adapt your configuration file to your needs.
|
86
86
|
ALWAYS change the specified project folder location.
|
87
87
|
|
88
|
+
Save configuration file to main project directory.
|
89
|
+
|
90
|
+
Run from command line:
|
91
|
+
|
92
|
+
Navigate to main project directory in command line and enter the following command (Note: Folder must contain your subjects folder and your configuration.yml file):
|
93
|
+
|
94
|
+
.. code-block:: bash
|
95
|
+
|
96
|
+
pelican-run
|
97
|
+
|
98
|
+
|
99
|
+
Run with python script:
|
100
|
+
|
101
|
+
Create python file with IDE of your choice (e.g. Visual Studio Code, Pycharm, etc.) and copy the following code into the file:
|
102
|
+
|
88
103
|
.. code-block:: python
|
89
104
|
|
90
105
|
from pelican_nlp.main import Pelican
|
91
106
|
|
92
|
-
configuration_file = "/path/to/your/config/file"
|
107
|
+
configuration_file = "/path/to/your/config/file.yml"
|
93
108
|
pelican = Pelican(configuration_file)
|
94
109
|
pelican.run()
|
95
110
|
|
111
|
+
Replace "/path/to/your/config/file" with the path to your configuration file located in your main project folder.
|
112
|
+
|
96
113
|
For reliable operation, data must be stored in the *Language Processing Data Structure (LPDS)* format, inspired by brain imaging data structure conventions.
|
97
114
|
|
98
115
|
Text and audio files should follow this naming convention:
|
@@ -125,15 +142,15 @@ Features
|
|
125
142
|
Examples
|
126
143
|
========
|
127
144
|
|
128
|
-
You can find example setups in the [`examples/`](https://github.com/ypauli/
|
145
|
+
You can find example setups in the [`examples/`](https://github.com/ypauli/pelican_nlp/tree/main/examples) folder.
|
129
146
|
ALWAYS change the path to the project folder specified in the configuration file to your specific project location.
|
130
147
|
|
131
148
|
Contributing
|
132
149
|
============
|
133
150
|
|
134
|
-
Contributions are welcome! Please check out the `contributing guide <https://github.com/ypauli/
|
151
|
+
Contributions are welcome! Please check out the `contributing guide <https://github.com/ypauli/pelican_nlp/blob/main/CONTRIBUTING.md>`_.
|
135
152
|
|
136
153
|
License
|
137
154
|
=======
|
138
155
|
|
139
|
-
This project is licensed under Attribution-NonCommercial 4.0 International. See the `LICENSE <https://github.com/ypauli/
|
156
|
+
This project is licensed under Attribution-NonCommercial 4.0 International. See the `LICENSE <https://github.com/ypauli/pelican_nlp/blob/main/LICENSE>`_ file for details.
|
@@ -21,10 +21,12 @@ examples/PyPI_testing_image-descriptions/subjects/sub-02/ses-01/image-descriptio
|
|
21
21
|
examples/PyPI_testing_image-descriptions/subjects/sub-02/ses-01/image-description/sub-02_ses-01_image-description_placebo.docx
|
22
22
|
pelican_nlp/__init__.py
|
23
23
|
pelican_nlp/_version.py
|
24
|
+
pelican_nlp/cli.py
|
24
25
|
pelican_nlp/main.py
|
25
26
|
pelican_nlp.egg-info/PKG-INFO
|
26
27
|
pelican_nlp.egg-info/SOURCES.txt
|
27
28
|
pelican_nlp.egg-info/dependency_links.txt
|
29
|
+
pelican_nlp.egg-info/entry_points.txt
|
28
30
|
pelican_nlp.egg-info/requires.txt
|
29
31
|
pelican_nlp.egg-info/top_level.txt
|
30
32
|
pelican_nlp/Nils_backup/__init__.py
|
@@ -49,10 +49,13 @@ dependencies = [
|
|
49
49
|
]
|
50
50
|
|
51
51
|
[project.urls]
|
52
|
-
Homepage = "https://github.com/ypauli/
|
53
|
-
Repository = "https://github.com/ypauli/
|
54
|
-
Documentation = "https://github.com/ypauli/
|
55
|
-
"Bug Tracker" = "https://github.com/ypauli/
|
52
|
+
Homepage = "https://github.com/ypauli/pelican_nlp"
|
53
|
+
Repository = "https://github.com/ypauli/pelican_nlp"
|
54
|
+
Documentation = "https://github.com/ypauli/pelican_nlp#readme"
|
55
|
+
"Bug Tracker" = "https://github.com/ypauli/pelican_nlp/issues"
|
56
|
+
|
57
|
+
[project.scripts]
|
58
|
+
pelican-run = "pelican_nlp.cli:main"
|
56
59
|
|
57
60
|
[tool.setuptools]
|
58
61
|
packages = ["pelican_nlp"]
|
@@ -61,6 +64,9 @@ include-package-data = true
|
|
61
64
|
[tool.setuptools.package-dir]
|
62
65
|
pelican_nlp = "pelican_nlp"
|
63
66
|
|
67
|
+
[tool.poetry.dependencies]
|
68
|
+
python = "3.10"
|
69
|
+
|
64
70
|
[options]
|
65
71
|
zip_safe = false
|
66
72
|
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.1.2"
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/examples/PyPI_testing_discourse/config_discourse.yml
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/extract_acoustic_features.py
RENAMED
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/aggregate_fluency_results.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/optimality_without_tsa.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/fluency/questionnaires_data.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/annotation_tool.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcribe_audio.py
RENAMED
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcription.py
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/transcription_gui.py
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/Nils_backup/transcription/word_boundaries.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/configuration_files/config_discourse.yml
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
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/acoustic_feature_extraction.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/test_features.csv
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/wallace_1.15_3.txt
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/wallace_1.1_3.txt
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/extraction/test_documents/wallace_1_4.txt
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
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/sample_configuration_files/config_discourse.yml
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/sample_configuration_files/config_fluency.yml
RENAMED
File without changes
|
{pelican_nlp-0.1.2 → pelican_nlp-0.2.0}/pelican_nlp/sample_configuration_files/config_general.yml
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
|