Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 26 new columns ({'no', 'utterance.pos', 'year', 'duration_seconds', 'transcriber.id', 'tag', 'conversant.code', 'region', 'order', 'begin', 'context', 'end', 'lg.clause', 'interlocutor.no', 'english.trans', 'index.file', 'utterance.pos.lg.dia', 'utterance.dia', 'utterance.pos.lg', 'filemax', 'duration', 'word.count', 'utterance.pos.dia', 'utterance', 'interlocutor.id', 'filepercent'}) and 2 missing columns ({'completion_status', 'translator_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/jdt-pxl/lancorp-augmented/utterances.csv (at revision 57c211ca9fce393c95dd300f12a0d76db53bf925), [/tmp/hf-datasets-cache/medium/datasets/60033527565215-config-parquet-and-info-jdt-pxl-lancorp-augmented-09dabed9/hub/datasets--jdt-pxl--lancorp-augmented/snapshots/57c211ca9fce393c95dd300f12a0d76db53bf925/file_translators_anonymized.csv (origin=hf://datasets/jdt-pxl/lancorp-augmented@57c211ca9fce393c95dd300f12a0d76db53bf925/file_translators_anonymized.csv), /tmp/hf-datasets-cache/medium/datasets/60033527565215-config-parquet-and-info-jdt-pxl-lancorp-augmented-09dabed9/hub/datasets--jdt-pxl--lancorp-augmented/snapshots/57c211ca9fce393c95dd300f12a0d76db53bf925/utterances.csv (origin=hf://datasets/jdt-pxl/lancorp-augmented@57c211ca9fce393c95dd300f12a0d76db53bf925/utterances.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              tag: string
              no: int64
              filename: string
              year: int64
              region: string
              order: int64
              begin: string
              end: string
              duration: string
              interlocutor.no: int64
              lg.clause: string
              conversant.code: string
              context: string
              interlocutor.id: string
              transcriber.id: int64
              index.file: int64
              filemax: int64
              filepercent: double
              utterance.dia: string
              utterance: string
              utterance.pos.dia: string
              utterance.pos: string
              utterance.pos.lg.dia: string
              utterance.pos.lg: string
              english.trans: string
              word.count: int64
              duration_seconds: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3489
              to
              {'filename': Value('string'), 'translator_id': Value('int64'), 'completion_status': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1348, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 26 new columns ({'no', 'utterance.pos', 'year', 'duration_seconds', 'transcriber.id', 'tag', 'conversant.code', 'region', 'order', 'begin', 'context', 'end', 'lg.clause', 'interlocutor.no', 'english.trans', 'index.file', 'utterance.pos.lg.dia', 'utterance.dia', 'utterance.pos.lg', 'filemax', 'duration', 'word.count', 'utterance.pos.dia', 'utterance', 'interlocutor.id', 'filepercent'}) and 2 missing columns ({'completion_status', 'translator_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/jdt-pxl/lancorp-augmented/utterances.csv (at revision 57c211ca9fce393c95dd300f12a0d76db53bf925), [/tmp/hf-datasets-cache/medium/datasets/60033527565215-config-parquet-and-info-jdt-pxl-lancorp-augmented-09dabed9/hub/datasets--jdt-pxl--lancorp-augmented/snapshots/57c211ca9fce393c95dd300f12a0d76db53bf925/file_translators_anonymized.csv (origin=hf://datasets/jdt-pxl/lancorp-augmented@57c211ca9fce393c95dd300f12a0d76db53bf925/file_translators_anonymized.csv), /tmp/hf-datasets-cache/medium/datasets/60033527565215-config-parquet-and-info-jdt-pxl-lancorp-augmented-09dabed9/hub/datasets--jdt-pxl--lancorp-augmented/snapshots/57c211ca9fce393c95dd300f12a0d76db53bf925/utterances.csv (origin=hf://datasets/jdt-pxl/lancorp-augmented@57c211ca9fce393c95dd300f12a0d76db53bf925/utterances.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

filename
string
translator_id
int64
completion_status
string
PC0001-CLIN18.eaf
1
Finished
PC0001-FRST18.eaf
1
Finished
PC0002-CLIN18.eaf
2
Finished
PC0002-FRST18.eaf
2
Finished
PC0004-CLIN18.eaf
2
Finished
PC0004-FRST18.eaf
2
Finished
PC0005-CLIN18.eaf
3
Finished
PC0005-FRST18.eaf
3
Finished
PC0006-CLIN18.eaf
4
Finished
PC0006-FRST18.eaf
4
Finished
PC0007-CLIN18.eaf
4
Finished
PC0007-FRST18.eaf
4
Finished
PC0009-CLIN19.eaf
5
Finished
PC0009-FRST19.eaf
5
Finished
PC0010-CLIN19.eaf
5
Finished
PC0010-FRST19.eaf
5
Finished
PC0012-CLIN19.eaf
5
Finished
PC0012-FRST19.eaf
5
Finished
PC0014-CLIN19.eaf
6
Partial
PC0019-FRST18.eaf
7
Finished
PC0020-CLIN18.eaf
7
Finished
PC0020-FRST18.eaf
7
Finished
PC0038-FRST18.eaf
8
Finished
PC0041-CLIN19.eaf
8
Partial
PC0044-FRST19.eaf
9
Finished
PC0046-CLIN19.eaf
9
Finished
PC0046-FRST19.eaf
9
Finished
PC0050-CLIN19.eaf
9
Finished
PC0050-FRST19.eaf
7
Finished
PC0052-CLIN19.eaf
7
Finished
PC0052-FRST19.eaf
7
Finished
PC0055-CLIN19.eaf
7
Finished
PC0055-FRST19.eaf
7
Finished
PC0070-CLIN18.eaf
7
Finished
PC0070-FRST18.eaf
10
Finished
PC0071-CLIN18.eaf
10
Finished
PC0071-FRST18.eaf
10
Finished
PC0072-CLIN18.eaf
10
Finished
PC0072-FRST18.eaf
10
Finished
PC0082-CLIN19.eaf
10
Finished
PC0082-FRST19.eaf
10
Finished
PC0083-CLIN19.eaf
7
Finished
PC0083-FRST19.eaf
7
Finished
PC0090-CLIN18.eaf
7
Finished
PC0090-FRST18.eaf
7
Finished
PC0091-CLIN19.eaf
7
Finished
PC0091-FRST19.eaf
7
Finished
PC0092-CLIN19.eaf
7
Finished
PC0092-FRST19.eaf
7
Finished
PC0093-CLIN19.eaf
4
Finished
PC0093-FRST19.eaf
2
Finished
PC0094-FRST19.eaf
2
Finished
PC0095-CLIN19.eaf
9
Finished
PC0095-FRST19.eaf
2
Finished
PC0096-CLIN19.eaf
2
Finished
PC0096-FRST19.eaf
2
Finished
PC0097-CLIN19.eaf
2
Finished
PC0097-FRST19.eaf
2
Finished
PC0098-CLIN19.eaf
2
Finished
PC0098-FRST19.eaf
2
Finished
PC0099-CLIN19.eaf
7
Finished
PC0099-FRST19.eaf
7
Finished
PC0100-CLIN19.eaf
7
Finished
PC0100-FRST19.eaf
7
Finished
PC0101-CLIN19.eaf
7
Finished
PC0101-FRST19.eaf
7
Finished
PC0102-CLIN19.eaf
7
Finished
PC0102-FRST19.eaf
7
Finished
PC0103-CLIN19.eaf
7
Finished
PC0103-FRST19.eaf
7
Finished
PC0104-CLIN19.eaf
2
Finished
PC0104-FRST19.eaf
7
Finished
PC0105-CLIN19.eaf
2
Finished
PC0105-FRST19.eaf
2
Finished
PC0106-CLIN19.eaf
2
Finished
PC0106-FRST19.eaf
7
Finished
PC0107-CLIN19.eaf
7
Finished
PC0107-FRST19.eaf
7
Finished
PC0108-CLIN19.eaf
7
Finished
PC0112-CLIN19.eaf
3
Partial
PC0112-FRST19.eaf
3
Partial
PC0113-FRST19.eaf
3
Finished
PC0114-CLIN19.eaf
7
Finished
PC0115-CLIN19.eaf
7
Finished
PC0115-FRST19.eaf
2
Finished
PC0116-CLIN19.eaf
2
Partial
PC0116-FRST19.eaf
2
Finished
PC0117-CLIN19.eaf
9
Finished
PC0117-FRST19.eaf
2
Finished
PC0118-CLIN19.eaf
2
Finished
PC0118-FRST19.eaf
7
Finished
PC0119-CLIN19.eaf
9
Finished
PC0119-FRST19.eaf
7
Finished
PC0120-CLIN19.eaf
7
Finished
PC0120-FRST19.eaf
7
Finished
PC0121-FRST19.eaf
7
Finished
PC0001-CLIN18.eaf
null
null
PC0001-CLIN18.eaf
null
null
PC0001-CLIN18.eaf
null
null
PC0001-CLIN18.eaf
null
null
End of preview.

LanCorp Augmented — Philippine Hokkien–English Parallel Dataset

Dataset Summary

This dataset is an augmented version of the Lannang Corpus (LanCorp), a sociolinguistic corpus of Philippine Hokkien (Lán-nâng-uē) speech collected from Filipino-Chinese communities in metropolitan Manila between 2016 and 2020. The augmentation adds clause-level English translations contributed by bilingual annotators, along with word count and duration metadata, and a separate translator provenance file mapping utterances to their respective annotators.

To the best of the author's knowledge, this constitutes the first parallel Philippine Hokkien–English dataset in the public domain.

This dataset was constructed as part of an undergraduate thesis investigating cross-dialect transfer learning for Philippine Hokkien–English speech-to-speech translation at the University of the Philippines - Cebu.

Dataset Structure

The dataset consists of two files:

utterances.csv

The augmented LanCorp CSV. Contains all original LanCorp columns plus the following additions:

Column Type Description
english.trans string Clause-level English translation contributed by bilingual annotators.
word.count int Word count of the English translation.
duration_seconds float Duration of the associated source audio segment in seconds.

All original LanCorp columns (utterance ID, audio path, transcript, language annotation, part-of-speech tags, social metadata, etc.) are preserved as-is.

file_translators_anonymized.csv

A separate file mapping source audio files to translator identifiers, indicating which annotator was responsible for each file's translations. Translator IDs are anonymized.

Column Type Description
filename string Source audio filename, matches the filename column in the main CSV.
translator_id string Anonymized identifier for the annotator who contributed the translations for this file.
completion_status string Translation completion status for the file; either partial (some utterances translated) or complete (all utterances translated).

Corpus Filtering

The translated subset used for the associated study was derived by applying the following filters to the full augmented corpus:

  • Rows without an associated audio file were removed.
  • Language annotations were normalized to lowercase; only utterances annotated as Hokkien (h) or Lán-lâng-uē (l) were retained.
  • Utterances containing non-lexical vocalizations (e.g., laughter, fillers) were removed via annotation markers and rule-based filtering.
  • Rows with duplicate utterance IDs were dropped; duplicate surface forms across different speakers were retained.
  • Utterances without a confirmed English translation were discarded.

After filtering, 13,404 utterances with confirmed English translations remained, totaling approximately 18.43 hours of audio.

Source Data

This dataset is derived from the Lannang Corpus (LanCorp):

Wilkinson Daniel Wong Gonzales. “Advancing Sino-Philippine linguistics and sociolinguistics using the Lannang Corpus (LanCorp) A multilingual, POS-tagged, and audio-textual databank”. In: International Journal of Corpus Linguistics 29.2 (2024), pp. 213–257

LanCorp is released under CC BY-NC 4.0. This dataset inherits the same license.

Associated Work

This dataset was constructed for use in:

PENDING

License

Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

This dataset is derived from LanCorp (CC BY-NC 4.0) and inherits the same license terms. You are free to share and adapt this dataset for non-commercial purposes, provided appropriate credit is given and the same license is applied to derivative works.

Citation

If you use this dataset, please cite the associated paper and the original LanCorp:

% Associated Paper
% -- PENDING --

% Original LanCorp
@article{gonzales2024advancing,
  title={Advancing Sino-Philippine linguistics and sociolinguistics using the Lannang Corpus (LanCorp) A multilingual, POS-tagged, and audio-textual databank},
  author={Gonzales, Wilkinson Daniel Wong},
  journal={International Journal of Corpus Linguistics},
  volume={29},
  number={2},
  pages={213--257},
  year={2024},
  publisher={John Benjamins Publishing Company Amsterdam/Philadelphia}
}
Downloads last month
12