Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

SpaCy and HuggingFace fulfill practically 99% of all our needs for NLP project at work. Really incredible bodies of work.

Also, my team chat is currently filled with people being extremely stoked about the SpaCy + FastAPI support! Really hope FastAPI replaces Flask sooner rather than later.



As someone who never used NLP, what is it used for? Or better what is SpaCy used for - I know that it can generate Texts... but how would I use it in a business?


Obviously, it depends, but assuming you do have an NLP use case already, there are certain things that you will almost certainly have to do in your preprocessing regardless of your task. For example, sentence parsing. Writing your own basic sentence parser is fairly easy. Writing your own _good_ sentence parser is a nightmare akin to trying to parse HTML with regex. SpaCy provides a very good one for you. Down the line it will help you train a model on various tasks in a compute efficient manner as well. This is just a small example.


Thanks for the explanation. Guss I never had an NLP usecase. So SpaCy can take a text or sentences apart and knows what the parts "mean" but I can't think of a problem to solve with this. Maybe summarize a text or something, but I guess I am not imaginative enough


There's some native SpaCy + FastAPI integration being created?!

This sounds mindblowing, off to Google I go...


With the new "spaCy project" it's easy to generate the boilerplate for many spaCy related projects, including a FastAPI app to serve models.

But apart from that, there's actually not really much to integrate, as it all just works.

Both libraries are actually (well ) designed to be decoupled. So that you can mix them independently with anything else.

Note: I'm the creator of FastAPI, and also a developer at Explosion (spaCy's home).


The author of FastAPI https://twitter.com/tiangolo is a Spacy employee


Yep, that's me, I work at Explosion (spaCy's home)!


Big fan my dude! While FastAPI is amazing, the docs for it are a work of art. I know a few people that have just used the FastAPI docs to learn what API's are and how they work, nevermind how use FastAPI itself.


Thanks for saying that! :)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: