Skip to content
  • Language Processing and Python
    • 1.1 Computing with Language: Texts and Words
    • 1.2 A Closer Look at Python: Texts as Lists of Words
    • 1.3 Computing with Language: Simple Statistics
    • 1.4 Back to Python: Making Decisions and Taking Control
    • 1.5 Automatic Natural Language Understanding
  • Accessing Text Corporaand Lexical Resources
    • 2.1 Accessing Text Corpora
    • 2.2 Conditional Frequency Distributions
    • 2.3 More Python: Reusing Code
    • 2.4 Lexical Resources
    • 2.5 WordNet
  • Processing Raw Text
    • 3.1 Accessing Text from the Web and from Disk
    • 3.2 Strings: Text Processing at the Lowest Level
    • 3.3 Text Processing with Unicode
    • 3.4 Regular Expressions for Detecting Word Patterns
    • 3.5 Useful Applications of Regular Expressions
  • Writing Structured Programs
    • 4.1 Back to the Basics
    • 4.2 Sequences
    • 4.3 Questions of Style
    • 4.4 Functions: The Foundation of Structured Programming
    • 4.5 Doing More with Functions
  • Categorizing and Tagging Words
    • 5.1 Using a Tagger
    • 5.2 Tagged Corpora
    • 5.3 Mapping Words to Properties Using Python Dictionaries
    • 5.4 Automatic Tagging
    • 5.5 N-Gram Tagging
  • Sentiment Checker
iatl
    • 1.1 Computing with Language: Texts and Words
    • 1.2 A Closer Look at Python: Texts as Lists of Words
    • 1.3 Computing with Language: Simple Statistics
    • 1.4 Back to Python: Making Decisions and Taking Control
    • 1.5 Automatic Natural Language Understanding
    • 2.1 Accessing Text Corpora
    • 2.2 Conditional Frequency Distributions
    • 2.3 More Python: Reusing Code
    • 2.4 Lexical Resources
    • 2.5 WordNet
    • 3.1 Accessing Text from the Web and from Disk
    • 3.2 Strings: Text Processing at the Lowest Level
    • 3.3 Text Processing with Unicode
    • 3.4 Regular Expressions for Detecting Word Patterns
    • 3.5 Useful Applications of Regular Expressions
    • 4.1 Back to the Basics
    • 4.2 Sequences
    • 4.3 Questions of Style
    • 4.4 Functions: The Foundation of Structured Programming
    • 4.5 Doing More with Functions
    • 5.1 Using a Tagger
    • 5.2 Tagged Corpora
    • 5.3 Mapping Words to Properties Using Python Dictionaries
    • 5.4 Automatic Tagging
    • 5.5 N-Gram Tagging
  • Sentiment Checker
Search this website

Monthly Archives: November 2026

  1. Home>
  2. 2026>
  3. November>
  4. Page 2

3.5 Useful Applications of Regular Expressions

  • Post author:Syeiba
  • Post published: November 3, 2026
  • Post category:Uncategorized
  • Post comments:0 Comments

Doing More with Word PiecesOnce we can use re.findall() to extract material from words, there are interestingthings to do with the pieces, such as glue them back together or plot…

Continue Reading3.5 Useful Applications of Regular Expressions

3.4 Regular Expressions for Detecting Word Patterns

  • Post author:Syeiba
  • Post published: November 3, 2026
  • Post category:Uncategorized
  • Post comments:0 Comments

Many linguistic processing tasks involve pattern matching. For example, we can findwords ending with ed using endswith('ed'). Regular expressions give us a more powerful and flexible method for describing the…

Continue Reading3.4 Regular Expressions for Detecting Word Patterns

3.3 Text Processing with Unicode

  • Post author:Syeiba
  • Post published: November 3, 2026
  • Post category:Uncategorized
  • Post comments:0 Comments

Unicode supports over a million characters. Each character is assigned a number, calleda code point. In Python, code points are written in the form \uXXXX, where XXXXis the number in…

Continue Reading3.3 Text Processing with Unicode

3.2 Strings: Text Processing at the Lowest Level

  • Post author:Syeiba
  • Post published: November 3, 2026
  • Post category:Uncategorized
  • Post comments:0 Comments

It’s time to study a fundamental data type that we’ve been studiously avoiding so far.In earlier chapters we focused on a text as a list of words. We didn’t look…

Continue Reading3.2 Strings: Text Processing at the Lowest Level
  • Go to the previous page
  • 1
  • 2
Copyright - WordPress Theme by OceanWP