Skip to content

feat: add PT-BR support for AAAK #117

@MorningloryFox

Description

@MorningloryFox

What problem does this solve?
Currently, the AAAK (Always-Available Asking Knowledge) extraction and entity detection are optimized for English. To make MemPalace accessible and effective for the Brazilian community, it needs to correctly identify patterns and entities in Portuguese (PT-BR) without losing accuracy in the memory hierarchy (Wings/Halls/Rooms).

What's the proposed solution?
I propose adding PT-BR localization support for AAAK. This includes:
Updating entity_detector.py or equivalent modules to recognize PT-BR patterns.
Ensuring the "Verbatim First" principle is maintained by storing exact Portuguese terms.
Keeping the implementation "Zero API by default" and "Local first", running entirely on the user's machine.
Adding specific test cases in tests/ for Portuguese inputs to ensure no regressions in retrieval (aiming to maintain the 34% improvement driven by the Palace structure).

Alternatives considered:
Using external translation APIs (rejected as it violates the "Zero API" and "Local first" principles).
Manual tagging (less efficient than improving the automated detector).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions