nlp - Are there any off-the-shelf solutions for lexical analysis in Haskell that allow for a run-time dynamic lexicon? -



nlp - Are there any off-the-shelf solutions for lexical analysis in Haskell that allow for a run-time dynamic lexicon? -

i'm working on little haskell project needs able lex little subset of strictly formed english language in tokens semantic parsing. it's naïve natural language interface scheme many different end effectors can issued commands. i'm using alex this, alex relies on lexicon statically compiled. nature of scheme such number , type of end effectors in world can increment decrease after compilation, , need able add together or remove viable tokens lexicon @ runtime.

i've tried looking around dynamic lexing solutions, , closest this dynamic lexer engine doesn't have been updated since 2000.

i've been considering techniques using less-high level approach (attoparsec, perhaps), or wiring recompilation hook alex , separating lexer rest of application.

are there well-known solutions sort of lexical analysis? intend on working through natural language processing working programmer can take less simplified approach, lexer need.

ctk equivalent of parsec lexing. supports adding new combinators dynamically.

haskell nlp lexical-analysis lexing alex

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -