mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 07:43:55 +02:00
Mixed typo fixes (#270)
This commit is contained in:
5
.github/workflows/documentation.yaml
vendored
5
.github/workflows/documentation.yaml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
name: Doc-Build
|
name: Doc-Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install prio to running the process
|
- name: Install prior to running the process
|
||||||
run: |
|
run: |
|
||||||
sudo apt install pandoc snapd -y
|
sudo apt install pandoc snapd -y
|
||||||
sudo snap install drawio
|
sudo snap install drawio
|
||||||
@ -28,7 +28,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 1.6.1
|
version: 1.6.1
|
||||||
virtualenvs-create: false
|
virtualenvs-create: false
|
||||||
- run: poetry install --with doc --all-extras --without test,lint
|
- name: Poetry install
|
||||||
|
run: poetry install --with doc --all-extras --without test,lint
|
||||||
- name: Doc-Build
|
- name: Doc-Build
|
||||||
run: |
|
run: |
|
||||||
cd documentations
|
cd documentations
|
||||||
|
3
.github/workflows/maintenance.yaml
vendored
3
.github/workflows/maintenance.yaml
vendored
@ -35,7 +35,8 @@ jobs:
|
|||||||
- run: pre-commit autoupdate
|
- run: pre-commit autoupdate
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: peter-evans/create-pull-request@v5
|
- name: Create pull request
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
base: main
|
base: main
|
||||||
|
@ -34,7 +34,7 @@ class SentimentAnalysisService:
|
|||||||
PATH: Final[ # noqa: N806
|
PATH: Final[ # noqa: N806
|
||||||
str
|
str
|
||||||
] = "src/aki_prj23_transparenzregister/utils/mongo/SentiWS/"
|
] = "src/aki_prj23_transparenzregister/utils/mongo/SentiWS/"
|
||||||
# check if vocabulary is existing, otehrwise download it
|
# check if vocabulary is existing, otherwise download it
|
||||||
if not os.path.exists(PATH):
|
if not os.path.exists(PATH):
|
||||||
URL: Final[ # noqa: N806
|
URL: Final[ # noqa: N806
|
||||||
str
|
str
|
||||||
|
@ -22,7 +22,7 @@ def test_ner_spacy() -> None:
|
|||||||
|
|
||||||
def test_ner_company_list() -> None:
|
def test_ner_company_list() -> None:
|
||||||
"""Mock test_ner_company."""
|
"""Mock test_ner_company."""
|
||||||
# Create instance of NerAnalysisService with use_use_companylist=True
|
# Create instance of NerAnalysisService with use_companylist=True
|
||||||
ner_service = NerAnalysisService(
|
ner_service = NerAnalysisService(
|
||||||
use_spacy=False, use_transformer=False, use_companylist=True
|
use_spacy=False, use_transformer=False, use_companylist=True
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user