Giter Site home page Giter Site logo

steins-gate-dialogue-parser's Introduction

Steins;Gate dialogue parser

Parses Steins;Gate VN dialogue like this:

<voice name="Rintaro" class="VID_OKA" src="voice/OKA_0160" mode="on">
"But they underestimated me, for I am not so easily played. One day, I will expose their deeds and put an end to their reign!"

</PRE>

<PRE @box00>[text00290]
Having come to a satisfactory conclusion, I take a celebratory bottle of Dr P -- my favorite soda -- from the fridge.

The lab has no air conditioning. Ice cold drinks are essential.


<voice name="Rintaro" class="VID_OKA" src="voice/OKA_0161" mode="on">
"Ah, <I>elixir intellectualis</i>⑰, a drink fit for a genius!"

</PRE>

<PRE @box00>[text00300]
<voice name="Itaru" class="VID_DAR" src="voice/DAR_0012" mode="on">
"Cola's better."

and produces a cleaned JSON file with this:

  {
    "char": "Rintaro",
    "text": "\"But they underestimated me, for I am not so easily played. One day, I will expose their deeds and put an end to their reign!\""
  },
  {
    "text": "Having come to a satisfactory conclusion, I take a celebratory bottle of Dr P -- my favorite soda -- from the fridge."
  },
  {
    "text": "The lab has no air conditioning. Ice cold drinks are essential."
  },
  {
    "char": "Rintaro",
    "text": "\"Ah, *elixir intellectualis*\u2470, a drink fit for a genius!\""
  },
  {
    "char": "Itaru",
    "text": "\"Cola's better.\""
  },

Expects an input file called 'Master_Copy.txt' and produces a 'parsed.json'

steins-gate-dialogue-parser's People

Contributors

spillerrec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.