From 68d7b3b3e15905548d64fb6d7fe53c1186d86d60 Mon Sep 17 00:00:00 2001 From: Debela Gemechu Date: Fri, 10 Jan 2025 09:59:15 +0000 Subject: [PATCH] added metadata file --- config/metadata.yaml | 22 ++++++++++++++++++++++ main.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 config/metadata.yaml diff --git a/config/metadata.yaml b/config/metadata.yaml new file mode 100644 index 0000000..44ce656 --- /dev/null +++ b/config/metadata.yaml @@ -0,0 +1,22 @@ +# General module information +Name: "Segmenter" # Name of the module +description: "segmenter" +Date: "2024-10-01" # Creation or last update date +Originator: "Debela" # Creator or author of the module +License: "MIT" # License type for this module + +# Task type and categorization +AMF_Tag: segmenter # This acts as the task type for the module + +# Additional metadata +Domain: "Momolog and Dialog" # Domain this module operates in +Training Data: "None" # Reference to the training data used +Citation: "None" # Reference or citation for this module + +# Variants of the module +Variants: # List of variants available for this task + - default # Example variant (e.g., a lightweight version) + +# Input and output definitions +Requires: text # Input required by this module +Outputs: segments # Output produced by this module diff --git a/main.py b/main.py index c5e7a8f..ecfb58c 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ def segmenter_defult(): with open('README.md', 'r') as file: md_content = file.read() - # Convert to HTML + # Convert to HTMLgi html_content = markdown2.markdown(md_content) # Add CSS link