{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/vi/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Kho dữ liệu mô hình ngôn ngữ","projectTitle":"Tisane Developer Documentation","description":"Tisane is an NLP platform, used for content moderation & more."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"kho-dữ-liệu-mô-hình-ngôn-ngữ","__idx":0},"children":["Kho dữ liệu mô hình ngôn ngữ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Các mô hình ngôn ngữ của Tisane được lưu trữ trong các thư mục. Chúng có thể được chia thành:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dữ liệu đặc thù theo ngôn ngữ"]}," - mô tả một ngôn ngữ cụ thể"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dữ liệu liên ngôn ngữ"]}," được dùng chung cho tất cả các ngôn ngữ (ví dụ: kết nối ngữ nghĩa giữa các khái niệm)"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"dữ-liệu-đặc-thù-theo-ngôn-ngữ","__idx":1},"children":["Dữ liệu đặc thù theo ngôn ngữ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Các kho dữ liệu đặc thù theo ngôn ngữ được đặt tên theo quy ước sau: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["(language_code)-(data_store_name)"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Mã ngôn ngữ: Dựa trên tiêu chuẩn mã ngôn ngữ ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes","target":"_blank"},"children":["ISO-639-1"]},", có thể bao gồm cả phương ngữ."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tên kho dữ liệu: Cấu trúc lưu trữ."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ví dụ:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["en-phrase"]},": mẫu cụm từ tiếng Anh"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fr-nondic"]},": các quy tắc thực thể không có trong từ điển cho tiếng Pháp"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["zh_CN-phrase"]},": Mẫu cụm từ tiếng Trung giản thể"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"kho-dữ-liệu-liên-ngôn-ngữ","__idx":2},"children":["Kho dữ liệu liên ngôn ngữ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Các kho dữ liệu sau được sử dụng cho ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["tất cả"]}," các ngôn ngữ:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["family"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["role"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pragma"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Important:"]}," Lưu ý quan trọng: Tất cả các kho dữ liệu cho một ngôn ngữ phải nằm trong ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["cùng một"]}," thư mục."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"phân-phối-một-phần","__idx":3},"children":["Phân phối một phần"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Để tiết kiệm dung lượng hoặc vì lý do khác, bạn có thể loại trừ một số ngôn ngữ hoặc thành phần khi triển khai."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"chỉ-cung-cấp-một-số-ngôn-ngữ-được-chọn","__idx":4},"children":["Chỉ cung cấp một số ngôn ngữ được chọn"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Để chỉ bao gồm một số ngôn ngữ nhất định, hãy xác định mã ngôn ngữ tương ứng (ví dụ: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["en"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["de"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["zh_CN"]},") và thêm vào các kho dữ liệu đặc thù cho các ngôn ngữ đó, cùng với ba kho dữ liệu dùng chung (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["family"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["role"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pragma"]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cung-cấp-chức-năng-một-phần","__idx":5},"children":["Cung cấp chức năng một phần"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Các kho dữ liệu ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["xx-famlex"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["xx-famphrase"]}," chỉ được dùng cho chức năng dịch, nên có thể loại bỏ khỏi gói cài đặt nếu bạn không sử dụng Tisane để dịch thuật."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"kiểm-tra-chính-tả","__idx":6},"children":["kiểm tra chính tả"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dữ liệu kiểm tra chính tả được lưu trong các kho dữ liệu có tên ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["xx-spell"]},". Nếu không được bao gồm, chức năng kiểm tra chính tả sẽ không hoạt động."]}]},"headings":[{"value":"Kho dữ liệu mô hình ngôn ngữ","id":"kho-dữ-liệu-mô-hình-ngôn-ngữ","depth":1},{"value":"Dữ liệu đặc thù theo ngôn ngữ","id":"dữ-liệu-đặc-thù-theo-ngôn-ngữ","depth":3},{"value":"Kho dữ liệu liên ngôn ngữ","id":"kho-dữ-liệu-liên-ngôn-ngữ","depth":3},{"value":"Phân phối một phần","id":"phân-phối-một-phần","depth":3},{"value":"Chỉ cung cấp một số ngôn ngữ được chọn","id":"chỉ-cung-cấp-một-số-ngôn-ngữ-được-chọn","depth":2},{"value":"Cung cấp chức năng một phần","id":"cung-cấp-chức-năng-một-phần","depth":2},{"value":"kiểm tra chính tả","id":"kiểm-tra-chính-tả","depth":2}],"frontmatter":{"seo":{"title":"Kho dữ liệu mô hình ngôn ngữ"}},"lastModified":"2025-07-08T01:02:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/vi/sdks/languagemodels","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}