Comments (1)
Hi @Stamenov
Thanks for the appreciation.
how difficult it would be to port it to PHP as well and what were some hurdles porting ruby to python?
It's very subjective question actually and depends on everyones skill set.
Best way I can recommend is to opt for just one language at first and use python debugger to see how your input text goes through different transformations to get clean sentence. As you understand each steps, write a code for that specific transformation in PHP. Repeat this cycle many times, initially it will be difficult to wrap your head around but if you persist, you'll be surprised to see how our own brain works 😅 bcz as you progress you'll find it quicker to translate many transformation. Hope this helps!
from pysbd.
Related Issues (20)
- make spaCy requirement more explicit
- Example not working with Spacy version 3.1 and 3.0.6 HOT 3
- Would it be possible to package for a sdist archive for PyPI as well?
- English segmenter fails if no space between 2 sentences
- Does pyBSD correctly handle i.e. ?
- Examples of modifying sentence segmentation rules. HOT 2
- Does pysbd delete sentences after detection ?
- Arabic sentence split on the Arabic comma
- How is accuracy on OPUS-100 computed? HOT 1
- Does not properly segment within quotations HOT 1
- pysbd_as_spacy_component.py -- fails to find pysbd module HOT 2
- Bug in German splitting with parenthesis
- Control characters break German segmentation
- Combination of single quotes prevent sbd
- How to separate sentences when there is no punctuation? HOT 2
- `--` breaks segmentation
- Spacy integration example is broken
- PyBSD vs PolyGlot
- Chinese segmenter's unexpected output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysbd.