import type { Metadata } from 'next';

export const metadata: Metadata = {
  title: 'YouTube Comment Sentiment Analyzer | YTToolkits',
  description: 'Analyze YouTube comment sentiment in real time. Detect positive, negative, and neutral feedback patterns. Free AI comment sentiment analysis tool.',
  keywords: 'youtube comment sentiment analyzer, analyze youtube comments sentiment, youtube comment feedback analyzer, positive negative comments youtube, youtube audience sentiment tool, ai youtube comment analysis, analyze viewer reactions youtube, youtube sentiment scoring, detect toxic comments youtube, track community mood youtube, youtube comment polarity detector, youtube sentiment analysis tool free, emotional tone analysis youtube comments, youtube comment perception audit, measure audience reception youtube, youtube comment mood checker, analyze video reception youtube, understand youtube audience feedback, youtube comment emotions tracker, free youtube comment sentiment analyzer, youtube comment sentiment analyzer online, youtube comment sentiment analyzer for pc, youtube comment sentiment analyzer for mac, youtube comment sentiment analyzer for windows, youtube comment sentiment analyzer for linux, youtube comment sentiment analyzer for android, youtube comment sentiment analyzer for iphone, youtube comment sentiment analyzer for ipad, youtube comment sentiment analyzer for ios, youtube comment sentiment analyzer for chrome, youtube comment sentiment analyzer for firefox, youtube comment sentiment analyzer for edge, youtube comment sentiment analyzer for safari, youtube comment sentiment analyzer fast, youtube comment sentiment analyzer safe, youtube comment sentiment analyzer secure, youtube comment sentiment analyzer no ads, youtube comment sentiment analyzer no registration, youtube comment sentiment analyzer no watermark, best youtube comment sentiment analyzer, top youtube comment sentiment analyzer, free online youtube sentiment analyzer, youtube sentiment analyzer without software, yt comment sentiment analyzer, yt comment sentiment, yt sentiment audit, yt comment polarity, youtube comment sentiment analyzer app, youtube comment sentiment analyzer software, youtube comment sentiment analyzer extension, youtube comment sentiment analyzer plugin, youtube comment sentiment analyzer apk, youtube comment sentiment analyzer for windows 10, youtube comment sentiment analyzer for windows 11, youtube comment sentiment analyzer for mac free, youtube comment sentiment analyzer for linux free, youtube comment sentiment analyzer online free, youtube comment sentiment analyzer without ads, youtube comment sentiment analyzer without registration, youtube comment sentiment analyzer web, youtube comment sentiment analyzer website, youtube comment sentiment analyzer site, youtube comment sentiment analyzer tool, youtube comment sentiment analyzer service, youtube comment sentiment analyzer application, youtube comment sentiment analyzer for browser, youtube comment sentiment analyzer for chrome extension, youtube comment sentiment analyzer for android apk, youtube comment sentiment analyzer for ios app, youtube comment sentiment analyzer for iphone app, youtube comment sentiment analyzer for ipad app, youtube comment sentiment analyzer fast and free, youtube comment sentiment analyzer safe and free, youtube comment sentiment analyzer secure and free, youtube comment sentiment analyzer no ads and free, youtube comment sentiment analyzer no registration and free, youtube comment sentiment analyzer safe and secure, youtube comment sentiment analyzer safe and no ads, youtube comment sentiment analyzer safe and no registration, youtube comment sentiment analyzer online and safe, youtube comment sentiment analyzer for pc and safe, youtube comment sentiment analyzer for mac and safe, youtube comment sentiment analyzer for android and safe, youtube comment sentiment analyzer for iphone and safe, youtube comment sentiment analyzer online free no registration, youtube comment sentiment analyzer online free no ads, youtube comment sentiment analyzer online free fast, youtube comment sentiment analyzer online free safe, youtube comment sentiment analyzer 2026, analyze youtube comments sentiment 2026, youtube comment feedback analyzer 2026, youtube comment sentiment analyzer online 2026, free youtube comment sentiment analyzer 2026, best youtube comment sentiment analyzer 2026, youtube comment sentiment analyzer for pc 2026, youtube comment sentiment analyzer for android 2026, youtube comment sentiment analyzer for iphone 2026, youtube comment sentiment analyzer no ads 2026, youtube comment sentiment analyzer safe 2026, youtube comment sentiment analyzer fast 2026, yt comment sentiment analyzer 2026, youtube comment sentiment analyzer app 2026, youtube comment sentiment analyzer software 2026, youtube comment sentiment analyzer extension 2026, youtube comment sentiment analyzer apk 2026, youtube comment sentiment analyzer for windows 2026, youtube comment sentiment analyzer for mac 2026, youtube comment sentiment analyzer 2027, analyze youtube comments sentiment 2027, youtube comment feedback analyzer 2027, youtube comment sentiment analyzer online 2027, free youtube comment sentiment analyzer 2027, best youtube comment sentiment analyzer 2027, youtube comment sentiment analyzer for pc 2027, youtube comment sentiment analyzer for android 2027, youtube comment sentiment analyzer for iphone 2027, youtube comment sentiment analyzer no ads 2027, youtube comment sentiment analyzer safe 2027, youtube comment sentiment analyzer fast 2027, yt comment sentiment analyzer 2027, youtube comment sentiment analyzer app 2027, youtube comment sentiment analyzer software 2027, youtube comment sentiment analyzer extension 2027, youtube comment sentiment analyzer apk 2027, youtube comment sentiment analyzer for windows 2027, youtube comment sentiment analyzer for mac 2027, youtube comment sentiment analyzer 2028, analyze youtube comments sentiment 2028, youtube comment feedback analyzer 2028, youtube comment sentiment analyzer online 2028, free youtube comment sentiment analyzer 2028, best youtube comment sentiment analyzer 2028, youtube comment sentiment analyzer for pc 2028, youtube comment sentiment analyzer for android 2028, youtube comment sentiment analyzer for iphone 2028, youtube comment sentiment analyzer no ads 2028, youtube comment sentiment analyzer safe 2028, youtube comment sentiment analyzer fast 2028, yt comment sentiment analyzer 2028, youtube comment sentiment analyzer app 2028, youtube comment sentiment analyzer software 2028, youtube comment sentiment analyzer extension 2028, youtube comment sentiment analyzer apk 2028, youtube comment sentiment analyzer for windows 2028, youtube comment sentiment analyzer for mac 2028, youtube comment sentiment analyzer 2029, analyze youtube comments sentiment 2029, youtube comment feedback analyzer 2029, youtube comment sentiment analyzer online 2029, free youtube comment sentiment analyzer 2029, best youtube comment sentiment analyzer 2029, youtube comment sentiment analyzer for pc 2029, youtube comment sentiment analyzer for android 2029, youtube comment sentiment analyzer for iphone 2029, youtube comment sentiment analyzer no ads 2029, youtube comment sentiment analyzer safe 2029, youtube comment sentiment analyzer fast 2029, yt comment sentiment analyzer 2029, youtube comment sentiment analyzer app 2029, youtube comment sentiment analyzer software 2029, youtube comment sentiment analyzer extension 2029, youtube comment sentiment analyzer apk 2029, youtube comment sentiment analyzer for windows 2029, youtube comment sentiment analyzer for mac 2029, youtube comment sentiment analyzer 2030, analyze youtube comments sentiment 2030, youtube comment feedback analyzer 2030, youtube comment sentiment analyzer online 2030, free youtube comment sentiment analyzer 2030, best youtube comment sentiment analyzer 2030, youtube comment sentiment analyzer for pc 2030, youtube comment sentiment analyzer for android 2030, youtube comment sentiment analyzer for iphone 2030, youtube comment sentiment analyzer no ads 2030, youtube comment sentiment analyzer safe 2030, youtube comment sentiment analyzer fast 2030, yt comment sentiment analyzer 2030, youtube comment sentiment analyzer app 2030, youtube comment sentiment analyzer software 2030, youtube comment sentiment analyzer extension 2030, youtube comment sentiment analyzer apk 2030, youtube comment sentiment analyzer for windows 2030, youtube comment sentiment analyzer for mac 2030, youtube comment sentiment analyzer 2031, analyze youtube comments sentiment 2031, youtube comment sentiment analyzer online 2031, free youtube comment sentiment analyzer 2031, best youtube comment sentiment analyzer 2031, youtube comment sentiment analyzer for pc 2031, youtube comment sentiment analyzer for android 2031, youtube comment sentiment analyzer for iphone 2031, yt comment sentiment analyzer 2031, youtube comment sentiment analyzer 2032, analyze youtube comments sentiment 2032, youtube comment sentiment analyzer online 2032, free youtube comment sentiment analyzer 2032, best youtube comment sentiment analyzer 2032, youtube comment sentiment analyzer for pc 2032, youtube comment sentiment analyzer for android 2032, youtube comment sentiment analyzer for iphone 2032, yt comment sentiment analyzer 2032, youtube comment sentiment analyzer 2033, analyze youtube comments sentiment 2033, youtube comment sentiment analyzer online 2033, free youtube comment sentiment analyzer 2033, best youtube comment sentiment analyzer 2033, youtube comment sentiment analyzer for pc 2033, youtube comment sentiment analyzer for android 2033, youtube comment sentiment analyzer for iphone 2033, yt comment sentiment analyzer 2033, youtube comment sentiment analyzer 2034, analyze youtube comments sentiment 2034, youtube comment sentiment analyzer online 2034, free youtube comment sentiment analyzer 2034, best youtube comment sentiment analyzer 2034, youtube comment sentiment analyzer for pc 2034, youtube comment sentiment analyzer for android 2034, youtube comment sentiment analyzer for iphone 2034, yt comment sentiment analyzer 2034, youtube comment sentiment analyzer 2035, analyze youtube comments sentiment 2035, youtube comment sentiment analyzer online 2035, free youtube comment sentiment analyzer 2035, best youtube comment sentiment analyzer 2035, youtube comment sentiment analyzer for pc 2035, youtube comment sentiment analyzer for android 2035, youtube comment sentiment analyzer for iphone 2035, yt comment sentiment analyzer 2035, youtube comment sentiment analyzer 2026 and beyond, youtube comment sentiment analyzer 2027 and beyond, youtube comment sentiment analyzer 2028 and beyond, youtube comment sentiment analyzer 2029 and beyond, youtube comment sentiment analyzer 2030 and beyond, youtube comment sentiment analyzer 2026-2030, youtube comment sentiment analyzer 2026-2035, youtube comment sentiment analyzer upcoming years, youtube comment sentiment analyzer future years, youtube comment sentiment analyzer next year, youtube comment sentiment analyzer latest version 2026, youtube comment sentiment analyzer latest version 2027, youtube comment sentiment analyzer latest version 2028, youtube comment sentiment analyzer latest version 2029, youtube comment sentiment analyzer latest version 2030, youtube comment sentiment analyzer updated 2026, youtube comment sentiment analyzer updated 2027, youtube comment sentiment analyzer updated 2028, youtube comment sentiment analyzer updated 2029, youtube comment sentiment analyzer updated 2030, youtube comment sentiment analyzer new 2026, youtube comment sentiment analyzer new 2027, youtube comment sentiment analyzer new 2028, youtube comment sentiment analyzer new 2029, youtube comment sentiment analyzer new 2030',
  openGraph: {
    title: 'YouTube Comment Sentiment Analyzer | YTToolkits',
    description: 'Analyze YouTube comment sentiment in real time. Detect positive, negative, and neutral feedback patterns. Free AI comment sentiment analysis tool.',
    url: 'https://yttoolkits.site/comment-sentiment',
    siteName: 'YTToolkits',
    locale: 'en_US',
    type: 'website',
  },
  twitter: {
    card: 'summary_large_image',
    title: 'YouTube Comment Sentiment Analyzer | YTToolkits',
    description: 'Analyze YouTube comment sentiment in real time. Detect positive, negative, and neutral feedback patterns. Free AI comment sentiment analysis tool.',
  },
  alternates: {
    canonical: 'https://yttoolkits.site/comment-sentiment',
  },
};

export default function Layout({ children }: { children: React.ReactNode }) {
  const schemaOrg = {
    '@context': 'https://schema.org',
    '@graph': [
      {
        '@type': 'SoftwareApplication',
        name: 'YTToolkits YouTube Comment Sentiment Analyzer',
        operatingSystem: 'All',
        applicationCategory: 'UtilitiesApplication',
        offers: {
          '@type': 'Offer',
          price: '0',
          priceCurrency: 'USD',
        },
        aggregateRating: {
          '@type': 'AggregateRating',
          ratingValue: '4.9',
          ratingCount: '980',
        },
        description: 'Free online tool to parse and evaluate sentiment distributions (positive, negative, neutral) in YouTube video comments.',
      },
      {
        '@type': 'HowTo',
        name: 'How to Analyze YouTube Comment Sentiment',
        step: [
          {
            '@type': 'HowToStep',
            name: 'Copy Video Link',
            text: 'Copy the URL of any public YouTube video you want to examine.',
          },
          {
            '@type': 'HowToStep',
            name: 'Paste URL',
            text: 'Paste the video URL into the Comment Sentiment Analyzer input box.',
          },
          {
            '@type': 'HowToStep',
            name: 'Extract and Process Feedback',
            text: 'Click Analyze Comments to parse viewer feedback through natural language processing models.',
          },
          {
            '@type': 'HowToStep',
            name: 'Review Sentiment Breakdown',
            text: 'Inspect the percentage breakdown of positive, neutral, and critical sentiment alongside emotional trend highlights.',
          },
        ],
      },
      {
        '@type': 'FAQPage',
        mainEntity: [
          {
            '@type': 'Question',
            name: 'How does the YouTube Comment Sentiment Analyzer work?',
            acceptedAnswer: {
              '@type': 'Answer',
              text: 'Our tool extracts viewer comments and analyzes grammatical structure, word choice, emojis, and polarity markers to determine whether sentiments are enthusiastic, satisfied, neutral, disappointed, or frustrated.',
            },
          },
          {
            '@type': 'Question',
            name: 'Why should creators monitor comment sentiment?',
            acceptedAnswer: {
              '@type': 'Answer',
              text: 'Sentiment monitoring reveals whether video pacing, audio quality, sponsorships, or topic choices pleased or alienated viewers, guiding future content strategy.',
            },
          },
          {
            '@type': 'Question',
            name: 'Can this tool detect sarcasm in YouTube comments?',
            acceptedAnswer: {
              '@type': 'Answer',
              text: 'Yes, modern NLP classification considers context and emoji markers to effectively distinguish genuine compliments from ironic criticism.',
            },
          },
        ],
      },
      {
        '@type': 'BreadcrumbList',
        itemListElement: [
          { '@type': 'ListItem', position: 1, name: 'Home', item: 'https://yttoolkits.site' },
          { '@type': 'ListItem', position: 2, name: 'Tools', item: 'https://yttoolkits.site/tools' },
          { '@type': 'ListItem', position: 3, name: 'Comment Sentiment Analyzer', item: 'https://yttoolkits.site/comment-sentiment' },
        ],
      },
    ],
  };

  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaOrg) }}
      />
      {children}
    </>
  );
}
