Hole | Wins | Losses | Score | +5 |
---|---|---|---|---|
1 | 5 | 4 | E | Par (E) |
2 | 3 | 6 | +2 | Dbl Bogey (+2) |
3 | 8 | 1 | -1 | Albatross (-3) |
4 | 3 | 6 | +1 | Dbl Bogey (+2) |
5 | 5 | 4 | +1 | Par (E) |
6 | 4 | 5 | +2 | Bogey (+1) |
7 | 8 | 1 | -1 | Albatross (-3) |
8 | 7 | 2 | -3 | Eagle (-2) |
9 | 6 | 3 | -4 | Birdie (-1) |
In: -3 | ||||
10 | 2 | 7 | -1 | Trpl Bogey (+3) |
11 | 3 | 6 | +1 | Dbl Bogey (+2) |
12 | 4 | 5 | +2 | Bogey (+1) |
13 | 4 | 5 | +3 | Bogey (+1) |
14 | 6 | 3 | +2 | Birdie (-1) |
15 | 6 | 3 | +1 | Birdie (-1) |
16 | 5 | 4 | +1 | Par (E) |
17 | 2 | 7 | +4 | Trpl Bogey (+3) |
18 | 4 | 5 | +5 | Bogey (+1) |
Out: +4 | ||||
Avg | 5 | 4 | E | Par |
This text is a large string of data that appears to be a collection of baseball game results for the Los Angeles Angels (also known as the California Angels) during the 1998 season. The data is in a format similar to Box Score XML, with each entry representing a single game result.
Here's a breakdown of what I can do with this text:
Here's a Python code snippet that extracts some basic information from this text:
import re
# Regular expression pattern to match game results
pattern = r"(\d{3})\s+(\w+)\s+([\d:]+)\s+(\d+)-(\d+)"
# Initialize an empty dictionary to store extracted data
game_results = {}
for line in open("angel_game_log.txt").readlines():
# Extract game result using regular expression
match = re.match(pattern, line)
if match:
date = match.group(1)
opponent = match.group(2)
score = f"{match.group(3)}-{match.group(4)}"
game_results[date] = {"opponent": opponent, "score": score}
# Print extracted data
for date, result in game_results.items():
print(f"{date}: {result['opponent']} - {result['score']}")
This code extracts the game results using a regular expression pattern and stores them in a dictionary. The output will be a list of dates with corresponding opponent and score information.
Please let me know how I can assist you further! Updated: June 4, 2025 at 5:37 AM