Parse this person name:

Ferrata Segni, Nanni O., died 1798
user
first_name: Nanni
last_name: Ferrata Segni
middle_names:
- O.
temporal:
- start: null
  end: 1798
  type: life_span
titles: []
extra_info: []
assistant