Skip to content

Commit

Permalink
feat: add geotagging to the NER option
Browse files Browse the repository at this point in the history
Fixes #174
  • Loading branch information
arildm committed Nov 19, 2024
1 parent 14f377f commit e80d15b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ As this project is a user-facing application, the places in the semantic version

## [Unreleased]

### Added

- Add geotagging to the NER option [#174](https://github.com/spraakbanken/mink-frontend/issues/174)

### Fixed

- Accessibility improvements (contrast, alt attributes, keyboard navigation, etc)
Expand Down
1 change: 1 addition & 0 deletions src/api/corpusConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export function makeConfig(id: string, options: ConfigOptions): string {
"swener.ne:swener.ex",
"swener.ne:swener.type",
"swener.ne:swener.subtype",
"<sentence>:geo.geo_context as _geocontext",
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/i18n/locales/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ timespan_from: From
timespan_to: To
edit: Edit
annotations: Annotations
annotations.ner: Named entity recognition
annotations.ner.help: Named entity recognition (NER) finds individuals, places, dates and more in your texts. However, it significantly slows down processing.
annotations.ner: Named entity recognition and geotagging
annotations.ner.help: Named entity recognition (NER) finds individuals, places, dates and more in your texts. However, it significantly slows down processing. Enabling NER also enables geotagging and, in turn, the map feature in Korp.
annotations.info: |
<p>
We are working on making it possible to choose among more methods, annotations and models to be used in the analysis.
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/locales/sv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ timespan_from: Från
timespan_to: Till
edit: Redigera
annotations: Annotationer
annotations.ner: Namngivna entiteter
annotations.ner.help: Namngivna entitetsigenkänning (named entity recognition, NER) hittar personer, platser, datum och liknande i dina texter. Däremot tar analysen ganska lång tid.
annotations.ner: Namngivna entiteter och geotaggning
annotations.ner.help: Namngivna entitetsigenkänning (named entity recognition, NER) hittar personer, platser, datum och liknande i dina texter. Däremot tar analysen ganska lång tid. När NER är aktiverat görs även geotaggning, vilket aktiverar kartfunktionen i Korp.
annotations.info: |
<p>
Vi jobbar på möjligheten att välja bland fler analysmetoder, annotationer och modeller.
Expand Down

0 comments on commit e80d15b

Please sign in to comment.