Remove name sanitization constants in MDConcActor, MDConcPlace

This commit is contained in:
Joshua Ramon Enslin 2023-11-26 00:55:20 +01:00
parent 840c24af71
commit 0132afbeff
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 0 additions and 23 deletions

View File

@ -11,17 +11,6 @@ declare(strict_types = 1);
*/
final class MDConcActor implements MDImporterConcordanceListInterface {
/**
* Substrings of an actor name listed as a key in this array will be replaced
* by the corresponding value.
*/
const NAME_SANITIZATIONS = [
"mythologische Figur" => "Mythologie",
"Mythologische Figur" => "Mythologie",
"Mythologische Gestalt" => "Mythologie",
"()" => "",
];
private const ACTOR_ROLES_TO_EVENT_TYPE = [
// 1: Created

View File

@ -11,18 +11,6 @@ declare(strict_types = 1);
*/
final class MDConcPlace implements MDImporterConcordanceListInterface {
/**
* Substrings of an place name listed as a key in this array will be replaced
* by the corresponding value.
*/
const NAME_SANITIZATIONS = [
" - " => "-",
"unbekannt" => "",
"Unbekannt" => "",
"unknown" => "",
"Unknown" => "",
];
private const PLACE_ROLES_TO_EVENT_TYPE = [
// 22: Related place