Article Spinning Question

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Sun 11/22/2009 - 0:56

When I spin, I like to re-write each sentence twice from a seed artice to get 30% uniqueness. So we have three files, the original and 2 rewritten articles. The two rewritten articles are basically sayin the same thing as the original article...just using different words.
So line one might look like this in each article.
Original Article First Sentence - The big brown dog jumped over the large wooden fence.
First rewritten sentence in file two - The large brown coloured dog leapt over the big wooden fence.
Second Rewrite in file three - Over the big brown fence, the large brown dog bounded.
If these are the first lines in three seperate text documents, I want to pull them from the text doc and write them to a 4th doc adding some syntax {line 1.|Line 2.|Line 3.}.
In addition, i the sdcript could recogniseparagraphs and line breaks, that would be great!
Can this be done?
Ive been playing around with "find" tp put the cursor at each full stop and then using shift and home to highlight the text before cutting it, but its not working perfectly.
If you could modify the script above to do this, that would be brilliant.
All the best
Barry

#1

codex

  • Joined: Nov 12, 2009
  • Posts: 161

Sun 11/22/2009 - 1:17

Hiho Barry! I have been messing around with some article spinning a long time ago (since a customer of mine needed to convert a specific type of article spinning notation to another) and I can tell you this: "there is no article spinning task that WinAutomation cannot handle".

This may sound a bit weird, (but it is based on the simple fact that WinAutomation supports regular expressions and since regex allow you to modify text in SO MANY ways, if you take into account the fact that articles are practically raw text) but when I start building a job to automate article spinning with WinAutomation, I feel the way that Superman feels when he wants to move from New York to London: "like cheating"!

Can you please describe to me the form of the text file where the first 3 sentences will be stored? In order to have all the information that I need to build this "spinning job" I would prefer some sample text files to experiment with (regular expressions really love it when you have some sample text to apply them into).

P.S: For the history, the article spinning conversion job that I built back then, was converting a sentence that uses a notation like this:
{this is a {version|adaptation|edition} of a sentence|a{version|adaptation|edition} of a sentence would look like this}
to a sentence that is using a notation like this:
{this is a [version|adaptation|edition] of a sentence~a[version|adaptation|edition] of a sentence would look like this}
Pretty cool huh? :)

#2

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Sun 11/22/2009 - 21:22

Hey Codex

That is pretty cool, so this should be really easy.

Each of the three text files will be set up like Unique article wizard jobs, if you;re familair with those. They will have 8 paragraphs each of text and each sentence in each paragraph in the seed article will be rewritten twice...and placed into seperate text files...givin three text files all together, saved in notepad. Then, I'd like to take Article One, Sentence One, Article two, Sentence one, Article three, Sentence one and put them into a 4th text doc like so {1|2|3}. While you are spinning words in teh above example, I prefer to spin entire sentences.

Still not sure i that answers your question though.

All the best

Barry

#3

codex

  • Joined: Nov 12, 2009
  • Posts: 161

Tue 11/24/2009 - 15:06

I have attached a sample draft. Is this job close to what you are trying to do?

ArticleSpinningSample.waj

#4

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Tue 11/24/2009 - 17:54

Hi Codex

 

Its like you read my mind...thats exactly what I was after...thanks so much.

 

All the best

 

Barry

#5

codex

  • Joined: Nov 12, 2009
  • Posts: 161

Tue 11/24/2009 - 18:01

That was a lucky shot! :) Glad that I could help!

#6

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Tue 11/24/2009 - 18:47

How about creating an output from the resultant text and creating Xn new articles? Doable?

 

All the best

 

Barry

#7

codex

  • Joined: Nov 12, 2009
  • Posts: 161

Tue 11/24/2009 - 19:09

It is doable... No question about that... You want the job to create all the possible resulting combinations of articles?

P.S: In order to create such a job I will definitely need 3 sample text files to test it first.

#8

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Wed 11/25/2009 - 23:52

Codex

 

Solved this...macro'd jetspinners free spinner...same result...less hassle for everyone.

 

Thanks

 

Baz

#9

codex

  • Joined: Nov 12, 2009
  • Posts: 161

Thu 11/26/2009 - 21:15

I have some objections about the "less hassle" thing but I'm ok with that. My main objection being the fact that I have come up with a rule when I'm building a new job:

"If you can avoid interacting with GUI in a specific job (without spending more than 1.5 of the time that you would spend to build it with GUI), then you should definitely go for the GUI-less option."

Don't ask me how I invented this rule, or what complex mathematical equations are behind the phrase "1.5 of the time", because I'm not gonna explain almost a year and a half of automating 5 lines of a forum. Just keep in mind that it is based on the fact that at some point in the future, you will have so many jobs inside your WinAutomation console, that it will be hard for you to even find a time of the week that you are not using your computer (all the slacking moments that your pc used to have will be gone by then).

When you will reach this point, you will start converting your "GUI-based" jobs into "GUI-less" jobs, and trust me, this is not a pleasant feeling (especially since you won't even remember what each job does)

#10

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Fri 11/27/2009 - 13:32

OK....sold. I am already finding it difficult to find jobs...(maybe a "search jobs" function would help...then you can keep a master jobs list somewhere with detailed notes and search KWs?) so if you have code that will spin and save Xn articles from a version with spinning syntax, then thats definitely worth a lot.

I will provide you with three text files in an hour as requested.

 

All the best

 

Barry

 

#11

Leiif

  • Joined: Feb 24, 2010
  • Posts: 1

Wed 2/24/2010 - 23:56

Can I revive this thread? I have an old article I spun a while back. I can provide 3 articles or the spin syntax I already have put together. I think it was from jetspinner. Are you still around Codex?

 

Best,

Leiif

#12

codex

  • Joined: Nov 12, 2009
  • Posts: 161

Wed 3/3/2010 - 16:49

Yep, I'm still around. Gief files and instructions!

#13

Automato

  • Joined: Jul 24, 2010
  • Posts: 4

Mon 8/30/2010 - 15:25

Yes, I'm bumping an old thread. Looking to become a spin-meister with WinAutomation. ;-)

codex - thanks for sharing the waj (articlespinningsample). I just tested it and it worked beautifully!

Before running it, I spent some time studying each step of your waj to understand how it worked. I admit when I hit the text parsing steps with the regular expressions, my heart shuddered. That is some scary looking stuff. LOL

My first question: Can anyone recommend the best regular expressions tutorial that is suitable for a complete beginner?

*EDIT* I found the regex thread and a suggestion to use Expresso. I'm working through the tutorial/help files now but it looks like I'll still need to find a resource for what all the signs and symbols mean (unless it's in Expresso and I haven't seen that part yet). */EDIT*

Earlier in this thread, two people (I think baz and Leiif) asked how to create a job to spin and save Xn new articles from an original, but I don't see where they posted their files and instructions to get some guidance from you.

If you're still around, I'd love to take you up on that offer if it still stands!

My second question: Are the attached files suitable for a test run? See below.

I would also love to get some help in figuring out how to combine that functionality with word replacement like the following:

The {quick|fast|nimble|speedy} {brown|tan|brownish|dark} fox {jumps|leaps|bounds} over the {large|heavy|big} {lazy|slothful|slow} {dog|canine|pup|puppy}.

So the sentences would read something like:

The fast tan fox jumps over the big slow pup.

or

The nimble brownish fox leaps over the heavy slothful canine.

Etc.

I will definitely be studying regular expressions to work this out for myself, but in the meantime I'd very much appreciate any help or guidance. I think my regex learning curve is going to be very steep.

Big thanks for any help offered!

Automato

ChristmasFirstFile.txt ChristmasSecondFile.txt ChristmasThirdFile.txt

#14
Not a member yet? Register

Copyright 2012 - Softomotive Ltd