[Problem] MPF is parsing titles a bit strange when it includes The, A, An, etc etc #692

Closed
opened 2026-01-29 16:20:42 +00:00 by claunia · 1 comment
Owner

Originally created by @sadikyo on GitHub (Feb 29, 2024).

Originally assigned to: @mnadareski on GitHub.

  • Stable release (3.1.2)
  • .NET 8.0 running on (Windows 10)

Describe the issue
MPF is parsing titles strangely when it includes an Article in the beginning like A, An, The, etc.

For example, it currently parses:
The Sims 2: Pets
into:
Sims 2:, ThePets

I have not tested all other articles but can do so if needed later.

Expected behavior
Correct Parsing for redump purposes

Additional context
Example:
http://forum.redump.org/topic/53848/ibm-pc-the-sims-2-pets-expansion-pack/

Originally created by @sadikyo on GitHub (Feb 29, 2024). Originally assigned to: @mnadareski on GitHub. - [X] Stable release (3.1.2) - [X] .NET 8.0 running on (Windows 10) **Describe the issue** MPF is parsing titles strangely when it includes an Article in the beginning like A, An, The, etc. For example, it currently parses: The Sims 2: Pets into: Sims 2:, ThePets I have not tested all other articles but can do so if needed later. **Expected behavior** Correct Parsing for redump purposes **Additional context** Example: http://forum.redump.org/topic/53848/ibm-pc-the-sims-2-pets-expansion-pack/
claunia added the bug label 2026-01-29 16:20:42 +00:00
Author
Owner

@Deterous commented on GitHub (Mar 1, 2024):

Currently the only punctuation that definitive articles is being placed before is colon and hyphen, i.e.

The Sims 2: Pets -> Sims 2, The: Pets
The Sims 2 - Pets -> Sims 2, The - Pets
but, other punctuation:
The Sims 2, Pets -> Sims 2, Pets, The
The Sims 2= Pets -> Sims 2= Pets, The

Should any other punctuation be dealt with?

@Deterous commented on GitHub (Mar 1, 2024): Currently the only punctuation that definitive articles is being placed before is colon and hyphen, i.e. `The Sims 2: Pets` -> `Sims 2, The: Pets` `The Sims 2 - Pets` -> `Sims 2, The - Pets` but, other punctuation: `The Sims 2, Pets` -> `Sims 2, Pets, The` `The Sims 2= Pets` -> `Sims 2= Pets, The` Should any other punctuation be dealt with?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#692