@model ManuscriptScanReviewViewModel @{ ViewData["Title"] = "Review manuscript scan"; var probableCharacters = Model.CharacterCandidates .Where(candidate => string.Equals(candidate.Category, "ProbableCharacter", StringComparison.OrdinalIgnoreCase)) .ToList(); var possibleCharacters = Model.CharacterCandidates .Where(candidate => string.Equals(candidate.Category, "PossibleCharacter", StringComparison.OrdinalIgnoreCase)) .ToList(); var relationshipTitles = Model.CharacterCandidates .Where(candidate => string.Equals(candidate.Category, "RelationshipTitle", StringComparison.OrdinalIgnoreCase)) .ToList(); var excludedCharacters = Model.CharacterCandidates .Where(candidate => string.Equals(candidate.Category, "Excluded", StringComparison.OrdinalIgnoreCase)) .ToList(); }

@Model.SelectedBookTitle

Review manuscript scan

@Model.DocumentTitle

Chapters @Model.ChapterCount
Scenes @Model.SceneCount
Characters @Model.CharacterCandidateCount
Words @Model.TotalWordCount.ToString("N0")

Chapters and scenes

@if (!Model.Chapters.Any()) {

No chapters were detected. Make sure your chapter headings use Heading 1, or add clear chapter headings.

} else {
@foreach (var chapter in Model.Chapters) {
Chapter @chapter.ChapterNumber @chapter.Title @chapter.WordCount.ToString("N0") words / @chapter.Scenes.Count scene@(chapter.Scenes.Count == 1 ? string.Empty : "s")
@if (chapter.Scenes.Any()) {
    @foreach (var scene in chapter.Scenes) {
  1. @(scene.Title ?? $"Scene {scene.SceneNumberWithinChapter}") @scene.WordCount.ToString("N0") words @if (!string.IsNullOrWhiteSpace(scene.OpeningTextPreview)) {

    @scene.OpeningTextPreview

    }
  2. }
} else {

No scene breaks were detected. PlotDirector will treat this chapter as one scene for now.

}
}
}