Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -307,7 +307,7 @@ elif selected_page == "πŸ”„ Lifecycle of NLP":
307
  elif selected_page == "βš™οΈ NLP Techniques":
308
  st.header("βš™οΈ NLP Techniques")
309
  if selected_subpoint:
310
- if selected_subpoint == "Tokenization":
311
  st.write("""
312
  Breaking down text into smaller units such as words or sentences to make it manageable for analysis.
313
  **Example:**
@@ -315,7 +315,7 @@ elif selected_page == "βš™οΈ NLP Techniques":
315
  - Word Tokens: `["Artificial", "Intelligence", "is", "fascinating", "."]`
316
  - Sentence Tokens: `["Artificial Intelligence is fascinating."]`
317
  """)
318
- elif selected_subpoint == "Stemming":
319
  st.write("### 🌱 Stemming")
320
  st.write("""
321
  Stemming reduces words to their root form by removing prefixes or suffixes, often resulting in a non-grammatical base.
@@ -530,7 +530,7 @@ elif selected_page == "βš™οΈ NLP Techniques":
530
  ```
531
  """)
532
 
533
- elif selected_subpoint == "Part-of-Speech (POS) Tagging":
534
  st.write("### πŸ–‡οΈ Part-of-Speech (POS) Tagging")
535
  st.write("""
536
  Assigning grammatical labels to each word in a sentence, indicating its role in context.
@@ -539,7 +539,7 @@ elif selected_page == "βš™οΈ NLP Techniques":
539
  - Output: `["Birds (NOUN)", "fly (VERB)", "high (ADJ)"]`
540
  """)
541
 
542
- elif selected_subpoint == "Named Entity Recognition (NER)":
543
  st.write("### 🌍 Named Entity Recognition (NER)")
544
  st.write("""
545
  Detecting and categorizing entities like names, dates, and locations from text.
@@ -548,7 +548,7 @@ elif selected_page == "βš™οΈ NLP Techniques":
548
  - Output: `["Tesla (ORGANIZATION)", "Elon Musk (PERSON)", "California (LOCATION)"]`
549
  """)
550
 
551
- elif selected_subpoint == "Sentiment Analysis":
552
  st.write("### 🎭 Sentiment Analysis")
553
  st.write("""
554
  Classifying the emotional tone of a text into categories such as positive, negative, or neutral.
 
307
  elif selected_page == "βš™οΈ NLP Techniques":
308
  st.header("βš™οΈ NLP Techniques")
309
  if selected_subpoint:
310
+ if selected_subpoint == " Tokenization":
311
  st.write("""
312
  Breaking down text into smaller units such as words or sentences to make it manageable for analysis.
313
  **Example:**
 
315
  - Word Tokens: `["Artificial", "Intelligence", "is", "fascinating", "."]`
316
  - Sentence Tokens: `["Artificial Intelligence is fascinating."]`
317
  """)
318
+ elif selected_subpoint == " Stemming":
319
  st.write("### 🌱 Stemming")
320
  st.write("""
321
  Stemming reduces words to their root form by removing prefixes or suffixes, often resulting in a non-grammatical base.
 
530
  ```
531
  """)
532
 
533
+ elif selected_subpoint == " Part-of-Speech (POS) Tagging":
534
  st.write("### πŸ–‡οΈ Part-of-Speech (POS) Tagging")
535
  st.write("""
536
  Assigning grammatical labels to each word in a sentence, indicating its role in context.
 
539
  - Output: `["Birds (NOUN)", "fly (VERB)", "high (ADJ)"]`
540
  """)
541
 
542
+ elif selected_subpoint == " Named Entity Recognition (NER)":
543
  st.write("### 🌍 Named Entity Recognition (NER)")
544
  st.write("""
545
  Detecting and categorizing entities like names, dates, and locations from text.
 
548
  - Output: `["Tesla (ORGANIZATION)", "Elon Musk (PERSON)", "California (LOCATION)"]`
549
  """)
550
 
551
+ elif selected_subpoint == " Sentiment Analysis":
552
  st.write("### 🎭 Sentiment Analysis")
553
  st.write("""
554
  Classifying the emotional tone of a text into categories such as positive, negative, or neutral.