<commit_before>package groupme

type gmMessage struct {
	GID         string   `json:"group_id"`
	Name        string   `json:"name"`
	MID         string   `json:"id"`
	UID         string   `json:"user_id"`
	MessageText string   `json:"text"`
	SenderType  string   `json:"sender_type"`
	FavoritedBy []string `json:"favorited_by"`
}

func (m gmMessage) GroupID() string {
	return m.GID
}

func (m gmMessage) UserName() string {
	return m.Name
}

func (m gmMessage) UserID() string {
	return m.UID
}

func (m gmMessage) MessageID() string {
	return m.MID
}

func (m gmMessage) Text() string {
	return m.MessageText
}

func (m gmMessage) UserType() string {
	return m.SenderType
}<commit_msg>Fix webs use of non-breaking spaces<commit_after>package groupme

import "strings"

type gmMessage struct {
	GID         string   `json:"group_id"`
	Name        string   `json:"name"`
	MID         string   `json:"id"`
	UID         string   `json:"user_id"`
	MessageText string   `json:"text"`
	SenderType  string   `json:"sender_type"`
	FavoritedBy []string `json:"favorited_by"`
}

func (m gmMessage) GroupID() string {
	return m.GID
}

func (m gmMessage) UserName() string {
	return m.Name
}

func (m gmMessage) UserID() string {
	return m.UID
}

func (m gmMessage) MessageID() string {
	return m.MID
}

func (m gmMessage) Text() string {
	filtered := strings.Replace(m.MessageText, "\xC2\xA0", " ", -1)
	return filtered
}

func (m gmMessage) UserType() string {
	return m.SenderType
}
{'fraction_non_alphanumeric': 0.12618724559023067, 'fraction_numerical': 0.0020352781546811396, 'mean_word_length': 3.552469135802469, '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': '5189493', 'n_tokens_mistral': 533, 'n_tokens_neox': 530, 'n_words': 147}