Comments (7)
If you make an improvement to the Moses sentence splitter, please share your code so others can benefit. You can send it to me or create a pull request
…
On Sat, Feb 27, 2021, 3:20 PM zbhatti-dev @.***> wrote: OK yes is working now; the above code change I mentioned doesnt make a difference...so thanks; now working on an urdu postprocessing model to filter out the mis-matches — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#199 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFI4FGSQQM3MXUAJCCDPXLTBF42VANCNFSM4YALHJ2A .
Hi yes if I do change anything and it is useful will let you know...issue I am seeing with urdu and similar languages is that sentences do not quite match...so now looking at constructing an urdu bicleaner...to filter out those translations not matching
from bitextor.
Hi. Seems like the Urdu dictionary is well generated. It could be an issue with Urdu in the language detector, the sentence splitter or the word tokenizer.
Could you please upload the intermediate files generated by Bitextor in the "dataDir" and "transientDir" folders? That way it will be easier to find the problem.
from bitextor.
Hi, thanks for you reply...
please find attached directory contents:
https://drive.google.com/file/d/1Um6iDFMjF3YkhRlVZbP2SBGJEHAqNlAW/view?usp=sharing
https://drive.google.com/file/d/1Pl50qsX2VpzoEFKUoij7rkroKcfjyfaJ/view?usp=sharing
thanks
Zaf
from bitextor.
Looks like it is the sentence splitter.
By default, Bitextor uses a Python port of split-sentences.perl
(from mosesdecoder) coded by mediacloud because it is the fastest we tested for a broader selection of languages. But this port doesn't have support for Urdu.
However, Bitextor supports user provided sentence splitters commands, and looks like the original split-sentences.perl
got support for Urdu lately. Then, if you want to use that sentence splitter, you should add this to your Bitextor configuration file (following the wiki page for non-European languages):
sentenceSplitters: { 'ur' : "~/bitextor/preprocess/moses/ems/support/split-sentences.perl -q -b -l ur" }
from bitextor.
OK, thanks for this, brilliant help - it seems to have worked; although I have changed one of the code lines in the split-sentences.perl:
(?: [.?!\x{06D4}] | ..+ ) to (?: [.?!\x{6D4}] | ..+ )
but I am not sure if that was needed...will keep you posted
from bitextor.
OK yes is working now; the above code change I mentioned doesnt make a difference...so thanks; now working on an urdu postprocessing model to filter out the mis-matches
from bitextor.
from bitextor.
Related Issues (20)
- Error in rule bicleaner HOT 7
- Install Alcazar HOT 3
- Process completes without error but does not produce any sentence pairs HOT 1
- Inconsistent behaviour of paths in .yaml file HOT 1
- How do you compare two different domains HOT 2
- Problem when run bitextor using document aligner NMT HOT 6
- Document aligner happily returns nothing with piped input HOT 1
- Custom Word Tokenizer Error HOT 3
- CMake build failed v8.1.1 HOT 6
- Bitextor crashes if Bicleaner filters all lines
- Hunalign and Bicleaner errors HOT 3
- Bleualign error HOT 4
- custom_translate getting called without externalMT HOT 2
- External embeddings
- Instruction on running bitextor_align_segments.py for Hunalign only? HOT 1
- Only first file in warc file appears to be processed when "directories" is used as data source HOT 4
- New Bicleaner AI full models HOT 1
- Document level granularity of Paracrawl HOT 1
- Bitextor usage HOT 4
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 bitextor.