<commit_before>name := "chalk"

version := "1.1.0-SNAPSHOT"

organization := "com.jasonbaldridge"

scalaVersion := "2.9.2"

crossPaths := false

retrieveManaged := true

resolvers ++= Seq(
  "opennlp sourceforge repo" at "http://opennlp.sourceforge.net/maven2"
)

resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"

// Original OpenNLP dependencies
libraryDependencies ++= Seq(
  "com.novocode" % "junit-interface" % "0.8" % "test->default",
  "jwnl" % "jwnl" % "1.3.3" % "compile",
  "org.osgi" % "org.osgi.core" % "4.2.0" % "provided",
  "org.osgi" % "org.osgi.compendium" % "4.2.0" % "provided",
  "org.apache.uima" % "uimaj-core" % "2.3.1" % "provided"
)

// New dependencies
libraryDependencies ++= Seq(
  "com.codecommit" % "anti-xml_2.9.1" % "0.3",
  "com.jasonbaldridge" % "nak" % "1.0-SNAPSHOT"
)

publishTo <<= version { v: String =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT"))
    Some("snapshots" at nexus + "content/repositories/snapshots")
  else
    Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
  <url>https://github.com/jasonbaldridge/chalk</url>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url><EMAIL>:jasonbaldridge/chalk.git</url>
    <connection>scm:git:<EMAIL>:jasonbaldridge/chalk.git</connection>
  </scm>
  <developers>
    <developer>
      <id>jasonbaldridge</id>
      <name><NAME></name>
      <url>http://www.jasonbaldridge.com</url>
    </developer>
  </developers>
)<commit_msg>#7. Add Nak 1.0 dependency.<commit_after>name := "chalk"

version := "1.1.0-SNAPSHOT"

organization := "com.jasonbaldridge"

scalaVersion := "2.9.2"

crossPaths := false

retrieveManaged := true

resolvers ++= Seq(
  "opennlp sourceforge repo" at "http://opennlp.sourceforge.net/maven2"
)

// Original OpenNLP dependencies
libraryDependencies ++= Seq(
  "com.novocode" % "junit-interface" % "0.8" % "test->default",
  "jwnl" % "jwnl" % "1.3.3" % "compile",
  "org.osgi" % "org.osgi.core" % "4.2.0" % "provided",
  "org.osgi" % "org.osgi.compendium" % "4.2.0" % "provided",
  "org.apache.uima" % "uimaj-core" % "2.3.1" % "provided"
)

// New dependencies
libraryDependencies ++= Seq(
  "com.codecommit" % "anti-xml_2.9.1" % "0.3",
  "com.jasonbaldridge" % "nak" % "1.0"
)

publishTo <<= version { v: String =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT"))
    Some("snapshots" at nexus + "content/repositories/snapshots")
  else
    Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
  <url>https://github.com/jasonbaldridge/chalk</url>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url><EMAIL>:jasonbaldridge/chalk.git</url>
    <connection>scm:git:<EMAIL>:jasonbaldridge/chalk.git</connection>
  </scm>
  <developers>
    <developer>
      <id>jasonbaldridge</id>
      <name><NAME></name>
      <url>http://www.jasonbaldridge.com</url>
    </developer>
  </developers>
)
{'fraction_non_alphanumeric': 0.19341917024320457, 'fraction_numerical': 0.019742489270386267, 'mean_word_length': 3.6863270777479893, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 71, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '3155096', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1390, 'n_words': 213}