qubee-nlp 0.1.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.
- qubee_nlp-0.1.0/.github/workflows/publish.yml +84 -0
- qubee_nlp-0.1.0/.github/workflows/tests.yml +163 -0
- qubee_nlp-0.1.0/CHANGELOG.md +334 -0
- qubee_nlp-0.1.0/CODE_OF_CONDUCT.md +124 -0
- qubee_nlp-0.1.0/CONTRIBUTING.md +57 -0
- qubee_nlp-0.1.0/LICENSE +21 -0
- qubee_nlp-0.1.0/MANIFEST.in +78 -0
- qubee_nlp-0.1.0/PKG-INFO +405 -0
- qubee_nlp-0.1.0/README.md +308 -0
- qubee_nlp-0.1.0/docs/api/alphabet.md +33 -0
- qubee_nlp-0.1.0/docs/api/stemmer.md +0 -0
- qubee_nlp-0.1.0/docs/api/tokenizer.md +0 -0
- qubee_nlp-0.1.0/docs/index.md +22 -0
- qubee_nlp-0.1.0/docs/tutorials/afaan_oromoo_nlp.md +691 -0
- qubee_nlp-0.1.0/docs/tutorials/getting_started.md +829 -0
- qubee_nlp-0.1.0/examples/advanced_features.py +207 -0
- qubee_nlp-0.1.0/examples/basic_usage.py +84 -0
- qubee_nlp-0.1.0/examples/stemming_example.py +124 -0
- qubee_nlp-0.1.0/examples/tokenization_example.py +104 -0
- qubee_nlp-0.1.0/pyproject.toml +186 -0
- qubee_nlp-0.1.0/requirements-dev.txt +49 -0
- qubee_nlp-0.1.0/requirements.txt +12 -0
- qubee_nlp-0.1.0/setup.cfg +129 -0
- qubee_nlp-0.1.0/setup.py +127 -0
- qubee_nlp-0.1.0/src/qubee_nlp/__init__.py +46 -0
- qubee_nlp-0.1.0/src/qubee_nlp/alphabet.py +207 -0
- qubee_nlp-0.1.0/src/qubee_nlp/corpus/__init__.py +166 -0
- qubee_nlp-0.1.0/src/qubee_nlp/corpus/common_words.txt +118 -0
- qubee_nlp-0.1.0/src/qubee_nlp/corpus/stopwords.txt +77 -0
- qubee_nlp-0.1.0/src/qubee_nlp/data/__init__.py +383 -0
- qubee_nlp-0.1.0/src/qubee_nlp/normalizer.py +150 -0
- qubee_nlp-0.1.0/src/qubee_nlp/pos/__init__.py +42 -0
- qubee_nlp-0.1.0/src/qubee_nlp/pos/tagger.py +98 -0
- qubee_nlp-0.1.0/src/qubee_nlp/pos/tagsets.py +165 -0
- qubee_nlp-0.1.0/src/qubee_nlp/stemmer.py +143 -0
- qubee_nlp-0.1.0/src/qubee_nlp/stopwords.py +165 -0
- qubee_nlp-0.1.0/src/qubee_nlp/syllabifier.py +169 -0
- qubee_nlp-0.1.0/src/qubee_nlp/tokenizer.py +151 -0
- qubee_nlp-0.1.0/src/qubee_nlp/utils/__init__.py +35 -0
- qubee_nlp-0.1.0/src/qubee_nlp/utils/helpers.py +362 -0
- qubee_nlp-0.1.0/src/qubee_nlp/utils/validation.py +347 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/PKG-INFO +405 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/SOURCES.txt +57 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/dependency_links.txt +1 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/entry_points.txt +7 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/not-zip-safe +1 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/requires.txt +39 -0
- qubee_nlp-0.1.0/src/qubee_nlp.egg-info/top_level.txt +1 -0
- qubee_nlp-0.1.0/tests/__init__.py +0 -0
- qubee_nlp-0.1.0/tests/fix_all_tests.py +116 -0
- qubee_nlp-0.1.0/tests/test_alphabet.py +225 -0
- qubee_nlp-0.1.0/tests/test_normalizer.py +144 -0
- qubee_nlp-0.1.0/tests/test_pos/__init__.py +0 -0
- qubee_nlp-0.1.0/tests/test_pos/conftest.py +87 -0
- qubee_nlp-0.1.0/tests/test_pos/test_tagger.py +107 -0
- qubee_nlp-0.1.0/tests/test_stemmer.py +64 -0
- qubee_nlp-0.1.0/tests/test_syllabifier.py +414 -0
- qubee_nlp-0.1.0/tests/test_tokenizer.py +178 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch: # Allow manual trigger
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
deploy:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
environment:
|
|
13
|
+
name: pypi
|
|
14
|
+
url: https://pypi.org/p/qubee-nlp
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
id-token: write # Required for trusted publishing
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v3
|
|
21
|
+
with:
|
|
22
|
+
fetch-depth: 0
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.11"
|
|
28
|
+
cache: 'pip'
|
|
29
|
+
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: |
|
|
32
|
+
python -m pip install --upgrade pip
|
|
33
|
+
pip install build twine
|
|
34
|
+
|
|
35
|
+
- name: Build package
|
|
36
|
+
run: |
|
|
37
|
+
python -m build
|
|
38
|
+
|
|
39
|
+
- name: Check package with twine
|
|
40
|
+
run: |
|
|
41
|
+
twine check dist/*
|
|
42
|
+
|
|
43
|
+
- name: Get version from tag
|
|
44
|
+
id: get_version
|
|
45
|
+
run: |
|
|
46
|
+
VERSION=${GITHUB_REF#refs/tags/v}
|
|
47
|
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
48
|
+
echo "Building version: $VERSION"
|
|
49
|
+
|
|
50
|
+
- name: Create changelog for release
|
|
51
|
+
run: |
|
|
52
|
+
# Extract changelog for this version
|
|
53
|
+
awk '/^## \['${{ steps.get_version.outputs.version }}'\]/,/^## \[/' CHANGELOG.md | head -n -1 > release_notes.md
|
|
54
|
+
|
|
55
|
+
- name: Publish to PyPI
|
|
56
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
57
|
+
with:
|
|
58
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
59
|
+
verbose: true
|
|
60
|
+
skip-existing: true
|
|
61
|
+
|
|
62
|
+
- name: Create GitHub Release
|
|
63
|
+
uses: softprops/action-gh-release@v1
|
|
64
|
+
with:
|
|
65
|
+
files: dist/*
|
|
66
|
+
body_path: release_notes.md
|
|
67
|
+
draft: false
|
|
68
|
+
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'alpha') || contains(github.ref, 'rc') }}
|
|
69
|
+
|
|
70
|
+
- name: Notify on success
|
|
71
|
+
if: success()
|
|
72
|
+
run: |
|
|
73
|
+
echo "🎉 Successfully published version ${{ steps.get_version.outputs.version }} to PyPI!"
|
|
74
|
+
echo "📦 Package: https://pypi.org/project/qubee-nlp/${{ steps.get_version.outputs.version }}/"
|
|
75
|
+
echo "📚 Documentation: https://qubee-nlp.readthedocs.io/"
|
|
76
|
+
echo "🐛 Issues: https://github.com/${{ github.repository }}/issues"
|
|
77
|
+
|
|
78
|
+
- name: Notify on failure
|
|
79
|
+
if: failure()
|
|
80
|
+
run: |
|
|
81
|
+
echo "❌ Failed to publish to PyPI!"
|
|
82
|
+
echo "Check the workflow logs for details."
|
|
83
|
+
echo "Repository: ${{ github.repository }}"
|
|
84
|
+
echo "Ref: ${{ github.ref }}"
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main, develop ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
schedule:
|
|
9
|
+
- cron: '0 2 * * 0' # Run weekly on Sunday at 2 AM
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
name: Test on Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
|
18
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v3
|
|
22
|
+
|
|
23
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
24
|
+
uses: actions/setup-python@v4
|
|
25
|
+
with:
|
|
26
|
+
python-version: ${{ matrix.python-version }}
|
|
27
|
+
cache: 'pip'
|
|
28
|
+
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: |
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
pip install -e .[dev]
|
|
33
|
+
pip list
|
|
34
|
+
|
|
35
|
+
- name: Check code formatting with black
|
|
36
|
+
run: |
|
|
37
|
+
black --check src/qubee_nlp tests examples
|
|
38
|
+
|
|
39
|
+
- name: Lint with flake8
|
|
40
|
+
run: |
|
|
41
|
+
flake8 src/qubee_nlp tests examples --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
42
|
+
flake8 src/qubee_nlp tests examples --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
|
|
43
|
+
|
|
44
|
+
- name: Type check with mypy
|
|
45
|
+
run: |
|
|
46
|
+
mypy src/qubee_nlp --ignore-missing-imports
|
|
47
|
+
|
|
48
|
+
- name: Run tests with pytest
|
|
49
|
+
run: |
|
|
50
|
+
pytest tests/ -v --cov=qubee_nlp --cov-report=xml --cov-report=html
|
|
51
|
+
|
|
52
|
+
- name: Upload coverage to Codecov
|
|
53
|
+
uses: codecov/codecov-action@v3
|
|
54
|
+
with:
|
|
55
|
+
file: ./coverage.xml
|
|
56
|
+
fail_ci_if_error: true
|
|
57
|
+
verbose: true
|
|
58
|
+
|
|
59
|
+
- name: Upload test results
|
|
60
|
+
if: always()
|
|
61
|
+
uses: actions/upload-artifact@v3
|
|
62
|
+
with:
|
|
63
|
+
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
|
|
64
|
+
path: |
|
|
65
|
+
htmlcov/
|
|
66
|
+
.coverage
|
|
67
|
+
|
|
68
|
+
lint:
|
|
69
|
+
name: Lint and Security Check
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
|
|
72
|
+
steps:
|
|
73
|
+
- uses: actions/checkout@v3
|
|
74
|
+
|
|
75
|
+
- name: Set up Python
|
|
76
|
+
uses: actions/setup-python@v4
|
|
77
|
+
with:
|
|
78
|
+
python-version: "3.11"
|
|
79
|
+
|
|
80
|
+
- name: Install dependencies
|
|
81
|
+
run: |
|
|
82
|
+
python -m pip install --upgrade pip
|
|
83
|
+
pip install bandit safety pre-commit
|
|
84
|
+
|
|
85
|
+
- name: Security check with bandit
|
|
86
|
+
run: |
|
|
87
|
+
bandit -r src/qubee_nlp -f json -o bandit-report.json || true
|
|
88
|
+
|
|
89
|
+
- name: Dependency security check with safety
|
|
90
|
+
run: |
|
|
91
|
+
safety check --full-report
|
|
92
|
+
|
|
93
|
+
- name: Run pre-commit hooks
|
|
94
|
+
run: |
|
|
95
|
+
pre-commit run --all-files
|
|
96
|
+
|
|
97
|
+
- name: Upload linting results
|
|
98
|
+
if: always()
|
|
99
|
+
uses: actions/upload-artifact@v3
|
|
100
|
+
with:
|
|
101
|
+
name: lint-results
|
|
102
|
+
path: bandit-report.json
|
|
103
|
+
|
|
104
|
+
build:
|
|
105
|
+
name: Build Package
|
|
106
|
+
runs-on: ubuntu-latest
|
|
107
|
+
needs: [test, lint]
|
|
108
|
+
|
|
109
|
+
steps:
|
|
110
|
+
- uses: actions/checkout@v3
|
|
111
|
+
|
|
112
|
+
- name: Set up Python
|
|
113
|
+
uses: actions/setup-python@v4
|
|
114
|
+
with:
|
|
115
|
+
python-version: "3.11"
|
|
116
|
+
|
|
117
|
+
- name: Install build dependencies
|
|
118
|
+
run: |
|
|
119
|
+
python -m pip install --upgrade pip
|
|
120
|
+
pip install build twine
|
|
121
|
+
|
|
122
|
+
- name: Build package
|
|
123
|
+
run: |
|
|
124
|
+
python -m build
|
|
125
|
+
|
|
126
|
+
- name: Check package with twine
|
|
127
|
+
run: |
|
|
128
|
+
twine check dist/*
|
|
129
|
+
|
|
130
|
+
- name: Upload package artifacts
|
|
131
|
+
uses: actions/upload-artifact@v3
|
|
132
|
+
with:
|
|
133
|
+
name: dist-packages
|
|
134
|
+
path: dist/
|
|
135
|
+
|
|
136
|
+
documentation:
|
|
137
|
+
name: Build Documentation
|
|
138
|
+
runs-on: ubuntu-latest
|
|
139
|
+
needs: test
|
|
140
|
+
|
|
141
|
+
steps:
|
|
142
|
+
- uses: actions/checkout@v3
|
|
143
|
+
|
|
144
|
+
- name: Set up Python
|
|
145
|
+
uses: actions/setup-python@v4
|
|
146
|
+
with:
|
|
147
|
+
python-version: "3.11"
|
|
148
|
+
|
|
149
|
+
- name: Install dependencies
|
|
150
|
+
run: |
|
|
151
|
+
python -m pip install --upgrade pip
|
|
152
|
+
pip install -e .[docs]
|
|
153
|
+
|
|
154
|
+
- name: Build documentation
|
|
155
|
+
run: |
|
|
156
|
+
cd docs
|
|
157
|
+
make html
|
|
158
|
+
|
|
159
|
+
- name: Upload documentation
|
|
160
|
+
uses: actions/upload-artifact@v3
|
|
161
|
+
with:
|
|
162
|
+
name: documentation
|
|
163
|
+
path: docs/_build/html/
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Initial project structure for Qubee NLP library
|
|
12
|
+
- Basic documentation structure
|
|
13
|
+
- GitHub workflows for CI/CD
|
|
14
|
+
- Example scripts and tutorials
|
|
15
|
+
|
|
16
|
+
## [0.1.0] - 2024-01-15
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Alphabet Module**: Complete Qubee alphabet implementation for Afaan Oromoo
|
|
20
|
+
- `QubeeAlphabet` class with vowel/consonant detection
|
|
21
|
+
- Text validation functions (`validate_qubee_text`, `is_valid_qubee`)
|
|
22
|
+
- Text normalization functions (`normalize_qubee`, `normalize_diacritics`)
|
|
23
|
+
- Syllable splitting (`split_into_syllables`)
|
|
24
|
+
- Word structure validation (`is_valid_afaan_oromoo_word`)
|
|
25
|
+
|
|
26
|
+
- **Tokenizer Module**: Advanced tokenization for Afaan Oromoo
|
|
27
|
+
- `QubeeTokenizer` class with configurable options
|
|
28
|
+
- Word tokenization with position tracking
|
|
29
|
+
- Sentence tokenization with abbreviation handling
|
|
30
|
+
- Tokenization with context and metadata
|
|
31
|
+
- Convenience functions (`word_tokenize`, `sentence_tokenize`)
|
|
32
|
+
|
|
33
|
+
- **Stemmer Module**: Morphological analysis for Afaan Oromoo
|
|
34
|
+
- `QubeeStemmer` class with aggressive/conservative modes
|
|
35
|
+
- Word stemming and affix extraction
|
|
36
|
+
- Verb/noun detection functions
|
|
37
|
+
- Complete morphological analysis
|
|
38
|
+
|
|
39
|
+
- **POS Module**: Part-of-speech tagging framework
|
|
40
|
+
- `POSTagger` class for basic POS tagging
|
|
41
|
+
- Afaan Oromoo POS tag definitions
|
|
42
|
+
- Tag mapping and utilities
|
|
43
|
+
|
|
44
|
+
- **Stopwords Module**: Language-specific stopword handling
|
|
45
|
+
- Afaan Oromoo stopword lists
|
|
46
|
+
- Stopword removal functions
|
|
47
|
+
- Custom stopword management
|
|
48
|
+
|
|
49
|
+
- **Normalizer Module**: Advanced text normalization
|
|
50
|
+
- `AdvancedNormalizer` class for comprehensive text cleaning
|
|
51
|
+
- Dialect normalization support
|
|
52
|
+
- Special character handling
|
|
53
|
+
|
|
54
|
+
- **Syllabifier Module**: Syllable segmentation
|
|
55
|
+
- Phonotactic syllable splitting
|
|
56
|
+
- Syllable pattern analysis
|
|
57
|
+
- Word stress pattern detection
|
|
58
|
+
|
|
59
|
+
- **Corpus Utilities**:
|
|
60
|
+
- Corpus building and processing scripts
|
|
61
|
+
- Vocabulary generation
|
|
62
|
+
- Train/test split creation
|
|
63
|
+
- Corpus analysis and reporting
|
|
64
|
+
|
|
65
|
+
- **Data Management**:
|
|
66
|
+
- Built-in stopword lists
|
|
67
|
+
- Common word frequencies
|
|
68
|
+
- Example corpora
|
|
69
|
+
|
|
70
|
+
- **Documentation**:
|
|
71
|
+
- Comprehensive API documentation
|
|
72
|
+
- Getting started tutorial
|
|
73
|
+
- Afaan Oromoo NLP guide
|
|
74
|
+
- Example scripts with practical use cases
|
|
75
|
+
|
|
76
|
+
- **Examples**:
|
|
77
|
+
- Basic usage examples
|
|
78
|
+
- Tokenization demonstrations
|
|
79
|
+
- Stemming and morphological analysis
|
|
80
|
+
- Advanced feature showcase
|
|
81
|
+
|
|
82
|
+
- **Development Tools**:
|
|
83
|
+
- Complete test suite with 100+ tests
|
|
84
|
+
- Benchmarking scripts
|
|
85
|
+
- Data download utilities
|
|
86
|
+
- Corpus building tools
|
|
87
|
+
|
|
88
|
+
- **Project Infrastructure**:
|
|
89
|
+
- Complete `pyproject.toml` configuration
|
|
90
|
+
- Development dependencies
|
|
91
|
+
- GitHub Actions workflows
|
|
92
|
+
- Comprehensive `.gitignore`
|
|
93
|
+
- MIT License
|
|
94
|
+
|
|
95
|
+
### Features
|
|
96
|
+
- Support for Qubee alphabet validation and normalization
|
|
97
|
+
- Advanced tokenization with context awareness
|
|
98
|
+
- Morphological analysis for Afaan Oromoo verbs and nouns
|
|
99
|
+
- POS tagging framework extensible for future models
|
|
100
|
+
- Comprehensive text processing pipeline
|
|
101
|
+
- Performance optimized for large text processing
|
|
102
|
+
- Unicode and diacritic support
|
|
103
|
+
- Batch processing capabilities
|
|
104
|
+
- Error handling and validation
|
|
105
|
+
|
|
106
|
+
### Technical Details
|
|
107
|
+
- **Python Version Support**: 3.7+
|
|
108
|
+
- **Dependencies**: No external dependencies for core functionality
|
|
109
|
+
- **Performance**: Optimized algorithms for text processing
|
|
110
|
+
- **Memory**: Efficient memory usage for large texts
|
|
111
|
+
- **Unicode**: Full Unicode (UTF-8) support
|
|
112
|
+
- **Testing**: 100% test coverage for core modules
|
|
113
|
+
|
|
114
|
+
## [0.1.1] - Planned
|
|
115
|
+
|
|
116
|
+
### Added
|
|
117
|
+
- Enhanced stemming algorithms with rule-based improvements
|
|
118
|
+
- Expanded stopword lists with domain-specific vocabulary
|
|
119
|
+
- Additional example corpora for testing
|
|
120
|
+
- Performance benchmarks for all major functions
|
|
121
|
+
- More comprehensive test cases
|
|
122
|
+
|
|
123
|
+
### Changed
|
|
124
|
+
- Improved error messages for validation failures
|
|
125
|
+
- Optimized tokenization performance for large texts
|
|
126
|
+
- Enhanced documentation with more practical examples
|
|
127
|
+
- Updated dependencies to latest stable versions
|
|
128
|
+
|
|
129
|
+
### Fixed
|
|
130
|
+
- Bug fixes for edge cases in syllable splitting
|
|
131
|
+
- Improved handling of apostrophes in tokenization
|
|
132
|
+
- Fixed memory leaks in batch processing
|
|
133
|
+
- Corrected diacritic normalization for edge cases
|
|
134
|
+
|
|
135
|
+
## [0.2.0] - Planned
|
|
136
|
+
|
|
137
|
+
### Added
|
|
138
|
+
- **Machine Learning Integration**:
|
|
139
|
+
- Pre-trained models for POS tagging
|
|
140
|
+
- Named Entity Recognition (NER) for Afaan Oromoo
|
|
141
|
+
- Sentiment analysis models
|
|
142
|
+
- Text classification utilities
|
|
143
|
+
|
|
144
|
+
- **Advanced NLP Features**:
|
|
145
|
+
- Dependency parsing for Afaan Oromoo
|
|
146
|
+
- Coreference resolution
|
|
147
|
+
- Semantic similarity measurement
|
|
148
|
+
- Text summarization
|
|
149
|
+
|
|
150
|
+
- **Data Augmentation**:
|
|
151
|
+
- Text generation for Afaan Oromoo
|
|
152
|
+
- Synonym replacement
|
|
153
|
+
- Back-translation utilities
|
|
154
|
+
- Noise injection for robustness
|
|
155
|
+
|
|
156
|
+
- **Web Integration**:
|
|
157
|
+
- REST API server for Qubee NLP
|
|
158
|
+
- Web interface for text processing
|
|
159
|
+
- Batch processing web service
|
|
160
|
+
- Real-time text analysis
|
|
161
|
+
|
|
162
|
+
- **Dataset Support**:
|
|
163
|
+
- Standardized dataset formats
|
|
164
|
+
- Data loading utilities
|
|
165
|
+
- Dataset statistics and analysis
|
|
166
|
+
- Data validation tools
|
|
167
|
+
|
|
168
|
+
### Changed
|
|
169
|
+
- Major performance improvements for all modules
|
|
170
|
+
- API refinements based on user feedback
|
|
171
|
+
- Enhanced error handling and logging
|
|
172
|
+
- Improved documentation structure
|
|
173
|
+
|
|
174
|
+
## [0.3.0] - Planned
|
|
175
|
+
|
|
176
|
+
### Added
|
|
177
|
+
- **Deep Learning Models**:
|
|
178
|
+
- Transformer-based models for Afaan Oromoo
|
|
179
|
+
- BERT-style language models
|
|
180
|
+
- Sequence-to-sequence models
|
|
181
|
+
- Neural machine translation
|
|
182
|
+
|
|
183
|
+
- **Multilingual Support**:
|
|
184
|
+
- Cross-lingual transfer learning
|
|
185
|
+
- Code-switching detection
|
|
186
|
+
- Language identification
|
|
187
|
+
- Translation utilities
|
|
188
|
+
|
|
189
|
+
- **Speech Processing**:
|
|
190
|
+
- Text-to-speech for Afaan Oromoo
|
|
191
|
+
- Speech recognition models
|
|
192
|
+
- Phoneme alignment
|
|
193
|
+
- Pronunciation dictionaries
|
|
194
|
+
|
|
195
|
+
- **Enterprise Features**:
|
|
196
|
+
- Scalable deployment options
|
|
197
|
+
- Docker containers
|
|
198
|
+
- Kubernetes configurations
|
|
199
|
+
- Monitoring and logging
|
|
200
|
+
|
|
201
|
+
### Changed
|
|
202
|
+
- Complete API redesign for better extensibility
|
|
203
|
+
- Performance optimization for production use
|
|
204
|
+
- Enhanced security features
|
|
205
|
+
- Improved developer experience
|
|
206
|
+
|
|
207
|
+
## [0.4.0] - Planned
|
|
208
|
+
|
|
209
|
+
### Added
|
|
210
|
+
- **Advanced Analytics**:
|
|
211
|
+
- Text visualization tools
|
|
212
|
+
- Topic modeling for Afaan Oromoo
|
|
213
|
+
- Trend analysis
|
|
214
|
+
- Social media analytics
|
|
215
|
+
|
|
216
|
+
- **Mobile Support**:
|
|
217
|
+
- iOS and Android libraries
|
|
218
|
+
- Mobile-optimized models
|
|
219
|
+
- Offline processing capabilities
|
|
220
|
+
- Lightweight tokenization
|
|
221
|
+
|
|
222
|
+
- **Cloud Integration**:
|
|
223
|
+
- AWS, Google Cloud, Azure support
|
|
224
|
+
- Serverless deployment
|
|
225
|
+
- Auto-scaling capabilities
|
|
226
|
+
- Managed service options
|
|
227
|
+
|
|
228
|
+
- **Research Tools**:
|
|
229
|
+
- Experiment tracking
|
|
230
|
+
- Model comparison utilities
|
|
231
|
+
- Reproducibility tools
|
|
232
|
+
- Research paper examples
|
|
233
|
+
|
|
234
|
+
### Changed
|
|
235
|
+
- Major architectural improvements
|
|
236
|
+
- Complete test suite rewrite
|
|
237
|
+
- Enhanced documentation with tutorials
|
|
238
|
+
- Community-driven feature additions
|
|
239
|
+
|
|
240
|
+
## [0.5.0] - Planned
|
|
241
|
+
|
|
242
|
+
### Added
|
|
243
|
+
- **Production Ready**:
|
|
244
|
+
- Enterprise-grade reliability
|
|
245
|
+
- SLA guarantees
|
|
246
|
+
- 24/7 support infrastructure
|
|
247
|
+
- Professional services
|
|
248
|
+
|
|
249
|
+
- **Community Ecosystem**:
|
|
250
|
+
- Plugin system for extensions
|
|
251
|
+
- Community models repository
|
|
252
|
+
- Contribution guidelines
|
|
253
|
+
- Community support channels
|
|
254
|
+
|
|
255
|
+
- **Academic Integration**:
|
|
256
|
+
- Citation guidelines
|
|
257
|
+
- Research paper templates
|
|
258
|
+
- Conference workshop materials
|
|
259
|
+
- Academic collaboration tools
|
|
260
|
+
|
|
261
|
+
### Changed
|
|
262
|
+
- Final API stabilization
|
|
263
|
+
- Performance benchmarks published
|
|
264
|
+
- Comprehensive security audit
|
|
265
|
+
- Full accessibility compliance
|
|
266
|
+
|
|
267
|
+
## Deprecated
|
|
268
|
+
|
|
269
|
+
Nothing deprecated in initial release.
|
|
270
|
+
|
|
271
|
+
## Removed
|
|
272
|
+
|
|
273
|
+
Nothing removed in initial release.
|
|
274
|
+
|
|
275
|
+
## Security
|
|
276
|
+
|
|
277
|
+
### Version 0.1.0
|
|
278
|
+
- No known security vulnerabilities
|
|
279
|
+
- All dependencies are current and secure
|
|
280
|
+
- Input validation prevents injection attacks
|
|
281
|
+
- Safe handling of user-provided text
|
|
282
|
+
|
|
283
|
+
## Migration Guides
|
|
284
|
+
|
|
285
|
+
### From pre-release versions
|
|
286
|
+
This is the first official release. No migration needed.
|
|
287
|
+
|
|
288
|
+
### Future migration guides will be added here as needed.
|
|
289
|
+
|
|
290
|
+
## How to Read This Changelog
|
|
291
|
+
|
|
292
|
+
- **Added**: New features
|
|
293
|
+
- **Changed**: Changes in existing functionality
|
|
294
|
+
- **Deprecated**: Features that will be removed in future releases
|
|
295
|
+
- **Removed**: Features that were removed
|
|
296
|
+
- **Fixed**: Bug fixes
|
|
297
|
+
- **Security**: Security-related changes
|
|
298
|
+
|
|
299
|
+
## Versioning Scheme
|
|
300
|
+
|
|
301
|
+
This project uses [Semantic Versioning](http://semver.org/):
|
|
302
|
+
|
|
303
|
+
- **MAJOR** version (1.0.0): Incompatible API changes
|
|
304
|
+
- **MINOR** version (0.2.0): New functionality in a backward-compatible manner
|
|
305
|
+
- **PATCH** version (0.1.1): Backward-compatible bug fixes
|
|
306
|
+
|
|
307
|
+
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
|
|
308
|
+
|
|
309
|
+
## Release Frequency
|
|
310
|
+
|
|
311
|
+
- **Patch releases** (0.1.x): As needed for bug fixes
|
|
312
|
+
- **Minor releases** (0.x.0): Every 3-6 months with new features
|
|
313
|
+
- **Major releases** (x.0.0): When significant API changes are needed
|
|
314
|
+
|
|
315
|
+
## Support Policy
|
|
316
|
+
|
|
317
|
+
- Current version: Full support
|
|
318
|
+
- Previous minor version: Security fixes only
|
|
319
|
+
- Older versions: Community support only
|
|
320
|
+
|
|
321
|
+
## Contributing to the Changelog
|
|
322
|
+
|
|
323
|
+
When adding entries to the changelog, please follow these guidelines:
|
|
324
|
+
|
|
325
|
+
1. **One entry per change**: Each change should have its own entry
|
|
326
|
+
2. **Group by type**: Use the standard categories (Added, Changed, etc.)
|
|
327
|
+
3. **Link to issues**: Reference relevant issues or pull requests
|
|
328
|
+
4. **Be descriptive**: Explain what changed and why
|
|
329
|
+
5. **Use present tense**: "Add feature" not "Added feature"
|
|
330
|
+
6. **Include version numbers**: When referencing other versions
|
|
331
|
+
|
|
332
|
+
Example format:
|
|
333
|
+
```markdown
|
|
334
|
+
- **Module**: Brief description of change ([#123](https://github.com/yourusername/qubee-nlp/issues/123))
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
+
and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
contact@qubeenlp.org.
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
+
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
68
|
+
|
|
69
|
+
## Enforcement Guidelines
|
|
70
|
+
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
+
|
|
74
|
+
### 1. Correction
|
|
75
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
76
|
+
unprofessional or unwelcome in the community.
|
|
77
|
+
|
|
78
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
79
|
+
clarity around the nature of the violation and an explanation of why the
|
|
80
|
+
behavior was inappropriate. A public apology may be requested.
|
|
81
|
+
|
|
82
|
+
### 2. Warning
|
|
83
|
+
**Community Impact**: A violation through a single incident or series
|
|
84
|
+
of actions.
|
|
85
|
+
|
|
86
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
87
|
+
interaction with the people involved, including unsolicited interaction with
|
|
88
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
89
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
90
|
+
like social media. Violating these terms may lead to a temporary or
|
|
91
|
+
permanent ban.
|
|
92
|
+
|
|
93
|
+
### 3. Temporary Ban
|
|
94
|
+
**Community Impact**: A serious violation of community standards, including
|
|
95
|
+
sustained inappropriate behavior.
|
|
96
|
+
|
|
97
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
98
|
+
communication with the community for a specified period of time. No public or
|
|
99
|
+
private interaction with the people involved, including unsolicited interaction
|
|
100
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
101
|
+
Violating these terms may lead to a permanent ban.
|
|
102
|
+
|
|
103
|
+
### 4. Permanent Ban
|
|
104
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
105
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
106
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
107
|
+
|
|
108
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
109
|
+
the community.
|
|
110
|
+
|
|
111
|
+
## Attribution
|
|
112
|
+
|
|
113
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
114
|
+
version 2.0, available at
|
|
115
|
+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
116
|
+
|
|
117
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
118
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
|
119
|
+
|
|
120
|
+
[homepage]: https://www.contributor-covenant.org
|
|
121
|
+
|
|
122
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
123
|
+
https://www.contributor-covenant.org/faq. Translations are available at
|
|
124
|
+
https://www.contributor-covenant.org/translations.
|