Skip to main content

viparse-langchain

LangChain integration for viparse — read Vietnamese documents, including files written in the pre-Unicode TCVN3 / VNI / VISCII / VPS encodings that generic loaders return as B¸o c¸o tµi chÝnh.

pip install viparse-langchain
from viparse_langchain import VietnameseDocumentLoader

docs = VietnameseDocumentLoader("bao_cao_cu.doc").load()

Takes the same options as viparse.load()encoding, ocr, output, chunk — and streams rather than materialising a whole document first.

What it is

A thin, deliberately empty package. The code lives in viparse.integrations and ships with pip install "viparse[langchain]"; this distribution exists so that a LangChain user can find it, because LangChain no longer accepts third-party integrations into its own repositories.

Why not langchain-viparse

That prefix belongs to LangChain's own packages. Using it would imply an official integration that does not exist, and a PyPI name cannot be given back.

Accuracy

0.986 diacritic accuracy over 96 hand-transcribed Vietnamese government documents, against 0.019 for the same reader with conversion switched off — same documents, same published command, one flag apart. The corpus, the metric and every raw result are public, including a written account of the ways the number is weaker than it looks.

MIT © 2026 Đinh Minh Trí (Kayden)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viparse_langchain-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viparse_langchain-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file viparse_langchain-0.1.0.tar.gz.

File metadata

  • Download URL: viparse_langchain-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for viparse_langchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 28e53d93863ee854e70d50eeca7c70bc7b566c76e0521a715e3c37e8342b2ad5
MD5 d150599b736a0196ea3e3b93a6f57fc9
BLAKE2b-256 76240e9ca0dc0cfb095792dac4353a0706ca7dc29f862ec100f8a741b49f0f1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for viparse_langchain-0.1.0.tar.gz:

Publisher: publish-integrations.yml on TrizenX/viparse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file viparse_langchain-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for viparse_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b7f878aba6fd9ea1ebb2faa3bcd6246c930e536cddd3dd4a6c6c1d1504caa5b
MD5 9905feb1f11ac9d0e2e8c9b70993ee4c
BLAKE2b-256 80f9b16703b0d4a307776fda978ebef0e4971092c81208ede3da1d13aa2d7116

See more details on using hashes here.

Provenance

The following attestation bundles were made for viparse_langchain-0.1.0-py3-none-any.whl:

Publisher: publish-integrations.yml on TrizenX/viparse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page