---
title: "Identifying dialects with textual and acoustic cues — Hanani 2017"
description: "This paper describes the Birzeit/Fitchburg team's (ahaqst) entries in two VarDial 2017… 63% accuracy. 17 references, cited by 8 papers here."
authors: ["Abualsoud Hanani", "Aziz Qaroush", "Stephen Taylor"]
year: 2017
venue: "Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial)"
source: "https://aclanthology.org/W17-1211/"
doi: "10.18653/v1/w17-1211"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/hanani-2017-identifying-dialects-textual-acoustic-cues/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/hanani-2017-identifying-dialects-textual-acoustic-cues/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/page/5/) / Identifying dialects with textual and acoustic cues

# Identifying dialects with textual and acoustic cues

**Authors:** [Abualsoud Hanani](https://md.research.elamur.ai/free/en/authors/abualsoud-hanani/), [Aziz Qaroush](https://md.research.elamur.ai/free/en/authors/aziz-qaroush/) and [Stephen Taylor](https://md.research.elamur.ai/free/en/authors/stephen-taylor/) · **Year:** 2017 · **Venue:** [Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial)](https://md.research.elamur.ai/free/en/venues/vardial/) ([VarDial 2017](https://md.research.elamur.ai/free/en/venues/vardial/2017/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/W17-1211/) · [PDF](https://aclanthology.org/W17-1211.pdf) · [DOI 10.18653/v1/w17-1211](https://doi.org/10.18653/v1/w17-1211) · [OpenAlex](https://openalex.org/W2741270771)

**Citations:** 16 citations (OpenAlex, 2026-10-14) · [8](https://md.research.elamur.ai/free/en/papers/hanani-2017-identifying-dialects-textual-acoustic-cues/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
This paper describes the Birzeit/Fitchburg team's (ahaqst) entries in two VarDial 2017 DSL shared tasks. The Arabic task (ADI) had five dialect classes. The Swiss-German task (GDI) had four. For Arabic, the organizers supplied ASR transcripts and 400-dimensional I-vectors, and the team also downloaded the raw .wav files. The Swiss-German data was text only, transcribed phonetically with the Dieth guidelines.

The team built several kinds of classifiers:
- text classifiers, including per-dialect word n-gram language models scored by cross-entropy, a model that tiles the input with character strings seen in training, and Weka-based voting;
- acoustic classifiers, including GMM-UBM, GMM tokenization and I-vector systems.

Their scores were merged with Focal multiclass logistic regression. On Arabic, combining text and audio gave the best result, a weighted F1 of 0.628. Audio alone did much better than text alone. On Swiss-German, the best run reached about 63% accuracy.

The authors also found a large gap between scores on held-out training lines and on the official test set. They attribute it to topic bias or to an inhomogeneous corpus, which is a useful warning about how evaluation splits are built.

## Key points
- **ADI data:** 14,000 training lines (1.7MB), 1524 development lines and 1492 test lines. The team ran three runs:

  | Run | Input | Accuracy | Weighted F1 |
  |---|---|---|---|
  | run2 | text only | 0.323 | 0.314 |
  | run3 | acoustic only | 0.593 | 0.586 |
  | run1 | text + acoustic | 0.629 | 0.628 |

- **Team progress:** the best ADI F1 rose from 0.426 in 2016 to 0.628 in 2017. The top team in 2017 (unibuckernel) reached 0.763.
- **GDI data:** 14,478 lines in total, split into 13,032 for training and two 723-line development files, plus 3638 test lines.
  - The character-string entropy run (run2) scored 0.629 accuracy and 0.614 weighted F1.
  - The word-entropy run (run1) scored 0.562 accuracy.
  - On reserved training data the same two classifiers had scored 79% and 84%.
- **Character-string classifier:** it collects all byte strings of up to 25 bytes from training. For each dialect, it covers the test segment with the longest known strings first and adds up their log-frequencies.
- **Acoustic fusion:** the final acoustic system combines four subsystems with Focal linear logistic regression:
  - GMM-UBM with 2048 components;
  - GMM-tokenization bigram with 256 components;
  - unigram with 2048 components;
  - I-vector.
- **Baseline n-gram order:** in the SVM baseline (svm multiclass), word n-grams longer than 3 made accuracy worse.

## Interesting ideas
- Classify text by covering it greedily with the longest substrings seen in training per class and summing their log-frequencies. This ignores word boundaries entirely, so it can pick up spelling and pronunciation variants.
- To train fusion weights on the development set without leakage, cut it into two halves, fit on one, test on the other, then swap.
- When samples come from coherent conversations, rare topic words (such as a city name) can look like class markers even when they say nothing about the class. A random line-level holdout then overstates accuracy, here 84% on held-out lines versus 56% on test.
- Combine heterogeneous evidence at the level of scores, using a light logistic-regression layer over each subsystem's per-class scores. This let weak text cues still add to strong acoustic ones.
- Note how a transcription convention shapes the data: Arabic transcripts were normalized to standard spelling, while Swiss-German ones were written as pronounced. The same word therefore shows up as one form in one corpus and many forms in the other.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (tokens): a similar longest-known-piece covering could score how to segment or normalize unknown and variant-spelled words before tagging, and the chosen pieces would show why.
- **I2** (learn): the same swap-halves scheme could calibrate how much each witness parser's vote counts in silver-data agreement without grading the weights on the data used to fit them.
- **I3** (learn): split evaluation by document or story rather than by sentence, and add negative controls that swap topic words, so that topical shortcuts are not counted as real skill.
- **I4** (learn): a small, inspectable fusion over the per-arc scores of the perceptron parser and gparse could replace plain majority voting and still show each witness's contribution.
- **I5** (tree): when converting or mixing treebanks of different UD dialects or registers, record each source's spelling-normalization policy so that vocabulary differences are not mistaken for grammatical ones.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Birzeit University](https://md.research.elamur.ai/free/en/universities/birzeit-university/) — University, Birzeit, Palestine · 38 works · 798 citations
- [Fitchburg State University](https://md.research.elamur.ai/free/en/universities/fitchburg-state-university/) — University, Fitchburg, United States · 2 works · 39 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 17,965 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,450 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,296 works

🧭 Topics (2): [Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/) · 3,066 works · [🎙️ Speech & spoken language](https://md.research.elamur.ai/free/en/topics/speech/) · 519 works

## Cite

Cite as: Abualsoud Hanani, Aziz Qaroush and Stephen Taylor. 2017. Identifying dialects with textual and acoustic cues. Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{hanani2017identifying,
  title = {{Identifying dialects with textual and acoustic cues}},
  author = {Abualsoud Hanani, Aziz Qaroush and Stephen Taylor},
  booktitle = {Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial)},
  year = {2017},
  doi = {10.18653/v1/w17-1211},
  url = {https://doi.org/10.18653/v1/w17-1211}
}
```

- [← previous An enhanced automatic speech recognition system for Arabic](https://md.research.elamur.ai/free/en/papers/menacer-2017-enhanced-automatic-speech-recognition-system/)
- [next → Semantic Similarity Analysis for Paraphrase Identification in Arabic Texts](https://md.research.elamur.ai/free/en/papers/mahmoud-2017-semantic-similarity-analysis-paraphrase-identification/)
- [↑ back to papers of 2017](https://md.research.elamur.ai/free/en/papers/2017/page/5/)

## References

17 references, 8 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Mark Hall, Eibe Frank, Geoffrey Holmes, Bernhard Pfahringer, Peter Reutemann, and Ian H. Witten. 2009. The WEKA data mining software: An update. SIGKDD Explorations, 11(1). [↗](https://doi.org/10.1145/1656274.1656278)
2. Ahmed Ali, Najim Dehak, Patrick Cardinal, Sameer Khurana, Sree Harsha Yella, James Glass, Peter Bell, and Steve Renals. 2016. [Automatic dialect detection in Arabic broadcast speech](https://md.research.elamur.ai/free/en/papers/ali-2015-automatic-dialect-detection-arabic-broadcast/). In Proceedings of Interspeech 2016, pages 2934–2938.
3. Abualsoud Hanani, Hanna Basha, Yasmeen Sharaf, and Stephen Taylor. 2015. Palestinian Arabic regional accent recognition. In The 8th International Conference on Speech Technology and Human-Computer Dialogue. [find](https://scholar.google.com/scholar?q=Abualsoud+Hanani%2C+Hanna+Basha%2C+Yasmeen+Sharaf%2C+and+Stephen+Taylor%2E+2015%2E+Palestinian+Arabic+regional+accent+recognition%2E+In+The+8th+International+Conference+on+Speech+Technology+and+Human%2DComputer+Dia)
4. Fadi Biadsy, Julia Hirschberg, and Nizar Habash. 2009. [Spoken arabic dialect identification using phonotactic modeling](https://md.research.elamur.ai/free/en/papers/biadsy-2009-spoken-arabic-dialect-identification-phonotactic/). In Proceedings of the EACL Workshop on Computational Approaches to Semitic Languages, pages 53–61.
5. Abualsoud Hanani, Aziz Qaroush, and Stephen Taylor. 2016. [Classifying ASR Transcriptions According to Arabic Dialect](https://md.research.elamur.ai/free/en/papers/hanani-2016-classifying-asr-transcriptions-according-arabic/). In Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), pages 126–134, Osaka, Japan.
6. Houda Bouamor, Nizar Habash, and Kemal Oflazer. 2014. [A multidialectal parallel corpus of Arabic](https://md.research.elamur.ai/free/en/papers/bouamor-2014-multidialectal-parallel-corpus-arabic/). In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC14). European Language Resources Association (ELRA), May.
7. Radu Tudor Ionescu and Marius Popescu. 2016. [UnibucKernel: An Approach for Arabic Dialect Identification Based on Multiple String Kernels](https://md.research.elamur.ai/free/en/papers/ionescu-2016-unibuckernel-approach-arabic-dialect-identification/). In Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), pages 135–144, Osaka, Japan.
8. Pierre-Michel Bousquet, Anthony Larcher, Driss Matrouf, Jean-François Bonastre, and Oldrich Plchot. 2012. Variance-spectra based normalization for ivector standard and probabilistic linear discriminant analysis. In Odyssey: The Speaker and Language Recognition Workshop, pages 157–164. [find](https://scholar.google.com/scholar?q=Pierre%2DMichel+Bousquet%2C+Anthony+Larcher%2C+Driss+Matrouf%2C+Jean%2DFranc%CC%A7ois+Bonastre%2C+and+Oldrich+Plchot%2E+2012%2E+Variance%2Dspectra+based+normalization+for+ivector+standard+and+probabilistic+linear+discrimina)
9. Thorsten Joachims. 2008. Multi-class support vector machine. downloaded in January 2017 from [http://www.cs.cornell.edu/people/](http://www.cs.cornell.edu/people/) tj/svm_light/svm_multiclass.html. [↗](http://www.cs.cornell.edu/people/)
10. Niko Brümmer. 2007. Focal multi-class: Toolkit for evaluation, fusion and calibration of multi-Shervin Malmasi and Marcos Zampieri. 2016. Arabic class recognition scores tutorial and user Dialect Identification in Speech Transcripts. In Pro-manual. downloaded in January 2017 from [https://sites.google.com/site/nikobrummer/focalmulticlass](https://sites.google.com/site/nikobrummer/focalmulticlass). ceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), pages Çağri Çöltekin and Taraka Rama. 2016. Discriminat-106–113, Osaka, Japan. ing Similar Languages with Linear SVMs and Neu-Shervin Malmasi, Eshrag Refaee, and Mark Dras. ral Networks. In Proceedings of the Third Work-2015. Arabic dialect identification using a parallel shop on NLP for Similar Languages, Varieties and multidialectal corpus. In Proceedings of the 14th Dialects (VarDial3), pages 15–24, Osaka, Japan. Conference of the Pacific Association for Computational Linguistics (PACLING 2015), pages 209–217, Najim Dehak, Patrick J. Kenny, Réda Dehak, Pierre Bali, Indonesia, May. [↗](https://sites.google.com/site/nikobrummer/focalmulticlass)
11. Dumouchel, and Pierre Ouellet. 2011. Front end factor analysis for speaker verification. IEEE Trans-Shervin Malmasi, Marcos Zampieri, Nikola Ljubešić, actions on Audio, Speech and Language Processing, Preslav Nakov, Ahmed Ali, and Jörg Tiedemann. 19:788–798. 2016. Discriminating between similar languages and Arabic dialect identification: A report on the Eugen Dieth. 1986. Schwyzertütschi Dialäktschrift: third DSL shared task. In Proceedings of the 3rd Dieth-Schreibung. Sauerländer Verlage, Aarau, Workshop on Language Technology for Closely Re-Switzerland. lated Languages, Varieties and Dialects (VarDial), John W. Eaton et al. 2012. Gnu octave program for Osaka, Japan. scientific calculation. current version available from David Martı́nez, Oldrich Plchot, Lukás Burget, On-[http://www.octave.org.drej](http://www.octave.org.drej) Glembek, and Pavel Matejka. 2011. Language recognition in i-vectors space. In Interspeech, pages Heba ElFardy and Mona Diab. 2013. Sentence level 861–864. dialect identification in Arabic. In Proceedings of Maryam Najafian, Andrea DeMarco, Stephen Cox, and Martin Russell. 2014. Unsupervised model selection for recognition of regional accented speech. In Proceedings of Interspeech 2014. [↗](http://www.octave.org.drej)
12. Fred S. Richardson and William M. Campbell. 2008. Language recognition with discriminative keyword selection. In ICASSP’08, pages 4145–4148. [find](https://scholar.google.com/scholar?q=Fred+S%2E+Richardson+and+William+M%2E+Campbell%2E+2008%2E+Language+recognition+with+discriminative+keyword+selection%2E+In+ICASSP%E2%80%9908%2C+pages+4145%E2%80%934148%2E)
13. Tanja Samardzic, Yves Scherrer, and Elvira Glaser. 2016. ArchiMob–A corpus of spoken Swiss German. In Proceedings of the Language Resources and Evaluation (LREC), pages 4061–4066, Portoroz, Slovenia). [find](https://scholar.google.com/scholar?q=Tanja+Samardzic%2C+Yves+Scherrer%2C+and+Elvira+Glaser%2E+2016%2E+ArchiMob%E2%80%93A+corpus+of+spoken+Swiss+German%2E+In+Proceedings+of+the+Language+Resources+and+Evaluation+%28LREC%29%2C+pages+4061%E2%80%934066%2C+Portoroz%2C+Slovenia%29%2E)
14. Ioannis Tsochantaridis, Thomas Hofmann, Thorsten Joachims, and Yasemin Altun. 2004. Support vector machine learning for interdependent and structured output spaces. In Proceedings of the Twenty-first International Conference on Machine Learning, ICML ’04, pages 104–, New York, NY, USA. ACM. [find](https://scholar.google.com/scholar?q=Ioannis+Tsochantaridis%2C+Thomas+Hofmann%2C+Thorsten+Joachims%2C+and+Yasemin+Altun%2E+2004%2E+Support+vector+machine+learning+for+interdependent+and+structured+output+spaces%2E+In+Proceedings+of+the+Twenty%2Dfirst+)
15. Omar F. Zaidan and Chris Callison-Burch. 2011. [The Arabic Online Commentary dataset: An annotated dataset of informal Arabic with high dialectal content](https://md.research.elamur.ai/free/en/papers/zaidan-2011-arabic-online-commentary-dataset-annotated/). In Proceedings of ACL, pages 37–41.
16. Omar F. Zaidan and Chris Callison-Burch. 2014. [Arabic dialect identification](https://md.research.elamur.ai/free/en/papers/zaidan-2014-arabic-dialect-identification/). Computational Linguistics, 40(1):171–202. [↗](https://doi.org/10.1162/coli_a_00169)
17. Marcos Zampieri, Shervin Malmasi, Nikola Ljubešić, Preslav Nakov, Ahmed Ali, Jörg Tiedemann, Yves Scherrer, and Noëmi Aepli. 2017. [Findings of the VarDial Evaluation Campaign 2017](https://md.research.elamur.ai/free/en/papers/zampieri-2017-findings-vardial-evaluation-campaign/). In Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), Valencia, Spain.

*Updated 1 November 2026*
