Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajustar o retorno do método extract_text #5

Open
amenezes opened this issue Aug 21, 2020 · 0 comments
Open

Ajustar o retorno do método extract_text #5

amenezes opened this issue Aug 21, 2020 · 0 comments

Comments

@amenezes
Copy link

O método extract_text com a opção return_list retorna atualmente uma lista de lista de strings. Acredito que o retorno poderia ser refatorado para retornar apenas uma lista de strings.

Por exemplo:

  • de:
# saída para o processamento de um PDF de 3 páginas *hoje*
[
  ["página 1"],
  ["página 2"],
  ["página 3"],
]
  • para:
[
  "página 1",
  "página 2"
  "página 3"
]

CC: @icaropires

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants