Parse this person name:

Thomas Shepherd, Anthony S., 1681-1709
user
first_name: Anthony
last_name: Thomas Shepherd
middle_names:
- S.
temporal:
- start: 1681
  end: 1709
  type: life_span
titles: []
extra_info: []
assistant