<commit_before>package cc.factorie.example

import scala.collection.mutable.{ArrayBuffer,HashMap,HashSet,ListBuffer}
import scala.util.Sorting
import factorie.util.Implicits._

object WordSegmenterDemo { 

	// The variable types:
	class Label(b:Boolean, val token:Token) extends EnumVariable(b) 
	class Token(val char:Char, isWordStart:Boolean) extends VectorVariable[String] with VarInSeq[Token] {
		this += char.toString<commit_msg>Fix typo in import<commit_after>package cc.factorie.example

import scala.collection.mutable.{ArrayBuffer,HashMap,HashSet,ListBuffer}
import scala.util.Sorting
import cc.factorie.util.Implicits._

object WordSegmenterDemo { 

	// The variable types:
	class Label(b:Boolean, val token:Token) extends EnumVariable(b) 
	class Token(val char:Char, isWordStart:Boolean) extends VectorVariable[String] with VarInSeq[Token] {
		this += char.toString
{'fraction_non_alphanumeric': 0.09703196347031963, 'fraction_numerical': 0.0, 'mean_word_length': 6.626086956521739, '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': '2271326', 'n_tokens_mistral': 275, 'n_tokens_neox': 268, 'n_words': 60}