<commit_before>package ass.test;
import util.TextExtents;
import ass.object.Line;
import ass.object.Style;

public class FontExtentTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Style style = new Style("Style: Default,,30,&H0BFFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1");
		Line line = new Line("Dialogue: 0,0:00:00.00,0:00:05.00,Default,,0,0,0,fx,30 30.015625");
		
		// size infomation seems wrong
		TextExtents textExtents = new TextExtents("", style);<commit_msg>try space test with fullwidth<commit_after>package ass.test;
import util.TextExtents;
import ass.object.Line;
import ass.object.Style;

public class FontExtentTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Style style = new Style("Style: Default2,仿宋,30,&H0BFFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,0,0,5,0,0,10,1");
		Line line = new Line("Dialogue: 0,0:00:00.00,0:00:05.00,Default2,,0,0,0,,舸123");
		
		// size infomation seems wrong
		TextExtents textExtents = new TextExtents("　12", style);
		System.out.println(line.text);
{'fraction_non_alphanumeric': 0.1627318718381113, 'fraction_numerical': 0.1239460370994941, 'mean_word_length': 5.381720430107527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, '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': '5205147', 'n_tokens_mistral': 543, 'n_tokens_neox': 443, 'n_words': 88}