Remove name sanitization constants in MDConcActor, MDConcPlace
This commit is contained in:
parent
840c24af71
commit
0132afbeff
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user