JL Forums

How do I flatten nested spintax?

0 Members and 1 Guest are viewing this topic.

How do I flatten nested spintax?
« on: July 18, 2017, 12:38:45 AM »
I have a short article with nested spintax.

For example: {Click here to {buy|purchase}|Buy {online|in store} now}

But some tools only accept spitax with one level, so I need to flatten the spintax.

For example: {Click here to buy|Click here to purchase|Buy online now|Buy in store now}

The Best Spinner does have a "flat spin" option, but it doesn't produce all possible variations. Continuing the above example it will output this: {Click here to buy|Buy online now}.

How can I flatten the spintax so that it includes all variations?

Offline Meg

  • *****
  • 7232
  • Freedup to do what you really want
    • View Profile
Re: How do I flatten nested spintax?
« Reply #1 on: July 18, 2017, 12:32:00 PM »
I don't think there is a way to do exactly what you want, sorry. There is one user who used to be very active in this forum, called snm who I think has created a piece of software to do this. Whether he can still be contacted through PMs, I don't know.