This is the first iteration of the 2020 version of the Orrick Flashcard Generator.
To use this it's best to have Visual Studio and the latest .NET SDK for Blazor.
- Create SQL database (model with demo data provided at Orrick.SQL)
- Update SQL database connection string at /server/appsettings.json:10
- Update Aspose license by adding license as Embedded Resource in Visual Studio and adjusting /server/Startup.cs:105
- For more on Deployment, see the Blazor docs
- Upload workflow
- Basic "Dumb" Segmentation
- Editing, Adding and deleting Cards, Clients, Briefs, and Categories (for cards)
- Export card to DOCX table
- Merge button (function at /server/Pages/LoadedBrief.razor.cs:28)
- Multiple delete button (function at /server/Pages/LoadedBrief.razor.cs:56)
- Format flashcards export document to match previous Orrick flashcard documents (function at /server/Pages/LoadedBrief.razor.cs:78
- The Sentences object model was created for future feature extension. I would anticipate this looking like an associate parsing through Sentences first and then creating Cards from the edited table. This would look like modifying the document parsing function at /server/Pages/Home.razor.cs:42.
- Sentences
- sentenceId (int)
- briefId (num) (FOREIGN KEY)
- content (string)
- Sentences
- Expanding PragmaticSegmeter
- Due to bandwidth constraints, I wasn't able to add any additional rules to PragmaticSegmenter. Segmenter should be extended and the reference at /server/Pages/Home.razor.cs:32 changed as necessary.
This project utilizes the following object models:
- Briefs
- briefId (int) (KEY)
- clientId (int) (FOREIGN KEY)
- isTestBrief? (bool)
- opposingParty (string)
- Cards
- cardId (int) (KEY)
- briefId (int) (FOREIGN KEY)
- Answer (string)
- Question (string)
- Verified (bool)
- categoryId (int) (FOREIGN KEY)
- Categories
- categoryId (int) (KEY)
- name (string)
- Clients
- clientId (int) (KEY)
- longName (string)
- shortName (string)
- isCurrent (bool)
- Aspose.Words
- Radzen (so helpful)
- PragmaticSegmenterNet
To Manyee, Melanie, Dan, Blake, and Ben
Designed by Carter Liebman, 2021