<commit_before>{-# LANGUAGE FlexibleInstances    #-}
{-# LANGUAGE TypeSynonymInstances #-}

module Database.DSH.VSL
    ( module Database.DSH.VSL.Lang
    ) where

import           Database.DSH.VSL.Lang            (VSL)
import           Database.DSH.VSL.Opt.OptimizeVSL
import           Database.DSH.VSL.Vectorize
import           Database.DSH.Translate.Vectorize

instance VectorLang VSL where
    vectorize = vectorizeDelayed
    optimizeVectorPlan = optimizeVSLDefault<commit_msg>Export VSL language and class to backend packages.<commit_after>{-# LANGUAGE FlexibleInstances    #-}
{-# LANGUAGE TypeSynonymInstances #-}

module Database.DSH.VSL
    ( module Database.DSH.VSL.Lang
    , module Database.DSH.VSL.VirtualSegmentAlgebra
    , module Database.DSH.Common.VectorLang
    ) where

import           Database.DSH.Common.VectorLang
import           Database.DSH.Translate.Vectorize
import           Database.DSH.VSL.Lang                  (VSL)
import           Database.DSH.VSL.Opt.OptimizeVSL
import           Database.DSH.VSL.Vectorize
import           Database.DSH.VSL.VirtualSegmentAlgebra

instance VectorLang VSL where
    vectorize = vectorizeDelayed
    optimizeVectorPlan = optimizeVSLDefault
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.0, 'mean_word_length': 2.769470404984424, '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': '2937590', 'n_tokens_mistral': 380, 'n_tokens_neox': 370, 'n_words': 68}