-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
270ba7c
commit 541f5e1
Showing
6 changed files
with
26 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
# README | ||
|
||
This README would normally document whatever steps are necessary to get the | ||
application up and running. | ||
The ideas behind this little app can be found at https://hlml.blog/2020/04/25/what-comes-next/. | ||
|
||
Things you may want to cover: | ||
This repo just contains the source code and tests used to build it out - along with the real Ruby code as opposed to the pseudo-code the blog post has in it. | ||
|
||
* Ruby version | ||
You are welcome to clone and try to run it. It's a standard Ruby on Rails app (6.0.22). The only caveat is that it uses an array database column for the `sentence_chunks` table, so if you don't use Postgres, the schema might not work too well. Otherwise, it's just the same old `rake db:migrate` | ||
|
||
* System dependencies | ||
## Is it efficient? | ||
|
||
* Configuration | ||
Not really. You'll get a ton of rows in your database for text of any great length - especially for the `WordChunk` strategy. This is just a hobby project. | ||
|
||
* Database creation | ||
## Why Ruby and not Python? | ||
|
||
* Database initialization | ||
I like Ruby (and Rspec) and right now, I don't know Python that well. | ||
|
||
* How to run the test suite | ||
## Why do WordChunk and SentenceChunk look _very_ similar | ||
|
||
* Services (job queues, cache servers, search engines, etc.) | ||
|
||
* Deployment instructions | ||
|
||
* ... | ||
Laziness. They should be refactored and likely will be in the next iteration of this project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters