NADA: New Arabic Dataset for Text Classification
Paper · 2018 · Nada Alalyani and Souad Larabi-Marie-Sainte
Summary
Finding Arabic documents is only the beginning of a classification experiment. The documents need subject labels that define what the classifier should predict, and their contents need to be represented in a form the classifier can use. If each research group makes those decisions independently, even experiments aimed at the same problem can be difficult to compare. Nada Alalyani and Souad Larabi-Marie-Sainte address that problem with NADA, a resource for Arabic text classification assembled from the DAA and OSAC collections. Their contribution is the prepared dataset, its organization, and an initial evaluation of how well its subjects can be predicted.
The source material arrives in different states. DAA is described as having nine categories, each with 400 documents that have already been processed. The OSAC material used in the study covers six categories and requires preparation. The authors remove unwanted characters, bring selected written forms into agreement, discard common grammatical words, and apply light stemming to strip some attached material from words. They describe applying a Firefly-based feature selection procedure to retain relevant words in individual documents. The Dewey Decimal Classification scheme gives the combined collection a subject hierarchy. NADA’s main inventory covers 10 categories: economics, politics, law, Arabic literature, general art, sport, Islam, health, astronomy, and computer science. The authors use Synthetic Minority Over-Sampling Technique, or SMOTE, to increase the representation of less numerous categories.
The evaluation represents documents as word attributes in a sparse file prepared with WEKA. A support vector machine, abbreviated SVM, learns to associate those attributes with the supplied labels. The reported split reserves 60% of the data for training and 40% for testing. The authors give NADA an experimental size of 13,066 instances and report an accuracy of 93.8792%. The corresponding accuracies for the separate source collections are 80.9087 % for DAA and 98.1758 % for OSAC. NADA covers a larger set of categories and scores between the source collections on their respective tasks. Its classification run also takes the longest.
For Arabic natural language processing, the practical result is a collection available as categorized text, attribute data, and a sampled file. The paper shows that the resulting representation supports successful topic prediction in the reported experiment. The comparisons leave the effects of individual construction choices unresolved, including whether oversampling improves accuracy. The report also leaves open how sampling and feature preparation relate to the training and test boundary, and some category-level F-measures conflict with the precision and recall beside them. These details matter when using the published scores as benchmarks for a new experiment.
Deep dive: NADA: New Arabic Dataset for Text Classification
NADA combines Arabic document collections into a topic classification dataset with Dewey categories, processed text, and a benchmark. · about 35 minutes to read
The problem and its context
What a collection needs before classification can begin
A topic classification study starts with a decision about the answers it will accept. A document about an astronomy subject might belong in a broad science category in one collection and in a dedicated astronomy category in another. Either choice can define an experiment. The meaning of a correct prediction depends on which choice the collection makes and applies to its documents. Changing the label inventory can therefore change the task even when the underlying writing stays the same.
For the authors, access to suitable material is a recurring difficulty in Arabic categorization. They describe collections that can be obtained but need changes before they can support a classification study. Some require work on the labels, some need linguistic preparation, and some require conversion into a usable file format. These are different kinds of work. Conversion can make a dataset readable by classification software while leaving uncertain subject assignments exactly as they were. A clear inventory of subjects can delimit the prediction task while leaving every document in raw form.
The paper mentions the 1.5 billion words Arabic Corpus as an example of a resource without the defined classes the authors seek. The scale of a collection tells a reader how much text it contains. For supervised classification, the reader also needs to know which documents count as examples of each subject. A collection can have considerable value as a source of Arabic writing and still leave a classification researcher with the job of defining and assigning those labels.
Availability enters the argument in two ways. The authors point to Arabic corpora that can be obtained freely, then explain why some of them still require work for topic prediction. They also describe commercial alternatives as expensive. Their proposed resource addresses access to the material and the work of taking it into an experiment. Classified text files address one part of that problem. A prepared representation for classification software addresses another.
These difficulties also affect comparisons between studies. Imagine two researchers interested in economics documents who use collections with different neighboring categories. The first might need to distinguish economics mainly from subjects such as sport and astronomy. The second might also need to separate economics from politics and law. A difference in accuracy could reflect the alternatives presented to each classifier. Details about labels, source documents, and preparation therefore help determine what a published score means.
The Arabic resources the authors review
The paper describes a field with several kinds of material already available. Newspaper sources include Al-Dostor and Akhbar-Alkhaleej. The review also mentions Arabic NEWSWIRE, the Quranic Arabic Corpus, and collections drawn from Arabic news sites. The existence of those resources establishes that Arabic text is available through several routes. Each route can supply documents with different subject coverage and different reasons for having been collected in the first place.
The paper’s survey of categorization corpora includes material associated with KACST, the BBC, and OSAC. Its examples range from general news divisions to material concerned with particular religious topics, writers, and other specialized subjects. These examples illustrate how differently a collection may define a category. A news topic, a section of religious writing, and a group of texts associated with a writer give a classifier different kinds of evidence to learn from. The review motivates looking at those definitions before choosing a resource for a subject classification experiment.
The authors also mention Watan-2004 and Khaleej-2004, along with a resource built from both. The survey lists these collections and describes recurring preparation difficulties. It does not evaluate all of them under a shared protocol. Its role in the paper is to explain why the authors wanted a freely accessible corpus with a declared topic structure and deliverable formats.
Examples from outside Arabic help set the context. The authors refer to English newsgroup and Reuters material and to resources for Chinese and Thai. Those examples establish the broader practice of building collections for categorization. The paper's own experiment concerns Arabic documents, and its survey gives no common evaluation that would support comparing resource quality across the languages it names.
What changes when Arabic is prepared for topic prediction
The Arabic language discussion calls attention to distinctions a reader encounters in written text. Diacritics may appear above or below letters, and contemporary writing often omits marks that a reader can supply from knowledge of the language. The authors also note that letter shapes depend on their positions and that letters can be distinguished by the placement or number of dots. They mention grammatical gender and give examples of vocabulary richness. These observations establish the linguistic setting for the processing choices that follow.
Some choices concern how to represent variation within Arabic writing. If a distinction between written forms contributes little to a topic decision, bringing the forms together can let their occurrences contribute to the same word attribute. Other distinctions can carry information about a subject. Two lexical items may share a root and still be useful as separate indicators. The authors’ approach to word reduction reflects that issue by favoring light stemming over extracting roots.
There is also a difference between the evidence a reader needs to understand a document and the evidence the experiment retains for subject assignment. Punctuation, numbers, and grammatical words all have roles in the original writing. A topic classifier can be tested using a reduced representation of that writing. The paper treats linguistic preparation as part of defining such a representation. Its account of Arabic provides reasons to make deliberate choices about what survives, while the actual experiment measures predictions over the resulting document features.
Why use a library classification scheme
The Dewey Decimal Classification scheme, or DDC, organizes resources hierarchically. The paper introduces it through its use in libraries, where related materials can be placed within broader subject areas and found through that organization. A broad class can be divided into narrower classes, which can in turn be subdivided. A subject name in such a system has a position as well as a label.
That position is useful when bringing together existing corpora. A source directory supplies a label for its own files. A common subject scheme gives the authors a way to relate that label to labels from another source and describe the scope of the combined collection. Economics, politics, and law can be named as separate classification targets while their relationship as social science subjects remains visible. The organization gives the reader information that a flat list of directory names would leave implicit.
The paper links the need for organized classes to the difficulty of getting a usable distribution of examples. The two concerns involve different properties of the collection. A hierarchy describes the subject boundaries and relationships. The number of documents in each category depends on what the authors collect and how they sample it. NADA addresses the organization through DDC and the uneven representation through SMOTE.
The method, step by step
NADA begins with Arabic documents that already have source categories. The authors use those categories as inputs to a new collection, with DDC providing a common subject structure. They describe a separate preparation path for the raw OSAC documents and retain DAA files that had previously been processed. A sampled version changes the representation of smaller categories, and a word attribute version supplies inputs to the classifier. These stages concern different properties of the same resource, from its labels to the contents of its individual experimental rows.
The diagram follows the main activities described in the construction and evaluation. The paper presents sampling and percentage partitioning in different parts of its account, leaving their exact dependency unresolved.
NADA construction and classification
The steps in order.
Start with the category directories
DAA, which the paper calls the Diab Dataset, supplies files from nine categories with 400 documents in each category. A directory groups the files belonging to a given category, so the collection already provides a way to associate each file with a subject. The paper says that the files have undergone processing and filtering before this study. NADA draws on the documents in every DAA category. The inherited files bring both their subject assignments and the effects of their earlier preparation.
OSAC, short for Open Source Arabic Corpora, also supplies documents organized by directory. The construction section describes six categories with class sizes in the range [500, 3000] documents. The relevant OSAC files are treated as raw material. The authors describe working on their text before using it in NADA, so the OSAC and DAA paths begin at different stages of preparation. The instance total reported for the evaluated OSAC collection is a separate detail from the range in the source description.
The classification tables make it possible to see some of the common ground between the sources. Both have rows for economics, law, sport, Islam, and health. DAA also contributes subjects such as Arabic literature and politics. Astronomy appears in the OSAC results. A shared topic name makes it possible to discuss the sources within a common subject inventory. Files with that name can still differ in style, vocabulary, processing history, or subject emphasis.
The introduction mentions adding classes and documents as part of constructing NADA. The procedural account centers on DAA and OSAC, with little detail about individual additions. A reader can identify the source collections and compare the reported category inventories. Reconstructing which source documents or additions correspond to particular NADA files would require a more detailed account of their provenance.
Clean the OSAC writing
The first described transformation removes digit and number material, hyphens, punctuation, and characters outside Arabic. At this stage the authors are changing the text that can reach the word representation. If a document contained a numerical expression, that expression would be unavailable to a feature drawn from the cleaned form. If a document used a term written in a different script, the character policy would affect how much of that term remained. The operation directs the representation towards Arabic lexical material.
Character filtering is easy to describe as an intention and harder to reproduce from that description alone. Consider a hyphen between two strings. Dropping the mark while joining the strings could give a later word converter a different input from replacing the mark with a space. The example illustrates what an implementation decision can change. The paper specifies kinds of characters to remove, with no full account of the effect of removal on the adjacent strings.
That distinction matters because a later stage needs tokenization, the division of writing into units that can be treated as tokens. The introduction mentions tokenization among the linguistic operations that raw collections may require. In NADA's construction account, the processing moves from character operations to removing and reducing words. The experimental conversion also produces word attributes. The paper gives the purposes of those stages without laying out a complete rule for the boundaries between tokens.
Bring selected letter forms into agreement
After the character filtering, the authors normalize some Arabic letters to unify written variants. Normalization here refers to a mapping in the representation. Occurrences with different input forms can contribute to the same retained form if the mapping identifies them. That can matter for a classifier that receives word attributes, because evidence represented separately before the mapping can be combined afterwards.
The transformation deals with selected letter forms. A full normalization specification would identify the starting forms, their replacements, and any contexts that affect the decision. The paper gives the objective of the operation without enumerating those rules. The reader can therefore follow the role of normalization in the pipeline without inferring particular letter substitutions from the general discussion of Arabic writing.
This step also changes what it means to compare the prepared OSAC documents with DAA. The paper says that DAA was processed earlier. It describes the normalization of OSAC as an explicit action in the NADA workflow. Whether the earlier DAA procedure treated the same variants the same way remains open. Even documents about the same topic can arrive at the word selection stage with differences produced by their preparation histories.
Remove common grammatical items
The authors next remove Arabic stop words, giving examples such as articles, prepositions, and pronouns. A stop word is a form the procedure excludes from the document representation. The categories named in the paper explain the reasoning. Writers use many such words to express grammatical relationships across subjects. A subject classifier can place more emphasis on topical vocabulary if those common forms are absent from its input.
Removal has a concrete consequence. A pronoun can help a reader track who is being discussed, and a preposition can express how two parts of an account are related. Once removed, their occurrences supply no word attributes to the classifier. In a topic classification experiment, the question is how much those occurrences contribute to assigning the correct subject. The paper adopts removal as a construction choice and reports its evaluation on the resulting resource.
The examples also define the procedure only in broad terms. A language can have multiple written forms that serve related grammatical functions, and an exact list would tell a reader which strings the procedure excludes. Order can matter as well. If a stop word can be attached to a longer written form, removal before stemming depends on what the tokenization and word matching stages regard as an item. The paper describes stop-word removal before light stemming and leaves such interactions unspecified.
Reduce attached material with light stemming
The paper then applies light stemming to the OSAC text. In this context a stem is a reduced word form used as a representation. The processing removes attached material, including endings, so that some surface variants contribute to the same feature. This addresses variation connected to Arabic morphology, the structure of words and the ways their forms change.
The authors name Chen and Khoja procedures when explaining why they avoid root extraction. Their concern is that different words can be brought together under a common root even when the differences between them help distinguish subjects. The proposed value of light stemming is that it pays attention to variation at word edges while preserving more lexical distinctions than the root extraction they discuss.
A word attribute makes the significance of that choice concrete. If two written words are reduced to one representation, subsequent processing can treat evidence from both occurrences together. This can help when the words differ in a way that is incidental to subject prediction. If the words carry different topical information, the merged attribute can be less specific. The authors give this tradeoff as the reason for their choice. They do not provide a list of the removed affixes or walk through an example that would determine the exact output of their stemmer.
Keep selected words with Firefly
The next stage uses feature selection. A feature is an aspect of the document made available to the classifier. In this experiment words provide the basis of the features. The authors describe applying a Firefly-based procedure to individual documents to select relevant words and reduce the amount of material each document carries forward. They refer to their separate work on Firefly feature selection for the technique.
It helps to distinguish this operation from the earlier transformations. Normalization changes how a written form is expressed. Stemming changes which word variants can share a reduced form. Feature selection can exclude a word that has already survived both transformations. For the classification experiment, a document can ultimately be represented by a subset of its prepared words. A feature space with fewer distinct word attributes is what the paper means by lower dimensionality.
Applying the procedure to each document has implications for the later conversion. A word can in principle be retained in some files and absent from others, and the attribute representation subsequently needs a shared way to refer to the words that survive. The paper identifies the operation at document level. It does not explain the criterion for relevance, the search settings, whether any information is learned from multiple documents, or how the resulting word choices determine the final attribute inventory.
The reference to Firefly gives the operation a name and a connection to a separate method. The construction account supplies no optimization equation and no comparison of candidate search procedures in NADA. Its operational description is that relevant words are selected from the documents and the reduced versions contribute to the resource. The precise decision about why one word survives while another is discarded remains outside that description.
Choose the NADA subjects
The paper uses a diagram to identify branches of the Dewey hierarchy selected for NADA. It describes the final collection as reaching 5 first-level DDC classes and including narrower classes from the next level. The main inventory has 10 prediction categories. The number of broad branches describes coverage of the subject scheme, while the category count describes the labels used for classification.
The social science portion includes economics, politics, and law. Astronomy, computer science, and health are among the remaining categories, along with sport, Arabic literature, general art, and the Islamic religion. The reported taxonomy gives the reader a way to set a specific subject alongside its larger area. It also shows that the corpus samples the hierarchy through selected branches. A broad branch represented by a particular subject in NADA can still contain many topics outside the collection.
The paper names subjects and shows the chosen hierarchy, with limited detail on how individual texts are assigned during assembly. A mapping between source categories can be straightforward when the labels and their boundaries are shared. It can require more judgment when the names resemble one another but the source directories group material differently. The paper's classification experiment accepts the assigned labels as its targets and does not report a separate review of those mapping decisions.
In the experimental results, the predictions are evaluated against the selected category labels. The hierarchy is therefore visible as an organizing principle for the data, while performance is reported for labels such as law and health. The authors give no procedure for first predicting a broad Dewey branch and then selecting a descendant, and the reported measures give no partial credit based on how close two labels are in the hierarchy.
Prepare a sampled version
The authors use SMOTE to address differences in the amount of material available across categories. Its full name, Synthetic Minority Over-Sampling Technique, describes its role. Oversampling increases the representation of categories that have fewer examples, and synthetic instances add support through generated records. The construction account includes a sampled file, and the paper illustrates the distributions before and after the operation.
Balance concerns the representation of each class in the dataset being counted. When fewer examples carry one label, that label supplies fewer observations than larger classes in a straightforward use of the collection. Increasing its support changes the distribution presented to the classification procedure, or the distribution measured in a sampled file. The authors intend that intervention to improve classification performance. The paper's before-and-after figure directly documents the distribution change.
A synthetic instance has a different relationship to the source material from a collected document. The original DAA and OSAC files contain Arabic writing that entered the corpus through those collections. Sampling can produce additional records derived from existing examples. The number of records after such an intervention can therefore describe the scale of a classification workload without counting independently sourced writings.
The paper gives totals before and after SMOTE in its collection description and identifies the sampled artifact as a form of NADA. It supplies no equation for generating an instance, no settings for how examples were generated, and no complete account of which partitions were eligible as inputs. The authors refer to making the classes balanced. They provide no rule that would establish that each class must have exactly the same number of records, so the safest description is that the intervention makes the distribution more even.
Deliver the documents and attributes
The authors describe releasing NADA in categorized text files, in Attribute-Relation File Format, abbreviated ARFF, and in a sampled file. The text files hold Arabic content grouped by category. ARFF describes instances through declared attributes. An instance corresponds to a text file in the document representation. The sampled file supplies a version prepared to address imbalance.
These forms support different parts of a classification study. In a categorized file, a researcher can inspect the writing associated with its subject. In an attribute representation, the software can access the fields that constitute a prediction input. In the sampled representation, the category counts can reflect the addition of generated instances. The authors' decision to distribute these forms is part of their effort to reduce the preparation a subsequent researcher must carry out.
For the experiment, the paper describes a CSV stage and a conversion to sparse ARFF in WEKA version 3-7-13. It names the converters TextDirectoryToArrf and StringToWordVector. The word-vector stage represents a document through attributes corresponding to words. A sparse representation records the populated entries without spelling out every absent word for every document. This suits a collection in which any individual file uses only part of the shared vocabulary.
The description gives the software, the resulting format, and the named conversion operations. It does not identify all settings for vocabulary construction or the values stored for word attributes. A word attribute could express presence or a measure of occurrence, and the paper provides insufficient detail to assign a specific weighting rule. The representation is reproducible in broad outline, with the exact contents of its experimental rows depending on choices the article leaves open.
Fit the classifier and score its predictions
The experimental account describes consolidating the data into an ARFF file and using a percentage division. Training receives 60% of the collection and testing receives 40%. The training portion supplies examples whose labels are known to the classifier. The testing portion supplies documents whose predicted labels can be compared with the recorded labels. The prediction question is which of the supplied subjects should be assigned to each test instance.
The SVM is the classifier used for that purpose. A support vector machine learns a decision boundary from labeled inputs. Here those inputs are documents represented by attributes derived from words. The paper identifies the classifier by family and reports the resulting decisions as subject labels. It does not describe the exact SVM configuration or how the classifier handles the multiple subject categories internally.
The measures describe different aspects of the decisions. Accuracy counts the share of evaluated instances assigned their recorded label. Precision for a subject asks how often a prediction of that subject is correct. Recall starts from the documents that belong to the subject and asks how many were successfully retrieved by that prediction. F-measure is intended to combine the precision and recall of a category. The authors also report weighted averages across labels and a running time for each dataset.
The paper states its methods and measures in words. It gives no explicit formulas for the processing steps, the classifier, or the evaluation metrics. The protocol is therefore clearest at the level of its inputs, transformations, and outcomes. The duration and scores belong to the reported experiments, while implementing the precise run would require settings beyond the named operations.
Experiments and results
What the source collections contribute to the comparison
The experiment reports SVM classification on DAA, OSAC, and NADA. The paper gives 3600 instances for DAA, 3710 for OSAC, and 13,066 for NADA. These are the collection sizes cited in the discussion of the experiments and running times. The 60% training and 40% testing division describes the stated evaluation protocol. The accuracy figures refer to correctly classified instances in that experimental comparison.
DAA and OSAC provide reference tasks for interpreting NADA. Each source collection is evaluated on its own labels. The recorded outcomes show what happens when the same named classifier is applied to those collections and to the resource assembled from them. There is no comparison of several classifiers competing on a fixed NADA split.
The source inventories help interpret these reference points. OSAC has six reported classes in the study. DAA has nine, and the main NADA inventory has 10. A class that is absent from a collection presents no competing prediction there. For instance, an OSAC law prediction is made without a politics category in that experiment, whereas a NADA law prediction is made with politics among the available labels. The class names alone do not tell us how frequently those subjects are confused, but they make clear that the possible decisions differ.
Overall accuracy
NADA's reported accuracy is 93.8792%. DAA has the lowest accuracy, at 80.9087 %, and OSAC has the highest, at 98.1758 %. The comparison places the combined collection between its contributors. It gives subsequent experiments a point of reference for prediction on the assembled resource under the authors' reported setup.
SVM accuracy on DAA, OSAC, and NADA
NADA scores above DAA and below OSAC.
The numbers
| System or setting | accuracy % |
|---|---|
| DAA | 80.9087 |
| NADA (this paper) | 93.8792 |
| OSAC | 98.1758 |
The paper reports incorrect classifications as well. These account for 19.0913 % of the DAA evaluation, 6.1208 % of the NADA evaluation, and 1.8242 % of the OSAC evaluation. Each figure summarizes the errors across the task belonging to that collection. It does not identify the labels assigned to those errors or the source of the corresponding documents within NADA.
The authors suggest that DAA's lower score helps explain why NADA falls below OSAC. They propose limitations in DAA's earlier preprocessing or filtering as a possible reason for its performance. This interpretation concerns the quality of inherited preparation, which can vary even when a collection is described as already processed. The paper does not run DAA through an alternative preparation under matched evaluation conditions, so the proposed explanation remains a hypothesis.
The reported ordering also has a practical interpretation. OSAC already supplies an effective task for the six categories tested, while NADA supplies a larger representation with a wider inventory. Someone comparing results needs to know whether the goal is performance on the particular OSAC subjects or performance on the broader NADA task. The numerical ordering alone cannot decide which inventory serves that goal.
What precision and recall show for individual subjects
The DAA results show substantial variation across subjects. Politics has precision of 0.485 and recall of 0.436. The precision indicates that many documents receiving a politics prediction have a different recorded label. The recall indicates that the classifier misses a substantial portion of the documents labeled politics. These two observations identify different groups of errors within the same category.
Sport in DAA has precision of 0.970 and recall of 0.953. Both measurements are much stronger than the politics results in the same source experiment. The example gives a reason to inspect category rows alongside accuracy. A shared training and testing procedure can produce reliable classification for one subject while producing a considerably harder prediction problem for another. The paper does not supply the mistaken documents, so it leaves the linguistic and labeling causes of the difference open.
The DAA economics row illustrates a different pattern. Its precision is 0.675, while recall is 0.856. The higher recall indicates better coverage of documents recorded as economics than the precision indicates reliability of economics predictions. A reader looking only at recall would miss the extent to which other documents were included among the economics predictions. A reader looking only at precision would miss how much of the recorded economics category the classifier found.
For NADA, politics has precision of 0.948 and recall of 0.950. The shared label makes the DAA row an obvious point of comparison, but the documents evaluated, category alternatives, and preparation can differ. The measurements show that politics is predicted much more successfully in the NADA run. They leave open how much of that difference would remain if the same test documents were held fixed.
SVM recall across selected DAA and NADA topics
Politics has the lowest recall among these DAA topics and a higher reported recall in NADA.
The numbers
| System or setting | recall |
|---|---|
| DAA politics | 0.436 |
| NADA politics | 0.950 |
| DAA economics | 0.856 |
| NADA economics | 0.884 |
| DAA sport | 0.953 |
| NADA sport (this paper) | 0.964 |
Other NADA subjects give some sense of where the category outcomes differ within the reported run. Law has precision of 0.887 and recall of 0.896. Economics has precision of 0.908 and recall of 0.884. With law, precision is the smaller reported measure. With economics, recall is the smaller one. Each pattern suggests a different starting point for investigating errors, although the paper does not identify which other labels received the missed examples.
The higher entries also describe particular categories in the evaluated material. NADA's general art precision is 0.977 and its recall is 0.973. Arabic literature has precision of 0.920 and recall of 0.927. Islamic religion has precision of 0.918 and recall of 0.933. These outcomes show how successfully the classifier reproduces the recorded labels for those examples under the stated setup. They give no independent information about the variety of prose or the breadth of subtopics within any of those groups.
The OSAC results include high precision and recall for health and astronomy. The health row gives 0.999 for both measures, and astronomy gives 0.996 for both. These rows exemplify the strong performance in the source run. They cannot explain by themselves whether the categories have especially distinctive vocabulary, whether the sampled documents draw clear topic boundaries, or how the classifier would respond to material from a different source.
Weighted values and the printed F-measures
The reported weighted precision, recall, and F-measure for OSAC are all 0.982. For DAA, the weighted precision is 0.813, and the weighted recall and F-measure are both 0.809. NADA has weighted precision and recall of 0.939 and a weighted F-measure of 0.932. Weighted summaries give classes influence according to their representation in the evaluation. The proportions of the evaluated categories therefore matter when comparing those summaries.
The class rows provide a check on some of the printed values. The usual category-level combination of precision and recall in an F1 measure is their harmonic mean. It lies between the component values. In OSAC's law row, precision is 0.970 and recall is 0.975, but the printed F-measure is 0.984. That value is above both components. The same issue can appear in the other direction. NADA's astronomy row has precision of 0.967 and recall of 0.973, with an F-measure of 0.925 printed beside them.
These comparisons concern individual category rows, where both component measures and the reported combination refer to a named subject. Weighted summary values are a different case. An average of per-category F-measures need not match a combination computed from the averaged precision and averaged recall. The apparent conflicts in rows such as law and astronomy cannot be resolved by that distinction. The paper gives no underlying prediction record or calculation details that would determine the source of the discrepancies. The values above are the ones it reports.
The time needed for classification
The NADA run takes 1467.62 seconds. The paper reports 86.95 seconds for OSAC and 96.62 seconds for DAA. These are running times for the classification experiments as described by the authors. The comparison gives a sense of the workload accompanying the measured prediction performance.
Reported SVM classification time on DAA, OSAC, and NADA
The NADA experiment takes longer than either source-collection experiment.
The numbers
| System or setting | seconds |
|---|---|
| OSAC | 86.95 |
| DAA | 96.62 |
| NADA (this paper) | 1467.62 |
The authors point to the larger number of NADA instances as the explanation for its longer duration. The comparison establishes that the larger NADA workload took longer under the reported conditions. It does not measure how execution time changes with instance count when the categories, vocabulary, and other settings are held fixed. Those factors can affect the work the classification procedure performs as well.
The time measurements are also distinct from the effort required to build the collection. Producing the resource involves collecting documents, preparing text, selecting words, sampling, and converting formats. The paper's timing rows describe classification without a detailed breakdown of how much time is assigned to training, prediction, or other operations that might fall inside the measurement. They are most interpretable alongside the reported collection sizes and the stated evaluation setup.
What the ablations show
The paper reports no ablations that change or remove an individual component under matched conditions, and instead offers comparisons across collections, category-level measurements, a before-and-after view of sampling, and classification timings.
The sampling comparison measures class support
The closest thing to an isolated intervention in the paper is the visual comparison of NADA before and after SMOTE. Here the quantity being compared is the distribution of instances over labels. The figure illustrates the original imbalance and shows the distribution after the authors apply their sampling procedure. This directly supports the description of a sampled artifact in which the smaller classes have more representation.
There is a separate question about prediction. Even if a sampling procedure changes category proportions as intended, a measured gain in classification would require an outcome for comparable training conditions with and without that procedure. The paper reports the before-and-after distributions and the classification outcome of the assembled resource. It gives no paired classification scores that identify the effect of sampling on accuracy or on the recall of any particular label.
The distribution comparison also says little about what the newly added instances cover. A plot of support shows how many instances a class contains after sampling. It does not show whether the features of those instances capture poorly represented topics within that class. A larger LEARNING input for politics, for example, can be seen as an increase in category support. Evidence about coverage within politics would require information about which examples and word features supplied that support.
The contributing corpora expose differences in the task
The separate DAA and OSAC runs show that the source tasks yield different results before interpretation turns to NADA. This makes the comparison more informative than a standalone accuracy for the combined collection. It establishes how the named classifier performed on each source's available prediction problem, and shows that the combined resource does not carry forward the highest source score.
The design also changes several conditions at once. The labels available for prediction change. The documents and their original sources change. DAA comes with inherited filtering, while the paper describes newly preparing the OSAC files. NADA receives the subject organization and sampling discussed in the construction section. Taken together, these differences leave several explanations for the observed ordering.
DAA's earlier preparation is an example of an explanation the source comparison can suggest but cannot test. If its filtering removed useful evidence or preserved variation that hindered the classifier, an alternative representation of the same files might perform differently. The authors would need scores using comparable documents and labels with the relevant preparation changed. Their existing scores establish where the difference appears, without showing that a particular processing decision produced it.
The category rows indicate where aggregate results need explanation
Category-level results make it possible to ask narrower questions than the overall accuracy permits. For DAA politics, low recall points to missed documents from the recorded politics category. Low precision points to errors among the documents predicted to be politics. Examining those two groups would answer different questions. One investigation could ask where the true politics documents went. The other could ask what made documents from other categories receive that label.
The paper's class summaries stop before that investigation. They do not identify the substituted labels, give examples of errors, or trace correctly and incorrectly classified NADA documents to the contributing corpus. The numbers can locate a problem at the level of a label. Detecting whether it reflects broad definitions, hard examples, or word representations requires evidence beyond the reported measures.
The category results also do not evaluate the benefit of the Dewey hierarchy. Economics and law are organized within social science, and they also have separate precision and recall values. To assess the hierarchy as part of prediction would require an experiment that actually uses those relationships to make or assess decisions. The paper uses DDC to describe the collection and reports classification against its chosen labels. The organization and the scores therefore answer complementary questions about the resource.
The timing comparison describes the reported workloads
The duration figures show that applying the SVM to the assembled resource involves a longer reported run than applying it to either contributor. This is relevant to a researcher deciding how much work a rerun may involve. The timings are observations of different experimental workloads. They leave the contribution of the collection size, attribute inventory, and classifier setup entangled.
A feature selection analysis would need a further comparison to connect those timings to Firefly. A reduced representation could change the classifier's work, and running the selector itself would also consume time. The paper gives neither a matched run using the unreduced documents nor a separate timing for the selection procedure. It therefore supplies a classification duration for the finished resource without measuring the cost or benefit of its word selection stage.
Limitations
Limits and qualifications the authors identify
The authors state their intended use as Arabic text categorization and describe adding more classes and documents as a possible extension. The suggestion identifies a boundary of the present collection. Its labels cover a selection of subjects under DDC, and a resource with additional branches or examples would have a different scope. The reported experiment gives evidence for the current subject inventory.
The authors also acknowledge that their assembled collection scores below OSAC in the reported experiment. Their response is to discuss DAA's weaker performance and the possibility that its inherited preprocessing and filtering contributed to that result. The lower score is an observation in the paper. The preparation explanation is their interpretation of why it might have occurred.
The paper likewise acknowledges that classification takes longer on NADA than on the source collections and points to NADA's larger instance count. This places running time alongside accuracy as a measured property of the experiment. The authors conclude that the organized resource can serve as a benchmark, with broader uses envisioned through further expansion. The work reported concerns the supplied classes and the stated SVM evaluation.
Limits visible in the account of the resource
The clearest inconsistency in the stated inventory concerns the distribution of text files. The main construction and evaluation identify 10 categories, while the description of the text-file release says 7 categories. The paper gives no explanation relating those statements to different versions of the corpus. The experimental label inventory can be read from the NADA results, but the relationship between that inventory and the contents of the categorized text artifact is unclear.
The OSAC counts have a different ambiguity. The construction describes six classes with sizes in [500, 3000], and the evaluation discussion gives an OSAC workload of 3710 instances. These statements describe the collection at different points in the account. The paper does not provide a complete selection record connecting raw files, processed documents, and experimental instances, or explaining how the extra material mentioned in the introduction enters the count for the combined dataset.
A related issue arises when interpreting 13,066, the stated NADA instance count. The paper distinguishes totals around SMOTE and describes a sampled artifact. It does not give a document-by-document relationship between the source files and the final experimental rows. The number establishes the scale of the workload the authors report. Its interpretation as a count of independently observed Arabic texts would require tracing synthetic and original examples separately.
The assignment of documents to labels also receives limited scrutiny. The Dewey scheme gives a framework for describing relationships among subjects, while the source files provide existing categorical assignments. The paper gives no account of an audit of those labels or of how ambiguous documents were adjudicated when the sources were joined. A classifier can learn to reproduce the collection's recorded categories without those categories having been independently checked for agreement or coverage.
There is a corresponding uncertainty about source overlap. The paper does not report whether exact or near-duplicate texts were sought across the contributing collections. A merged corpus could contain related or repeated material if different source collections drew on common writings. That is a possibility raised by the setup. The reported results do not establish that it happened or that it affected the split.
Limits of the training and testing description
The stated percentages explain the intended size of the training and test portions. They leave several choices about composition open. The paper does not specify the randomization settings, how category proportions were handled during the split, or whether related documents from the same source were kept together. Without those details, repeating the experiment with the same percentages could produce different training and test sets.
The ordering of sampling deserves particular attention. The construction section mentions partitioning DAA and OSAC and discusses SMOTE as part of assembling NADA. The experimental section describes putting the dataset in an ARFF file and making the percentage division. The relationship between these descriptions remains uncertain. In particular, they do not determine whether every synthetic training instance depends exclusively on material in the training portion.
That uncertainty matters because synthetic examples are derived from existing data. If a reserved test example helps produce a training instance, the two portions are connected through the sampling procedure. If sampling is applied only to training data after the split, the original test examples can remain independent of synthetic generation. The paper does not report enough about the order to decide between such possibilities. Test contamination is a risk the description leaves unresolved, and the reported accuracy supplies no evidence that it occurred.
A similar distinction applies to feature construction. A fixed transformation applied to each document independently can be used on both portions without learning from other test documents. A vocabulary or feature selection rule that is derived from the collection can depend on which documents it sees. The paper describes Firefly selection at document level and later word vector conversion, while leaving the information used to fit each step unspecified. That limits the reader's ability to trace the evaluation boundary through the full workflow.
The publication also gives no variation across repeated partitions. A single reported outcome shows the performance achieved under the authors' split. It gives no estimate of the change a reader might see with another allocation, especially for a category whose evaluation depends on a smaller number of examples. The paper presents no separate external collection for testing whether an SVM fitted to NADA can handle Arabic documents of the same topics from other sources.
Limits of reconstructing the representations
The preprocessing list explains which kinds of changes the authors make. Reconstructing the software behavior would require the character rules, normalization mappings, stop-word list, and stemming details. Those choices can affect one another. A boundary created or removed during cleaning can alter which words are recognized later, and a change to the recognized words can affect which forms the feature selector considers.
The word selection account identifies the Firefly procedure and its application to individual files. It leaves out its settings, the criterion that makes a word relevant for this run, and the resulting inventory of attributes. The WEKA version and converter names identify another part of the workflow, but do not determine all converter settings. For an exact reproduction, the reader would need to know how words become attributes and how their values are calculated.
The SVM is similarly specified at the level of its family. Its detailed configuration is absent. The use of a named classifier helps explain the general kind of experiment, but it does not identify the exact fitted decision procedure another implementation would produce. Since the paper reports one classifier family, the evaluation also gives no direct evidence of whether other classifiers would show the same ordering across collections.
The paper's focus is topical categorization, which bounds what can be inferred from its reduced text. A cleaned file that loses numbers, punctuation, or grammatical words can still supply features for assigning subjects. The same deletions can matter to an analysis that requires quantitative details, sentence structure, or the relationships among participants in an account. Successful topic predictions establish performance for the tested representation and task. Other uses of the transformed text would require evidence about what the transformations preserve for those uses.
Limits of the result interpretation
The published values for precision, recall, and F-measure need to be read as reported, especially when an individual F-measure conflicts with the two measures beside it. The discrepancy does not reveal which entry, calculation, or labeling convention is responsible. It leaves some of the detailed category comparisons uncertain. The overall accuracy ordering remains a reported outcome of the separate collection runs, while those category rows lack enough detail for independent verification.
The timing results have a similar boundary. They establish the order and magnitude of the durations the authors report. They give too little information about the computing environment and the start and end of the measurements to support a prediction about runtime elsewhere. They also give no separate costs for processing the documents or generating the sampled representation.
Finally, the larger category inventory and the observed accuracy describe different properties. Breadth concerns the subjects the authors make available. Accuracy concerns the decisions made against the recorded labels in an experiment. Greater breadth can make a dataset appropriate for a wider set of topic distinctions even if its score is below that of a more narrowly defined task. The paper establishes a usable example of building and evaluating such a collection. The effects of the particular construction decisions and the stability of the measurements across conditions remain open.
What came after
Arabic NLG Language Functions cites NADA in 2020. Its title places it in Arabic natural language generation, the task of producing language. That puts NADA in the citation record of work with a different objective from assigning subject labels to documents. The citation relationship gives no account of whether the later work used NADA as a dataset, drew on its treatment of Arabic resources, or mentioned it for another purpose. The paper's title and citation support the connection between the research areas, while leaving the operational role of NADA unknown.
New Arabic Medical Dataset for Diseases Classification cites NADA in 2021. Its title describes a contribution closer to NADA's central task, building an Arabic classification dataset, with diseases providing the focus. NADA includes health as one subject among several. A disease classification dataset defines a prediction problem within a more specific area of interest. The citation establishes that NADA appears in the later work's account. It provides no basis for attributing use of NADA's documents, Dewey hierarchy, Firefly procedure, or sampling method to that project.
The later record thus places NADA alongside a specialized Arabic classification resource and in work concerned with Arabic generation. The identifiable continuity is interest in Arabic language resources, with an especially close parallel in the construction of data for a defined classification task. The degree of methodological inheritance remains unspecified for both works.
Cite
Cite as Nada Alalyani and Souad Larabi-Marie-Sainte. 2018. NADA: New Arabic Dataset for Text Classification. International Journal of Advanced Computer Science and Applications.
@article{alalyani2018nada,
title = {{NADA: New Arabic Dataset for Text Classification}},
author = {Nada Alalyani and Souad Larabi-Marie-Sainte},
journal = {International Journal of Advanced Computer Science and Applications},
year = {2018},
doi = {10.14569/ijacsa.2018.090928},
url = {https://doi.org/10.14569/ijacsa.2018.090928}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/alalyani-2018-nada-new-arabic-dataset-text/