<commit_before>using LanguageApp.Classes;
using LanguageApp.Classes.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;

namespace LanguageApp.Pages
{
    public class WordPageCS : DisplayPage
    {
        private DisplayObject display;
        public WordPageCS(DisplayObject displayObject)
            :base(displayObject)
        {
            this.display = displayObject;
            Padding = new Thickness(0, 0, 0, 0);

            // Relative layout
            var relativeLayout = new RelativeLayout();
            
            // Sound button
            Button soundButton = new Button { };
            soundButton.Image = "ic_volume_up_black_24dp";
            soundButton.BackgroundColor = Color.White;
            // Mountain Banner
            var mountainBanner = new Image { };
            mountainBanner.Source = "ira_mountain.jpg";
            // Left Arrow
            var leftArrow = new Image { };
            leftArrow.Source = "ic_chevron_left_black_24dp.png";
            // Right Arrow
            var rightArrow = new Image { };
            rightArrow.Source = "ic_chevron_right_black_24dp.png";           
            
            // SHOULD BE TRANSLATED NOT ORIGINAL . SWITCH WITH OTHER LABEL. TRANSLATED ABOVE 
            Label translatedLabel = new WordLabel
            {
                Text = displayObject.translation,
                FontAttributes = FontAttributes.Bold,
                FontSize = Device.GetNamedSize(NamedSize.Large, typeof(WordLabel)),
                HorizontalOptions = LayoutOptions.Center
            };

            Label originalLabel = new WordLabel
            {
                Text = displayObject.original,
                FontAttributes = FontAttributes.Bold,
                FontSize = Device.GetNamedSize(NamedSize.Large, typeof(WordLabel)),
                HorizontalOptions = LayoutOptions.Center
            };

            //var wordSeparator = new BoxView
            //{
            //    Color = Color.Black,
            //    //VerticalOptions = LayoutOptions.,<commit_msg>Small Change to text colour<commit_after>using LanguageApp.Classes;
using LanguageApp.Classes.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;

namespace LanguageApp.Pages
{
    public class WordPageCS : DisplayPage
    {
        private DisplayObject display;
        public WordPageCS(DisplayObject displayObject)
            :base(displayObject)
        {
            this.display = displayObject;
            Padding = new Thickness(0, 0, 0, 0);

            // Relative layout
            var relativeLayout = new RelativeLayout();
            
            // Sound button
            Button soundButton = new Button { };
            soundButton.Image = "ic_volume_up_black_24dp";
            soundButton.BackgroundColor = Color.White;
            // Mountain Banner
            var mountainBanner = new Image { };
            mountainBanner.Source = "ira_mountain.jpg";
            // Left Arrow
            var leftArrow = new Image { };
            leftArrow.Source = "ic_chevron_left_black_24dp.png";
            // Right Arrow
            var rightArrow = new Image { };
            rightArrow.Source = "ic_chevron_right_black_24dp.png";           
            
            // SHOULD BE TRANSLATED NOT ORIGINAL . SWITCH WITH OTHER LABEL. TRANSLATED ABOVE 
            Label translatedLabel = new WordLabel
            {
                Text = displayObject.translation,
                TextColor = Color.Black,
                FontAttributes = FontAttributes.Bold,
                FontSize = Device.GetNamedSize(NamedSize.Large, typeof(WordLabel)),
                HorizontalOptions = LayoutOptions.Center
            };

            Label originalLabel = new WordLabel
            {
                Text = displayObject.original,
                TextColor = Color.Black,
                FontAttributes = FontAttributes.Bold,
                FontSize = Device.GetNamedSize(NamedSize.Large, typeof(WordLabel)),
                HorizontalOptions = LayoutOptions.Center
            };

            //var wordSeparator = new BoxView
            //{
            //    Color = Color.Black,
            //    //VerticalOptions = LayoutOptions.,
{'fraction_non_alphanumeric': 0.07548885857207822, 'fraction_numerical': 0.004547521600727604, 'mean_word_length': 1.7238390092879257, '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': '7148361', 'n_tokens_mistral': 1105, 'n_tokens_neox': 1050, 'n_words': 251}