Skip to content

Abbrev stage should respect language detection from Cortex #34

@liwarf

Description

@liwarf

The Abbrev stage abbreviates natural language text ("information" -> "info", "configuration" -> "config"). But when Cortex detects the content as code, Abbrev should not run — abbreviating variable names like "configuration_manager" to "config_manager" changes semantics.

Currently Abbrev checks content length but not the Cortex content type hint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions