<commit_before>name := "geocss"

libraryDependencies <++= gtVersion { v =>
  Seq(
    "org.geotools" % "gt-main" % v,
    "org.geotools" % "gt-cql" % v
  )
}

libraryDependencies +=
  "org.specs2" %% "specs2" % "1.7.1" % "test"

initialCommands += """
import org.geoscript.geocss._
import collection.JavaConversions._
val kb = dwins.logic.Knowledge.Oblivion(SelectorsAreSentential)
def in(path: String) = new java.io.FileReader(new java.io.File(path))
def load(path: String) = CssParser.parseAll(CssParser.styleSheet, in(path)).get
val tx = new Translator()
"""
<commit_msg>Fix up console preamble for geocss module<commit_after>name := "geocss"

libraryDependencies <++= gtVersion { v =>
  Seq(
    "org.geotools" % "gt-main" % v,
    "org.geotools" % "gt-cql" % v
  )
}

libraryDependencies +=
  "org.specs2" %% "specs2" % "1.7.1" % "test"

initialCommands += """
import org.{ geotools => gt }
import org.opengis.{ filter => ogc }
import org.geoscript._
import gt.filter.text.ecql.ECQL.{ toFilter => cql }
import geocss.filter.FiltersAreSentential
import support.logic.Sentential, support.logic.Knowledge.Oblivion
def reduce[P : Sentential](p: P) = Oblivion[P].reduce(p)
def in(path: String) = new java.io.FileReader(new java.io.File(path))
def load(path: String) = 
  geocss.CssParser.parseAll(
    geocss.CssParser.styleSheet, in(path)
  ).get
val tx = new geocss.Translator()
"""

{'fraction_non_alphanumeric': 0.16462093862815885, 'fraction_numerical': 0.007220216606498195, 'mean_word_length': 4.435294117647059, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '7413586', 'n_tokens_mistral': 556, 'n_tokens_neox': 540, 'n_words': 105}