oshlern / shakespeareanalysis Goto Github PK
View Code? Open in Web Editor NEWA parser and analyzer to get numerical data from texts of the Shakespeare format
A parser and analyzer to get numerical data from texts of the Shakespeare format
While this might be less readable, it should still be fine.
The {text, subsections, analysis} format makes the storage exponentially bigger, yet allows for faster printing of text and analysis.
We might want to switch to [subsection1, subsection2, subsection3 ...] and use a defined for loop for printing the total text and analysis.
Make a much more flexible program which is compatible with chapter books, poems, movie scripts, etc.
Analyzing the speakers might be really hard when using chapter books. Either find formatted data or figure it out.
Have an option to automatically transform input data into standard format, e.g.
ACT 1:
SCENE 1:
[Enter Emilia]
Speaker
(indent) words
Test with other plays (with possibly different formats).
Then, implement comparison features between different plays and a database of all the characters.
When possible, use a clear and readable format, such as HowardStark's:
The Pi should be running a socket server in the same code as the OpenCV vision (which is written in C++) to reduce the latency of using the filesystem. Additionally, the OpenCV will be able to push updates instead of waiting for a request, ensuring that anything listening will get the most up-to-date data.
There is no reason for the current architecture to follow a request -> response style when we always want the most recent data as fast as possible. The added complexity of the request is uesless.
(AT)Shaheenthebean, @oshlern, and (AT)HowardStark (that's me :D) will factor out the python server and implement a C++ socket server which writes the data as soon as it gets it, then returns to calculating new data thus repeating the process.
Currently, stage directions have their own speaker, 'xxx'. However, when inside another speaker's speech, they appear as: "Cheese has never been better [Stab Iago], yet Pizza is still winning the Democratic Fishing Tournament". Make sure you keep them in plain text and parse them out when analyzing text, then add them in when wanted. Make a function for this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.