WME PLN Module - Categories Handler

Módulo de categorías para WME Place Normalizer. No funciona por sí solo.

بۇ قوليازمىنى بىۋاسىتە قاچىلاشقا بولمايدۇ. بۇ باشقا قوليازمىلارنىڭ ئىشلىتىشى ئۈچۈن تەمىنلەنگەن ئامبار بولۇپ، ئىشلىتىش ئۈچۈن مېتا كۆرسەتمىسىگە قىستۇرىدىغان كود: // @require https://update.greatest.deepsurf.us/scripts/548860/1657864/WME%20PLN%20Module%20-%20Categories%20Handler.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ئاپتورى
Mauricio Otálvaro Ospina
نەشرى
9.0.0
قۇرۇلغان ۋاقتى
2025-09-08
يېڭىلانغان ۋاقتى
2025-09-09
Size
41.5 KB
ئىجازەتنامىسى
MIT

### Propósito

Este script es un módulo de librería para el **WME Place Normalizer**. Centraliza toda la lógica relacionada con la gestión de categorías de lugares. Sus responsabilidades incluyen:
* Cargar dinámicamente las reglas de categorías desde una hoja de cálculo de Google Sheets.
* Analizar el nombre de un lugar para encontrar la categoría más apropiada según las reglas definidas.
* Crear la interfaz de usuario (un menú desplegable) que permite al editor seleccionar una categoría recomendada.

---
### Módulo de

* **[WME Places Name Normalizer (Script Principal)](https://greatest.deepsurf.us/es/scripts/530268-wme-places-name-normalizer)**

---
### Uso

Esta librería no está diseñada para ser instalada directamente. Es invocada a través de la directiva `@require` por el script principal `WME_PLN_main.user.js`.

---
### Funciones Principales

* `loadDynamicCategoriesFromSheet()`: Carga y cachea las reglas de categorización desde Google Sheets.
* `findCategoryForPlace()`: Determina la categoría más relevante para un lugar específico.
* `createRecommendedCategoryDropdown()`: Construye el menú desplegable interactivo para la selección de categorías.

---
**Versión de Arquitectura:** 9.0.0 (Modular)