<commit_before>﻿using CefSharp;
using TweetDuck.Core.Utils;

namespace TweetDuck.Core.Management{
    sealed class ContextInfo{
        public LinkInfo Link { get; private set; }
        public ChirpInfo Chirp { get; private set; }
        
        public ContextInfo(){
            Reset();
        }
        
        public void SetLink(string type, string url){
            Link = new LinkInfo(string.IsNullOrEmpty(type) ? null : type, url);
        }

        public void SetChirp(string tweetUrl, string quoteUrl, string chirpAuthors, string chirpImages){
            Chirp = new ChirpInfo(tweetUrl, quoteUrl, chirpAuthors, chirpImages);
        }

        public void Reset(){<commit_msg>Fix typo from refactoring breaking context menu for some links<commit_after>﻿using CefSharp;
using TweetDuck.Core.Utils;

namespace TweetDuck.Core.Management{
    sealed class ContextInfo{
        public LinkInfo Link { get; private set; }
        public ChirpInfo Chirp { get; private set; }
        
        public ContextInfo(){
            Reset();
        }
        
        public void SetLink(string type, string url){
            Link = new LinkInfo(string.IsNullOrEmpty(url) ? null : type, url);
        }

        public void SetChirp(string tweetUrl, string quoteUrl, string chirpAuthors, string chirpImages){
            Chirp = new ChirpInfo(tweetUrl, quoteUrl, chirpAuthors, chirpImages);
        }

        public void Reset(){
{'fraction_non_alphanumeric': 0.08217270194986072, 'fraction_numerical': 0.0, 'mean_word_length': 2.454326923076923, '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': '1981322', 'n_tokens_mistral': 419, 'n_tokens_neox': 402, 'n_words': 118}