mindmeld.converter.code_generator module

class mindmeld.converter.code_generator.CodeGenerator[source]

Bases: object

This class contains primitive python functions to generate python code

begin(tab='\t')[source]
dedent()[source]
end()[source]
indent()[source]
write(string, new_lines=1)[source]
class mindmeld.converter.code_generator.MindmeldCodeGenerator[source]

Bases: mindmeld.converter.code_generator.CodeGenerator

This class generates MindMeld-specific python code blocks

generate_follow_up(intent, entity, role, replies)[source]
generate_followup_function_code_block(handle, function_name, intent_entity_role_replies, final_templates)[source]
generate_function(handle, function_name, replies)[source]
generate_handle(params)[source]
generate_header(function_name)[source]
generate_top_block()[source]