Removed ignoring uppercase line in PDF Text Parser. (As it may contain chapter name)
This commit is contained in:
parent
83d5a30847
commit
c5704fb34b
1 changed files with 0 additions and 14 deletions
|
|
@ -53,20 +53,6 @@ class PdfTextParser @Inject constructor(private val application: Application) :
|
|||
return@forEachIndexed
|
||||
}
|
||||
|
||||
if (
|
||||
line.all {
|
||||
if (it == ' ') {
|
||||
true
|
||||
} else if (it.isUpperCase() || it.isDigit() || it == '-') {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
) {
|
||||
return@forEachIndexed
|
||||
}
|
||||
|
||||
if (line.all { it.isDigit() }) {
|
||||
return@forEachIndexed
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue