معرفی شرکت ها


cldflex-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Convert FLEx data to CLDF-ready CSV.
ویژگی مقدار
سیستم عامل -
نام فایل cldflex-0.1.0
نام cldflex
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Florian Matter
ایمیل نویسنده florianmatter@gmail.com
آدرس صفحه اصلی https://github.com/fmatter/cldflex
آدرس اینترنتی https://pypi.org/project/cldflex/
مجوز -
# cldflex Convert FLEx data to CLDF-ready CSV. ![License](https://img.shields.io/github/license/fmatter/cldflex) [![Tests](https://img.shields.io/github/workflow/status/fmatter/cldflex/tests?label=tests)](https://github.com/fmatter/cldflex/actions/workflows/tests.yml) [![Linting](https://img.shields.io/github/workflow/status/fmatter/cldflex/lint?label=linting)](https://github.com/fmatter/cldflex/actions/workflows/lint.yml) [![Codecov](https://img.shields.io/codecov/c/github/fmatter/cldflex)](https://app.codecov.io/gh/fmatter/cldflex/) [![PyPI](https://img.shields.io/pypi/v/cldflex.svg)](https://pypi.org/project/cldflex) ![Versions](https://img.shields.io/pypi/pyversions/cldflex) Many descriptive linguists have annotated language data in a FLEx ([SIL's Fieldworks Lexical Explorer](https://software.sil.org/fieldworks/)) database, perhaps the most popular and accessible assisted segmentation and annotation workflow. However, a reasonably complete data export is only available in XML, which is not human-friendly, and is not readily converted to other data. A data format growing in popularity is the [CLDF standard](https://cldf.clld.org/), a table-based approach with human-readable datasets, designed to be used in [CLLD](https://clld.org/) apps and easily processable by any software that can read [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) files, including [R](https://www.r-project.org/), [pandas](https://pandas.pydata.org/) or spreadsheet applications. The goal of ``cldflex`` is to convert lexicon and corpus data stored in FLEx to CSV tables, primarily for use in CLDF datasets. ## Installation `cldflex` is available on [PyPI](https://pypi.org/project/cldflex): ```shell pip install cldflex ``` ## Usage At the moment, there are two commands: ``cldflex flex2csv`` processes `.flextext` (corpora), and ``cldflex lift2csv`` processes `.lift` (lexica) files. Both commands create a number of CSV files. One can either use [cldfbench](https://github.com/cldf/cldfbench) to create one's own CLDF datasets from these files, or add the `--cldf` argument to create (simple) datasets. Project-specific configuration can be passed via `--conf your/config.yaml` ### `flex2csv` Basic usage: ```shell cldflex flex2csv texts.flextext ``` Connect the corpus with the lexicon: ```shell cldflex flex2csv texts.flextext --lexicon lexicon.lift ``` Create a CLDF dataset: ```shell cldflex flex2csv texts.flextext --lexicon lexicon.lift --cldf ``` ### `lift2csv` Extract morphemes, morphs, and entries from `lexicon.lift`: ```shell cldflex lift2csv lexicon.lift ``` Create a CLDF dataset with a [`Dictionary`](https://github.com/cldf/cldf/tree/master/modules/Dictionary) module: ```shell cldflex lift2csv lexicon.lift --cldf ```


نیازمندی

مقدار نام
>=6.0.0 colorlog
>=1.3.5 pandas
>=8.1.3 click
>=6.1.2 python-slugify
>=4.11.1 beautifulsoup4
>=4.9.1 lxml
>=1.13.0 cldfbench
>=1.28.0 pycldf
>=0.0.6 clld-morphology-plugin
>=0.0.6 clld-corpus-plugin
- bump2version
- coverage[toml]
==1.7.7 prospector[with_pyroma]
- isort
- pytest
- pytest-cov
- sphinx
- sphinx-rtd-theme
- sphinx-autoapi
- sphinxcontrib-napoleon
- tox
- myst-parser
- flake8
- twine
- jinja2
- keepachangelog
>=0.0.7 clld-morphology-plugin
>=0.0.6 clld-corpus-plugin
>=3.10.0 pyglottolog
- twine
- wheel


نحوه نصب


نصب پکیج whl cldflex-0.1.0:

    pip install cldflex-0.1.0.whl


نصب پکیج tar.gz cldflex-0.1.0:

    pip install cldflex-0.1.0.tar.gz