DSPL 工具
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
DSPL 工具是一套命令行实用程序
旨在帮助生成、整理和验证 DSPL 数据集。套件
目前包含以下组件:
- DSPL 检查:
根据各种条件检查数据集,包括
遵循官方 DSPL 架构、保持内部引用的一致性
和 CSV 布局
- DSPL 世代:
生成简单的 DSPL 数据集
"模板"从输入 CSV 文件中
本软件是根据 BSD 许可发布的;完整的源代码是
可用于
浏览和下载
。DSPL 工具中提供版本说明
README
文件。
以下部分介绍了如何安装 DSPL 工具。完成后
您可以运行包中的各个实用程序。按照
链接。
注意:以下说明以及链接上的内容
假设您有
基本熟悉您系统的命令行环境
(例如,您可以前往终端 / 命令提示符,将
目录、Express 文件路径等)。
安装 DSPL 工具
DSPL 工具是用 Python 编写的,
一种跨平台的开源脚本语言如需进行设置,请完成
操作步骤:
- 根据需要安装 Python 解释器(版本 2.6 或 2.7):
<ph type="x-smartling-placeholder">
</ph>
- Windows:下载并运行“Windows x86”
MSI 安装程序”在此页面上找到。
- Mac OS X:Python 默认安装,但
可能需要升级到较新版本。如需了解详情,请参阅此页面。
- Linux:通常默认安装 Python,
您可能需要升级到更高版本。请查阅
文档。
- 安装 DSPL 工具:
<ph type="x-smartling-placeholder">
</ph>
- 从 DSPL 开源软件中下载并解压缩 DSPL 工具 zip 软件包
网站。
- 打开终端 / 命令提示符窗口,导航到顶层
目录中,然后运行以下命令:
python setup.py install
您可能需要提供 Python 可执行文件的完整路径;查看步骤
有关详情,请参见下文中的第 3 项。
- (可选)扩展系统路径以包含 Python
解释器可执行文件以及文件
dsplcheck.py
和
dsplgen.py
。
- 如果跳过此步骤,您可能需要提供这些
组件,例如(在 Windows 上)
c:\python27\python
,而不仅仅是 python
。
- 此操作的说明因机器而异。
如需相关指导,请参阅系统文档。
一些其他注意事项和注意事项:
- DSPL 工具不适用于 2.6 或更高版本的 Python
高于 2.7。
- 您可能需要以计算机管理员的身份登录,才能运行
执行上述步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-12。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-09-12。"],[[["DSPL Tools is a command-line utility suite for generating, organizing, and validating DSPL datasets, including components like DSPL Check and DSPL Gen."],["The tools are open-source, released under a BSD license, with source code and release notes available on GitHub."],["Installation requires Python 2.6 or 2.7, downloading and extracting the DSPL Tools bundle, and running a setup command in the terminal."],["Users may need to extend their system path to include the Python interpreter and DSPL Tools files for easier execution."],["DSPL Tools are compatible with Python versions 2.6 and 2.7 only and may require administrator privileges for installation."]]],["DSPL Tools, a command-line utility suite, aids in creating, organizing, and validating DSPL datasets. Key components include DSPL Check for dataset validation against the DSPL schema and DSPL Gen for generating dataset templates from CSV files. Installation requires Python 2.6 or 2.7, downloading the DSPL Tools zip from the GitHub repository, and running `python setup.py install`. Users can optionally extend their system path to simplify command execution. The tools require a basic understanding of the command-line interface.\n"]]