The choice of libraries will depend on the programming language you use to implement the language server. If you choose to use Python, ANTLR is a widely used and well-liked option.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence