Skip to content

Commit 20612a6

Browse files
947961
1 parent 4687450 commit 20612a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Smart_Summarize/AIAssitViewModel.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ private async Task<string> ExtractDetailsFromPDF()
142142
text += pdfViewer.ExtractText(pageIndex, out textLines);
143143
extractedText.AppendLine(text);
144144
}
145-
146145
return ProcessExtractedText(extractedText.ToString());
147146
}
148147
/// <summary>
@@ -153,7 +152,6 @@ private async Task<string> ExtractDetailsFromPDF()
153152
private string ProcessExtractedText(string fullText)
154153
{
155154
string[] pages = fullText.Split(new string[] { "\f", "\n\nPage " }, StringSplitOptions.RemoveEmptyEntries);
156-
157155
for (int i = 0; i < pages.Length; i++)
158156
{
159157
processedText.AppendLine($"... Page {i + 1} ...");
@@ -166,7 +164,6 @@ private string ProcessExtractedText(string fullText)
166164
}
167165
processedText.AppendLine();
168166
}
169-
170167
return processedText.ToString();
171168
}
172169
/// <summary>

0 commit comments

Comments
 (0)