UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

69 lines 2.41 kB
/** * **spm** - Unsupervised text tokenizer for Neural Network-based text generation. * * @domain `google.com/sentencepiece` * @programs `spm_decode`, `spm_encode`, `spm_export_vocab`, `spm_normalize`, `spm_train` * @version `0.2.0` (4 versions available) * @versions From newest version to oldest. * * @install `launchpad install +google.com/sentencepiece -- $SHELL -i` * @aliases `spm` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access via alias (recommended) * const pkg = pantry.spm * // Or access via domain * const samePkg = pantry.googlecomsentencepiece * console.log(pkg === samePkg) // true * console.log(pkg.name) // "sentencepiece" * console.log(pkg.description) // "Unsupervised text tokenizer for Neural Network-..." * console.log(pkg.programs) // ["spm_decode", "spm_encode", ...] * console.log(pkg.versions[0]) // "0.2.0" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/google-com/sentencepiece.md * @see https://ts-pkgx.netlify.app/usage */ export declare const spmPackage: { /** * The display name of this package. */ name: 'sentencepiece'; /** * The canonical domain name for this package. */ domain: 'google.com/sentencepiece'; /** * Brief description of what this package does. */ description: 'Unsupervised text tokenizer for Neural Network-based text generation.'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/google.com/sentencepiece/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install +google.com/sentencepiece -- $SHELL -i'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['spm_decode', 'spm_encode', 'spm_export_vocab', 'spm_normalize', 'spm_train']; companions: readonly []; dependencies: readonly []; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['0.2.0', '0.1.99', '0.1.98', '0.1.97']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly ['spm'] }; export type SpmPackage = typeof spmPackage