Formatron v0.4.2
Formatron empowers everyone to control the output format of language models with minimal overhead.
Loading...
Searching...
No Matches
formatron.extractor Namespace Reference

Extractors for extracting data from generated strings. More...

Classes

class  ChoiceExtractor
 An extractor that uses multiple extractors to extract data. More...
 
class  Extractor
 An abstract extractor that extracts data from a string and offers its KBNF rules definition. More...
 
class  LiteralExtractor
 An extractor that extracts a literal string. More...
 
class  NonterminalExtractor
 An extractor that extracts data corresponding to a nonterminal. More...
 
class  SubstringExtractor
 An extractor that extracts a substring of a given string from the input string. More...
 

Detailed Description

Extractors for extracting data from generated strings.