Improved handling of optional phrases

We just rolled out a small, but sweet upgrade to our synonym processing algorithm.

Imagine you're dealing with the following sentence:
"I hear you {loud and clear | }."

If you're familiar with spinning syntax (also called spintax), you'll notice that the phrase "loud and clear" in this sentence is completely optional. In other words, it can be replaced with an empty string, or "".

But herein lies an issue. If we simply replace this phrase with an empty string, we get the following sentence:
"I hear you ."

Notice the extra space before the period? 🧐

Well, that's clearly no good. 🙈 So we've just rolled out an upgrade to Spin Rewriter that fixes edge-cases like this and makes all your generated articles even better.

Enjoy the upgrade!

For more posts, check out the Monthly Archives.

Why are we publishing all these updates?
Our blog lets our amazing users know what's happening here at Spin Rewriter at all times. This way you can try out the newest features as soon as they're available — and let us know what you think.

Let us say this again: Thank you for your feedback!