LIS 4970 IR & Text Mining (LIS4970)
University of Oklahoma
All 3 results
Sort by
-
Basic Programming 9 - Aggregate Words to Single Document
- Other • 2 pages • 2021
-
- $10.49
- + learn more
Download the example text directory from Canvas. Read all text files in the directory. Write a program to save words and their counts aggregated across 
all these text files to ''. 
hint: 
after download the zipped file, extract it to a directory, your program first needs to list all files in a directory (
files-in-a-directory-in-python 2) 
Then, you may use file read method (section 7.4 in Python book) to read content from each file. 
use late() method to replace punctuations as shown on page...
-
Basic Programming 5
- Class notes • 2 pages • 2021
-
- $7.49
- + learn more
Use method () to extract an email address from a user supplied string (Assuming the email address is any continuous string without space and containing @ sign. If there are multiple emails, please extract the first one).
-
Basic Programming 7
- Class notes • 2 pages • 2021
-
- $11.49
- + learn more
- use regular expression to extract all email address from “ download”, and write it to a file “”
Want to regain your expenses?
How much did you already spend on Stuvia? Imagine there are plenty more of you out there paying for study notes, but this time YOU are the seller. Ka-ching! Discover all about earning on Stuvia