Giter Site home page Giter Site logo

Comments (3)

cgr71ii avatar cgr71ii commented on June 26, 2024

Hi!

Could you share the specific command that you ran in order to try to reproduce the problem (and the provided configuration file if used any)?

from bitextor.

bjarnigithub avatar bjarnigithub commented on June 26, 2024

Here is the command I used:

bitextor-full --configfile yamls/config.yaml --cores 7

And here is the yaml file I used:

# DATA FOLDERS
permanentDir: data/permanent/bitextor-output
dataDir: data/permanent/data
transientDir: data/transient
tempDir: data/transient

# WORKFLOW
parallelWorkers: {split: 2, tokenise: 2, docalign: 2, segalign: 2, bifixer: 2, bicleaner: 2, sents: 2} 

# DATA SOURCES
warcs: ["data/warcs/skatturinn.warc.gz"]

# PREPROCESSING
preprocessor: warc2preprocess
langID: cld3
ftfy: True
cleanHTML: True
html5lib: True
boilerplateCleaning: True 
paragraphIdentification: True 
parser: bs4

# SHARDING
shards: 8
batches: 3072

# LANGS
lang1: en
lang2: is

# DOCUMENT ALIGNMENT
documentAligner: DIC
dic: data/bilingLex/en-is_is-en_glossary_21-09/en-is.dic

# SEGMENT ALIGNMENT
sentenceAligner: hunalign 
sentenceAlignerThreshold: 0.1

# PARALLEL DATA FILTERING
bicleaner: True 
bicleanerModel: data/bicleaner-model/bitextor_bicleaner_model/en-is/en-is.yaml 
bicleanerFlavour: classic
bicleanerThreshold: 0.5

# POST-PROCESSING
bifixer: True
elrc: True
tmx: True
deduped: True
biroamer: False

from bitextor.

cgr71ii avatar cgr71ii commented on June 26, 2024

The problem is fixed in master branch. The problem was related to the config value parallelWorkers: {..., bicleaner: 2, ...}. If you want to fix the problem in your conda installation instead of downloading and installing manually Bitextor, modifying $CONDA_PREFIX/bitextor/bitextor/Snakefile and applying the changes applied in commit f033675, the problem should be gone (we will not release a new conda build for now).

Closing issue. Reopen if needed.

from bitextor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.