<commit_before>// Copyright 2013 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package repository

import (
	"time"
)

type MetaData struct {
	Language         string
	CreationDate     time.Time
	LastModifiedDate time.Time
	Tags             Tags
	ItemType         string
	Alias            string
	Author           string
	Locations        Locations
	GeoData          GeoInformation
}

func NewMetaData() MetaData {
	return MetaData{}
}

type GeoInformation struct {
	Street    string
	City      string
	Postcode  string
	Country   string
	Latitude  string
	Longitude string
	MapType   string
	Zoom      int
}

func NewGeoInformation() GeoInformation {
	return GeoInformation{}
}
<commit_msg>Meta Data Default: Set default values for the language, creationdate and last modified date. The language should come from the config at some point.<commit_after>// Copyright 2013 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package repository

import (
	"time"
)

type MetaData struct {
	Language         string
	CreationDate     time.Time
	LastModifiedDate time.Time
	Tags             Tags
	ItemType         string
	Alias            string
	Author           string
	Locations        Locations
	GeoData          GeoInformation
}

func NewMetaData() MetaData {

	now := time.Now()

	return MetaData{
		Language:         "en",
		CreationDate:     now,
		LastModifiedDate: now,
	}
}

type GeoInformation struct {
	Street    string
	City      string
	Postcode  string
	Country   string
	Latitude  string
	Longitude string
	MapType   string
	Zoom      int
}

func NewGeoInformation() GeoInformation {
	return GeoInformation{}
}

{'fraction_non_alphanumeric': 0.05078125, 'fraction_numerical': 0.004464285714285714, 'mean_word_length': 2.6222222222222222, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1269645', 'n_tokens_mistral': 518, 'n_tokens_neox': 494, 'n_words': 191}