Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pysquale

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pysquale

Useful lib for text processing in Portuguese

  • 0.0.11
  • PyPI
  • Socket score

Maintainers
1

pysquale

Useful lib for text processing in Portuguese.

The name of the lib was inspired by the name of the famous Brazilian Teacher Pasquale


Usage

from pysquale.common.pipeline import ReducerPipeline
from pysquale.words.cleaning import remove_accentuation, remove_punctuation, to_lower

func_list = [to_lower, remove_accentuation, remove_punctuation]
text = "Olá, quem é você?"
pipe = ReducerPipeline(target=text, items=func_list)
output = pipe.run()
print(output)

# Should print:
# ola quem e voce"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.


License

MIT

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc