<commit_before><commit_msg>Add main.go for Riemann publisher plugin<commit_after>package main

import (
	"os"

	"github.com/intelsdilabs/pulse/control/plugin"
	"github.com/intelsdilabs/pulse/plugin/publisher/pulse-publisher-riemann/riemann"
)

func main() {
	// Three things are provided:
	// - The definition of the plugin metadata
	// - The implementation satisfying plugin.PublisherPlugin
	// - The publisher config policy satisfying plugin.ConfigRules

	// Define metadata about the plugin
	meta := riemann.Meta()

	// Start a publisher
	plugin.Start(meta, riemann.NewRiemannPublisher(), os.Args(1))
}

{'fraction_non_alphanumeric': 0.11056105610561057, 'fraction_numerical': 0.0016501650165016502, 'mean_word_length': 4.371681415929204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '522271', 'n_tokens_mistral': 199, 'n_tokens_neox': 179, 'n_words': 46}