mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-21 22:03: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
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install prio to running the process
|
||||
- name: Install prior to running the process
|
||||
run: |
|
||||
sudo apt install pandoc snapd -y
|
||||
sudo snap install drawio
|
||||
@ -28,7 +28,8 @@ jobs:
|
||||
with:
|
||||
version: 1.6.1
|
||||
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
|
||||
run: |
|
||||
cd documentations
|
||||
|
3
.github/workflows/maintenance.yaml
vendored
3
.github/workflows/maintenance.yaml
vendored
@ -35,7 +35,8 @@ jobs:
|
||||
- run: pre-commit autoupdate
|
||||
shell: bash
|
||||
|
||||
- uses: peter-evans/create-pull-request@v5
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
base: main
|
||||
|
@ -48,7 +48,7 @@ einer Anwendung wird nun in einer yml-Datei beschrieben, um die Verwaltung und d
|
||||
| | image | Angabe des zu verwendenden Images |
|
||||
| | restart | Option um Container erneut zu starten, falls dieser gestoppt wird |
|
||||
| | Environment | Umgebungsvariablen: Username und Passwort |
|
||||
| | Ports | Mapping des Containerports zum Port der Hostmaschine |
|
||||
| | Ports | Mapping des Containerports zum Port der Hostmaschine |
|
||||
| | Volumes | Angabe eines Volumes zum Persistieren der Containerdaten, damit nach einem Neustart die Daten wieder verfügbar sind |
|
||||
|
||||
Nun kann der Container mittels Docker-Compose gestartet werden.
|
||||
|
@ -34,7 +34,7 @@ class SentimentAnalysisService:
|
||||
PATH: Final[ # noqa: N806
|
||||
str
|
||||
] = "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):
|
||||
URL: Final[ # noqa: N806
|
||||
str
|
||||
|
@ -22,7 +22,7 @@ def test_ner_spacy() -> None:
|
||||
|
||||
def test_ner_company_list() -> None:
|
||||
"""Mock test_ner_company."""
|
||||
# Create instance of NerAnalysisService with use_use_companylist=True
|
||||
# Create instance of NerAnalysisService with use_companylist=True
|
||||
ner_service = NerAnalysisService(
|
||||
use_spacy=False, use_transformer=False, use_companylist=True
|
||||
)
|
||||
|
Reference in New Issue
Block a user