Squish42 commited on
Commit
46f5b11
1 Parent(s): 6757a63

Prune additional OOC, spelling errors

Browse files

- Removed 7 additional edge cases
- Replaced 10 occurrences of spelling errors
- Pruned 13 additional messages
- Refactor `ooc_prune` step to run last in preprocessing

Files changed (2) hide show
  1. bluemoon.json +2 -2
  2. dataset.yaml +20 -5
bluemoon.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8dd348e9c3f4060b1500aec7639a5285d27384f1c3e38ae92c3332d02240639c
3
- size 222816498
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca362aef3d7474050ffb405bf8cd1bc6f3f39489505573910c95b9c31214dbda
3
+ size 222794789
dataset.yaml CHANGED
@@ -136,8 +136,16 @@ steps:
136
  caseSensitive: false
137
  patterns: [
138
  "BUMP", "-BUMP-", "~BUMP~", "Closed...", "Closed", "This thread is closed", "bump.", "*DELETED*",
139
- "...", "Okay... so you didn't make a starting post??", "-----", "~~~~~",
140
  "The End ^^\nshortest RP ever XDD", "the end^^", "i think so^^", "Fin^^", "Fin ^^", "-Placeholder-", "Molly was",
 
 
 
 
 
 
 
 
141
  ]
142
 
143
  - step: &strip_unicode
@@ -165,7 +173,7 @@ steps:
165
  description: "Spelling mistakes and typos."
166
  config:
167
  caseSensitive: false
168
- replacements: [ [ 'bow staff','bo staff' ] ]
169
 
170
  - step: &empty
171
  type: FullMatch
@@ -204,6 +212,7 @@ steps:
204
  # We can probably hit more end of message (ooc ...) with regex.
205
  [ "\nThe End. (awwww lol)", "" ],
206
  [ "\nThe End.", "" ], [ "The End?", "" ], [ "\n~The End~", "" ], [ "The End ^^\nshortest RP ever XDD", "" ],
 
207
  [ "Just gonna toss this here so I don't have to hunt for it again.", "" ],
208
  [ "If you want to hurry it up and get to the smut, just let me know XD I'm fine with whatever pace you like best.", "" ],
209
  [ "???OCC. I intentionally jumbled it around a bit to make it more of a blur.???\n", "" ],
@@ -223,7 +232,13 @@ steps:
223
  [ "THE END? or maybe THAT'S ALL FOLKS! or even better AND THEY ALL LIVED HAPPILY EVER AFTER! (ok, you may kill me now^^)", "" ],
224
  [ "OOC. you remember that not i sent explaining changing and half bloods? now is when it comes in handy XDD)", "" ],
225
  [ "(HAD TO SAY IT)", "" ],
226
- [ "now what?))", "Continue." ]
 
 
 
 
 
 
227
  ]
228
 
229
  input:
@@ -232,13 +247,13 @@ input:
232
  sha512: f31d6bd278bc4211736d6aace3917cd0c1d0143bec9bf9d07054f5f9b32060e17399b6ea0935774b2271ac45a88309a60ef8eec8c4ac5283d1b353a255529cc5
233
  reader: *bluemoon
234
  steps: [ *html_linebreaks, *html_strip, *links, *trim, *reduce_whitespace,
235
- *ooc_strip, *ooc_prune, *reduce_separators, *reduce_punctuation, *spelling ]
236
 
237
  output:
238
  - name: 'Bluemoon'
239
  path: 'out/bluemoon.json'
240
  description: 'Bluemoon 1-1 Fandom RP+ERP cleaned and formatted for Fastchat'
241
- sha512: b7ee2b95034c85cab506d30865beba7e6e68969f4b8e45348ed227b3917824a75428301aae106acd3dc1e7e5ee85124c3ed872cfd823f3ec7a89fc0b01f0759b
242
  writer: *fastchat_pretty
243
  steps: [ *strip_unicode, *reduce_whitespace, *strip_nonwords, *edge_cases, *trim, *empty,
244
  *two_alternating_participants, *rename_participants ]
 
136
  caseSensitive: false
137
  patterns: [
138
  "BUMP", "-BUMP-", "~BUMP~", "Closed...", "Closed", "This thread is closed", "bump.", "*DELETED*",
139
+ "...", "Okay... so you didn't make a starting post??", "---", "~~~",
140
  "The End ^^\nshortest RP ever XDD", "the end^^", "i think so^^", "Fin^^", "Fin ^^", "-Placeholder-", "Molly was",
141
+ "Hahahaha, Yeah, I was a little confused",
142
+ "Lol do you want to delted this thread possiably and start a new one I'm sorry",
143
+ "Sure, what ever you want!", "How about a demon/human what do you want the plot to be and if you could start it",
144
+ "Okay, do you want to be the demon, or do you want me to be the demon?", "You be the demon", "Okay, do you want to start today or tomorrow?",
145
+ "Today if possible and what's the plot", "Hmmmmm I have no idea hahahaha you?", "Hmmm demon falls for a human even though he ain't supposed to",
146
+ "Ok, sounds good! Anything else you want in?",
147
+ "Not really maybe demon fight\n\nAnd that the demon has to shroud him self in human form and reveals himself to her",
148
+ "Okay, I'll make it a bit later.", "Okay can't wait",
149
  ]
150
 
151
  - step: &strip_unicode
 
173
  description: "Spelling mistakes and typos."
174
  config:
175
  caseSensitive: false
176
+ replacements: [ [ "bow staff","bo staff" ], [ "possiable", "possible" ], [ "possiably", "possibly" ] ]
177
 
178
  - step: &empty
179
  type: FullMatch
 
212
  # We can probably hit more end of message (ooc ...) with regex.
213
  [ "\nThe End. (awwww lol)", "" ],
214
  [ "\nThe End.", "" ], [ "The End?", "" ], [ "\n~The End~", "" ], [ "The End ^^\nshortest RP ever XDD", "" ],
215
+ [ "***THE END***", "" ], [ "THE END, perfectly timed question lol", "" ],
216
  [ "Just gonna toss this here so I don't have to hunt for it again.", "" ],
217
  [ "If you want to hurry it up and get to the smut, just let me know XD I'm fine with whatever pace you like best.", "" ],
218
  [ "???OCC. I intentionally jumbled it around a bit to make it more of a blur.???\n", "" ],
 
232
  [ "THE END? or maybe THAT'S ALL FOLKS! or even better AND THEY ALL LIVED HAPPILY EVER AFTER! (ok, you may kill me now^^)", "" ],
233
  [ "OOC. you remember that not i sent explaining changing and half bloods? now is when it comes in handy XDD)", "" ],
234
  [ "(HAD TO SAY IT)", "" ],
235
+ [ "////brooooo sorry my auto correct went to Hatsumi lol it was supposed to be Natsu lol", "" ],
236
+ [ ":: Why is it you make your text SO big? Lol. ::", "" ],
237
+ [ "Because I can't see that good even though I have glasses. LOL xD", "" ],
238
+ [ ":: Oh, okay. Haha. Just wondering. ^_^ ::", "" ],
239
+ [ "(man messed up the name already XD )", "" ],
240
+ [ "Hmm I know, but its to much effort tonightmaybe tomorrow. XD And I couldnt be lucky enough to have a bread maker, but I do know how to make bread, just dont do it a lot. XD)", "" ],
241
+ [ "now what?))", "Continue." ],
242
  ]
243
 
244
  input:
 
247
  sha512: f31d6bd278bc4211736d6aace3917cd0c1d0143bec9bf9d07054f5f9b32060e17399b6ea0935774b2271ac45a88309a60ef8eec8c4ac5283d1b353a255529cc5
248
  reader: *bluemoon
249
  steps: [ *html_linebreaks, *html_strip, *links, *trim, *reduce_whitespace,
250
+ *ooc_strip, *reduce_separators, *reduce_punctuation, *spelling, *ooc_prune ]
251
 
252
  output:
253
  - name: 'Bluemoon'
254
  path: 'out/bluemoon.json'
255
  description: 'Bluemoon 1-1 Fandom RP+ERP cleaned and formatted for Fastchat'
256
+ sha512: dcb1ea00474b3a4c7839690f26a5079c2cc7dd13e03da14641eaf1765fd1bed28dc7bb5f55cff52260465efff42b08bdf0b039db1e91268e4030fd90754885db
257
  writer: *fastchat_pretty
258
  steps: [ *strip_unicode, *reduce_whitespace, *strip_nonwords, *edge_cases, *trim, *empty,
259
  *two_alternating_participants, *rename_participants ]