Elamur Research

Chinese-to-Spanish rule-based machine translation system

Paper · 2014 · Jordi Centelles and Marta R. Costa-jussà

Summary

A Chinese sentence gives a translator a sequence of characters without the spaces that usually mark word boundaries in Spanish. Even after it finds the words, the translator has to decide how to arrange them and supply grammatical information that Spanish expresses in its word endings. The authors took on these tasks for a language pair with relatively little parallel text, meaning Chinese and Spanish versions of the same material. They built what they describe as the first freely available rule-based system for Chinese-to-Spanish machine translation.

Their system uses Apertium, an open-source platform that divides translation into analysis, transfer and generation. Analysis identifies Chinese words and their grammatical categories. Dictionaries supply Spanish equivalents, and handwritten transfer rules adapt the order and grammatical features of those equivalents. An existing Spanish component then produces the forms that appear in the final sentence. The authors show how this works for a Chinese adjective followed by a noun. Their rule places the noun first and gives the adjective the gender and number required for agreement.

The authors built the vocabulary in two ways. They started from a Chinese resource organized by grammatical category, used its English glosses to help establish Spanish translations and cross-checked entries with other resources. They also looked for word correspondences in parallel United Nations texts, keeping links found by alignment in both directions and manually filtering the resulting translations. The combined dictionary contained around 9,000 words. The authors compared a separate Chinese segmenter with Apertium’s dictionary-based method. The error rates were close on their in-house segmentation sample, and they selected the Apertium method for the translator.

The main evaluation measured vocabulary coverage. The system reported 88.7% coverage on its news development set, 83.8% on its United Nations test set and 82.8% on its in-house test set for transportation and hospitality. These scores show how much of the vocabulary the system could handle in each collection. Questions about the accuracy of the chosen meanings and the quality of complete Spanish sentences remain open. The authors describe the translator as a system under development and identify more dictionary entries, more complex transfer rules and better contextual word choice as directions for further work.

Deep dive: Chinese-to-Spanish rule-based machine translation system

A Chinese-to-Spanish translator combines Apertium rules with bilingual dictionaries built by hand and from United Nations texts. · about 35 minutes to read

The problem and its context

A direct route between Chinese and Spanish

The authors start from a practical gap. Chinese and Spanish have large speaker populations, and translation between them could serve people working, studying or travelling across language boundaries. The paper describes relatively few Chinese-to-Spanish systems available online and judges the quality they offered to be behind the standards of machine translation at the time. Academic work on the pair was also limited in the account the authors give. Their project aimed to make a direct translator available and to show how the resources it needed could be assembled.

The paper describes most existing approaches as corpus-based. A corpus is a collection of texts, and a parallel corpus contains corresponding material in different languages. A data-driven translator can use such material to find recurring correspondences. The supply of Chinese–Spanish parallel text was limited, however. The authors say that existing systems appeared to compensate by going through English. The paper’s account of earlier academic work also emphasizes indirect translation through a third language.

Using English as a pivot means that the Chinese sentence is first rendered in English and the resulting English is then translated into Spanish. The pivot supplies a route when resources for the direct pair are scarce. It also makes the Spanish stage depend on the wording and distinctions available in that intermediate sentence. The authors’ system goes directly from a Chinese analysis to Spanish lexical entries and grammatical structures. English still helped with dictionary compilation, where a gloss could guide a human annotator toward a Spanish equivalent. That role concerns the origin of the entries. The translation pipeline itself starts with Chinese and generates Spanish.

This distinction matters because a direct translator still has to collect bilingual knowledge from somewhere. The authors had a parallel collection from the United Nations, materials available for Chinese learners, and linguistic software developed separately for Chinese and Spanish. Their design gave each resource a specific role. An English gloss could support the creation of a dictionary entry, a parallel sentence pair could suggest that an entry belonged in the dictionary, and Spanish generation could use lexical and grammatical information supplied by transfer. The method rests on putting these resources into compatible forms.

What changes between the languages

The paper emphasizes morphology, the way differences in word form express information such as number or gender. It characterizes Chinese as isolating. In the account relevant to this system, Chinese words require little of the analysis that would split an inflected form into a base and grammatical features. The difficult first decision is where one word ends and the next begins. Spanish presents a different task. Its word forms can express several grammatical properties together, and a form suitable in one sentence may need to change in another.

Consider the noun and adjective pattern the authors use to explain transfer. A Chinese adjective can stand before the noun in the input pattern. For the Spanish construction handled by their rule, the noun precedes the adjective. The adjective also needs a form that agrees with the noun. The translator therefore has to establish a correspondence between the words, change their order, and carry the Spanish noun’s grammatical features to the adjective. Finding the Spanish equivalents is only part of the work that this pattern requires.

The authors also point to ambiguity in vocabulary. Their discussion mentions the large number of Chinese homophones and treats lexical semantic disambiguation as a particular difficulty for the pair. For a written translator, the implementation question is how to select a Spanish word that expresses the intended meaning of the recognized Chinese word in context. A dictionary can establish that a translation exists, and several plausible equivalents can still differ in where they fit. This makes word sense disambiguation a separate concern from recognizing a word and giving its Spanish equivalent the correct form.

The paper’s architectural distinction between grammatical and lexical transfer follows from these examples. Grammatical transfer changes how expressions are structured and how their parts agree. Lexical selection is the decision about which available translation fits a particular use. A rule for ordering an adjective and noun can work from their categories and features. Those categories and features may be equally compatible with several translations of the noun. A solution to that second problem would require evidence about its meaning in context.

There is a practical consequence for development. A person looking at an awkward Spanish sentence needs to be able to tell whether the Chinese input was divided incorrectly, whether the dictionary gave an unsuitable equivalent, or whether the grammatical structure came through in a form that Spanish handles differently. The authors identify the traceability of errors as an advantage of rule-based translation. Each stage has a defined kind of information to supply. Seeing the intermediate representation can give a developer a place to start when investigating the output.

What the authors take from earlier work

In the architecture the paper adopts, analysis prepares a representation of the source sentence, transfer adapts that representation to the target language, and generation produces a target-language sentence. The authors describe analysis and generation as handling much of the variation in lexical and morphological form. Transfer is where grammatical changes between the languages are expressed. This division makes it possible to reuse generation from a system that already produces Spanish and concentrate new work on the Chinese input and the link between the two languages.

The implementation uses Apertium, which the paper describes as a free and open-source platform for shallow transfer. Here, shallow transfer works with lexical categories, features and groups of words. The worked rule reads an adjective and a noun as a local pattern and creates a Spanish noun phrase. Rules can also operate across groups. The authors draw both on the general analysis–transfer–generation architecture and on earlier Apertium development practice. They describe their procedure as similar to the work on a Spanish–Aragonese translator.

Apertium originally served work on Romance languages of Spain, according to the paper. Taking it to Chinese and Spanish involved keeping the architecture while supplying resources for a pair with different structural and morphological needs. The Chinese analyzer had to deal with text without marked word boundaries. The bilingual dictionary had to connect Chinese vocabulary and grammatical categories to Spanish entries. The transfer rules had to reflect correspondences observed for this translation direction. Spanish generation was already available from earlier work on the platform.

The authors describe an established tradeoff in rule-based development. Writing entries and rules consumes human time, and detailed lexical selection remains difficult. Yet linguistic knowledge can be written down directly, and an error can often be investigated in the resource responsible for the decision. The project responded to the cost by combining a reusable platform and existing Spanish resources with automatic suggestions for Chinese–Spanish vocabulary. Human checking remained part of the process. The automatic stage helped find candidates in a collection that would have been cumbersome to inspect word by word.

The term hybrid thus describes a specific decision about development. The authors used corpus evidence to help build the dictionaries while keeping explicit grammatical rules in the running translator. Earlier pivot-based work addressed the scarcity of direct bilingual evidence through an intermediate language. This project addressed the same resource problem by treating different kinds of evidence as inputs to a direct system. The languages used to gather evidence, the software used to gather it, and the languages involved when translating a sentence are distinct parts of that design.

The method, step by step

From Chinese characters to a Spanish sentence

The easiest way to follow the method is to track what information the system has at each stage. The input is a Chinese sentence. Analysis identifies sequences of characters that the system can treat as words. A Chinese dictionary connects recognized forms with grammatical categories. A bilingual dictionary provides corresponding lexical entries for Spanish. Once those entries are available, transfer can move them into an order appropriate for the applicable Spanish construction and assign the features needed for generation. The Spanish components then produce the words and make final spelling adjustments.

The running pipeline depends on resources that were assembled before translation. The Chinese analyzer needs a dictionary against which it can match the input. The dictionary that supplies translations needs entries for the lexical items the analyzer can recognize. The Spanish generator needs enough information to realize the entries that the transfer rules pass on. An entry can be valid in one resource and still fail to support a complete translation if the corresponding information is absent from another. Building the translator therefore involved testing the interfaces between these resources as well as expanding their contents.

How Apertium translates Chinese input into Spanish text

The steps in order.

How Apertium translates Chinese input into Spanish textStep 1: Find Chinese word boundaries using dictionary matches1. Find Chinese word boundaries using dictionary matchesStep 2: Read the recognized words and their grammatical categories2. Read the recognized words and their grammatical categoriesStep 3: Retrieve Spanish entries from the bilingual dictionary3. Retrieve Spanish entries from the bilingual dictionaryStep 4: Reorder words within phrases and across phrases4. Reorder words within phrases and across phrasesStep 5: Pass agreement features to the Spanish generator5. Pass agreement features to the Spanish generatorStep 6: Generate inflected words and apply spelling adjustments6. Generate inflected words and apply spelling adjustments

The pipeline contains a dictionary lookup for translation and rules that alter grammatical structure. In describing the development still to be done, the authors identify lexical transfer as the step left unaddressed. The implementation clearly maps Chinese words to Spanish equivalents. The missing work concerns choosing translations in a way that accounts for their use in context. A bilingual mapping gives the grammatical transfer rules something to operate on. A lexical selection mechanism would provide a way to resolve choices that the mapping alone leaves open.

Building bilingual entries by hand

The authors began with Yellow Bridge, a resource that groups Chinese vocabulary by grammatical category and supplies English translations. The grouping was directly useful for a rule-based system. A bilingual list with no grammatical information might give a reader an idea of what a word means. A translator also needs to recognize whether it should enter an adjective rule, a noun pattern or another construction. The source resource offered categories covering ordinary content words as well as such items as measure words, particles and time expressions.

The English glosses gave the annotators a starting point for creating Chinese-to-Spanish entries. They checked the translations using another online dictionary and Google Translate. The additional resources were part of the compilation process. Consulting them could expose disagreement or point to another interpretation of a gloss. The paper describes this checking as part of the manual route. It gives no automatic decision rule for resolving differences between resources, and attributes the resulting entries to the annotation process.

The development team included two English–Spanish bilingual annotators and one Chinese–English–Spanish trilingual annotator. The trilingual annotator checked the stages of development. This arrangement was relevant because the project had few available bilingual speakers who could develop resources for the direct pair. An English gloss could make part of the work accessible to an English–Spanish annotator. The trilingual check could relate the proposed Spanish entry back to the original Chinese, where an intermediate gloss might have obscured a distinction.

The manual procedure supplied 3,000 nouns and 2,000 verbs. The authors also describe adding several hundreds of entries among categories such as numerals, conjunctions, adverbs, pronouns, determiners and adjectives. The range of categories matters for a system that recognizes sequences of grammatical items. Nouns and verbs expand the set of topics the system can attempt to translate. Function words and modifiers make it possible to analyze the structures in which that vocabulary occurs. The latter can matter at every stage even when their individual dictionary entries are short.

The resource assembled in this way provides a mapping from a Chinese lexical entry to a corresponding Spanish entry. It also records the grammatical information required for the items to fit into the rest of the system. The noun and adjective example later in the paper shows why lexical content and grammatical category need to stay associated. The rule has to know which word supplies the noun features and which word should receive those features. That decision begins with how the entries have been represented.

Using a categorized source gives the manual work a starting vocabulary and a way to organize it. It also means that the initial inventory reflects the resource available to the annotators. A parallel corpus can reveal words used in texts outside the learner-oriented collection. Finding those words by reading the corpus and comparing the Chinese and Spanish versions by hand would take substantial effort. The second method gave the authors a way to locate candidate correspondences automatically and reserve manual work for reviewing them.

Adding entries from parallel United Nations texts

The authors used the United Nations parallel corpus to gather the statistical candidates. An aligned corpus pairs corresponding material across languages. Word alignment asks which words within those paired texts correspond to one another. The result can suggest, for example, that a Chinese form and a Spanish form repeatedly occupy corresponding roles. An alignment link is a candidate translation relation. Its value for the dictionary still depends on whether the words have been identified correctly and whether their correspondence is suitable as a reusable entry.

The authors used GIZA++ to align words. They ran the alignment with Chinese as the source and Spanish as the target, and again in the reverse direction. These are two views of correspondence over the same texts. Estimates made in one direction may link words that the reverse procedure leaves unlinked. To turn the directional results into one set of links, the authors used intersection. A pair remained available for extraction when the alignments agreed on it. The software is associated with Och and Ney’s systematic comparison of statistical alignment methods.

The paper describes that operation in prose. Its selection criterion can be written as a set intersection.

A = A₍zh→es₎ ∩ A₍es→zh₎

Here A is the set of links retained for candidate extraction. A₍zh→es₎ comprises the links proposed with Chinese as source and Spanish as target, and A₍es→zh₎ comprises the links proposed in the reverse run, with each link understood as the same Chinese–Spanish pair for comparison. The labels zh and es refer to Chinese and Spanish, and the arrows indicate the direction of alignment. The equality sign defines the retained set. The intersection sign ∩ keeps the links shared by both directional sets.

The authors chose intersection for the reliability of the surviving links. The property it enforces is agreement between the directions. A link proposed by only one run is excluded, even if it would make a useful translation entry. A link proposed by both can still reflect a misleading correspondence in the corpus. This explains why the filtering procedure included both an automatic condition and human review. Directional agreement determines which candidates reach the next step, while a person judges whether a candidate belongs in the dictionary.

The extraction was restricted to phrases of length one. In this procedure, the units entering the dictionary were word-to-word translations. The alignment stage therefore contributed vocabulary, with grammatical transformations left to the transfer rules. A word link alone has no rule for where the Spanish word will sit in a phrase or which other word supplies its agreement features. The distinction between entry extraction and grammatical transfer keeps the statistical operation narrow enough to understand from the resources it produces.

The authors manually filtered the extracted dictionary to remove incorrect entries. They report that this route added around 3,500 words and that the resulting dictionary had around 9,000 words. The paper gives the final inventory as an approximate count. The category figures for the manual route and the addition from the statistical route describe the contributions at different stages. The final count is the authors’ reported size of the resource, and the paper leaves the detailed accounting of overlaps, rejected candidates and category totals open.

The statistical component was thus applied during resource construction. A translator handling a new Chinese sentence uses the edited dictionary prepared from the candidates. It has no need to run an alignment over United Nations texts for that sentence. This also helps explain what the paper’s evaluation can test. The complete system’s coverage includes effects of the finished vocabulary, whereas a measurement of alignment precision would require judging the candidate links themselves. The authors report the final inventory and coverage, with an account of the extraction decisions that produced the additions.

Finding Chinese word boundaries

The Chinese monolingual dictionary was drawn from the Chinese side of the bilingual dictionary. The authors used regular expressions, which match recurring patterns in text, to remove repeated entries. The monolingual dictionary represents words and the information needed on the source side. The bilingual dictionary serves a different purpose by associating those same entries with Spanish translations. Keeping the two inventories in agreement was essential to the way the analyzer and lookup stages fit together.

Chinese text creates a boundary problem before the translator can take advantage of these entries. The authors explain that Chinese sentences commonly concatenate characters without a space between each word. Several sequences beginning at a given position may match dictionary entries. The analyzer needs a way to choose the sequence it is going to treat as a word. This is the task of tokenization, called segmentation here because the decision is where to divide the character sequence.

The authors considered ZhSeg, a separate Chinese segmenter implemented in C++, and the Left to Right Longest Match strategy that Apertium uses in analysis mode. Under the latter strategy, the analyzer starts at the left of the text and looks for the longest sequence from the current position that it can match to the dictionary. It accepts that match and proceeds through the text. Shorter entries can share a beginning with the chosen entry. The strategy resolves that competition by the length of the available match.

The rule is frequently called greedy because each boundary decision follows the longest match available at that position. The definition gives a developer a concrete way to investigate a surprising result. The decision depends on the characters at the current position and the entries in the dictionary. A newly added longer entry can therefore affect the segmentation of a string that was already analyzable as shorter words. Adding vocabulary has the potential both to make a new translation available and to change where the analyzer places boundaries.

This relationship gives the Chinese dictionary a role beyond recording source words. The authors characterize Chinese as requiring little morphological analysis of the sort that recovers a base form and features from an inflected word. The substantial source-side task in the system is discovering the words in the first place. A recognized entry can then supply the grammatical category needed to trigger a transfer pattern. That assignment is part of the information used in part-of-speech tagging.

The authors compared the two segmentation methods against an in-house reference with manually established boundaries. They chose the Apertium strategy after finding the segmentation scores comparable. That choice uses an analysis procedure already present in the platform and whose dictionary was being prepared for the translator. It also establishes which segmentation method the later account of coverage belongs to. The comparison itself evaluates word recognition against the in-house reference, a different question from whether the resulting words can be translated well.

Checking that the dictionaries work together

The paper treats agreement between the Chinese monolingual dictionary and the bilingual dictionary as a requirement. Suppose analysis recognizes a Chinese entry as a word and passes it to the next stage. The bilingual resource must have the corresponding translation entry for the lookup to proceed. The reverse inconsistency also matters. An entry stored only in the bilingual dictionary may be of little use if the analyzer cannot produce the Chinese lexical form that would reach it.

The authors used regular expressions to clean the dictionaries and Apertium’s testvoc procedure to check vocabulary through the translation stages. The paper explains that the check expands the monolingual dictionary and sends the forms that can be analyzed through the translator. This makes it possible to see whether a recognized input can proceed to a sensible target form. A check of entry spellings alone would have a narrower scope because a failure can occur when the representation produced at one stage becomes the input to another.

A lexical form in this process is the internal representation available after analysis, with a word associated with grammatical information. A surface form is what appears in the input or output text. The same kind of distinction applies to Spanish generation. A base form and the required features can be correct as internal information, but they still need to correspond to a realizable surface form. Running entries through the stages exercises this transition in a way that comparing lists of words by sight cannot.

testvoc was a tool for cleaning and checking the resources. The vocabulary sweep asks whether a form the dictionaries say they can handle can make its way through the system. The later coverage experiment instead starts from the words that occur in selected texts. A consistent dictionary can still lack entries for forms encountered in those texts. Conversely, an entry can contribute to coverage while the meaning it supplies is unsuitable in a particular sentence. Resource consistency, coverage on text and sentence quality answer different development questions.

Deriving grammatical transfer rules

The authors developed the transfer rules manually by running translations and examining the Chinese source, the generated Spanish output and a Spanish reference. The reference gave them an example of how the construction could be expressed in the target language. Looking back at the source helped them determine which input pattern should trigger a change. The work consisted of turning a problem observed in particular sentences into a rule stated in terms of grammatical categories and features.

This procedure uses translations as evidence for writing rules. It differs from the pipeline used to obtain dictionary candidates. Word alignment and intersection determined which statistical candidates would be presented for filtering. For grammatical transfer, people selected patterns after comparing sentences. A useful rule had to say what sequence the translator should recognize, which elements the output should contain, and what order and features those elements should have. The paper gives a concrete case so those decisions can be seen separately.

The authors report 28 rules that act within a syntagm and 34 that act across syntagms. A syntagm here is a group of words that functions as a unit, such as a noun phrase. Rules within such a group can place its words in the order required on the Spanish side or set features shared by its members. Rules across groups can modify their relations or arrangement. The counts describe how the authors divided the transfer resource. They give no indication by themselves of how often the rules apply in the evaluation texts.

The worked rule looks for an adjective followed by a noun. Its input pattern uses the categories of the analyzed words. The Spanish output is a noun phrase in which the noun comes before the adjective. The action also establishes agreement. The noun’s Spanish gender and number are used to set the corresponding features on the adjective. The rule thus treats order and inflection as connected parts of the same construction. A gender or number feature that the rule attaches to the adjective will be needed later when its Spanish form is generated.

The rule in the paper explicitly reads the noun as the second item of the input pattern and emits it before the first item, the adjective. The output groups the words into a noun phrase. It carries gender and number from the Spanish noun and passes along the adjective’s base form and adjusted features. This makes the boundary between transfer and generation visible. Transfer decides that the adjective follows the noun and which agreement features it has. Generation determines the form that expresses those features for that particular adjective.

The argument of the example is deliberately local. The rule handles the specific pattern that it recognizes. The use of a category pattern lets the same instruction apply to different entries that match it, so the authors can express this ordering decision once instead of listing a Spanish result for each possible noun and adjective pair. Whether the rule recognizes a phrase in practice still depends on earlier analysis. Its inputs must arrive with the categories and bilingual entries that the rule expects.

Generating Spanish forms

The Spanish generation component came from Apertium’s repository. The paper describes it as the product of development over years and relates it to earlier Apertium work involving Spanish. This reuse mattered because the target language required a substantial resource of its own. A transfer rule can request a particular inflected form by setting the grammatical features. The generator needs a dictionary that knows how to realize those features for the lexical entry it receives.

The generator uses the lemma, the base form used to identify a word, together with the grammatical category and features carried through transfer. From these it produces an inflected surface form. In the noun and adjective example, the transfer rule has already resolved their order and given the adjective the gender and number required by the noun. The generation dictionary supplies the written adjective form corresponding to that combination. The task is systematic once the correct lemma and features are available.

Apertium’s post-generator handles spelling operations that involve the output context. The example in the paper is the Spanish contraction of de el to del. This is a different operation from finding an inflected form for a single lemma. It concerns adjacent forms after the words have been arranged and generated. Its position at the end of the pipeline allows the rest of the system to handle the lexical and grammatical information associated with the separate items before their written forms are combined.

Taken together, these stages explain how the development work could concentrate on adapting the resources for the new direction. The authors prepared Chinese analysis and a bilingual inventory, wrote transfer rules for the structures they observed, and connected the result to existing Spanish generation. They say the initial development took five months. They also report that the system could be downloaded through Apertium and that the platform and its linguistic data were available under the GNU GPL. The release made the dictionaries and the rule-based implementation available for inspection as parts of the translator.

Experiments and results

How much text the vocabulary covered

The main evaluation asks how much of the vocabulary in selected texts the system covers. Coverage is an assessment of whether the system has entries for the words that occur. This is a practical first measure for a dictionary-driven translator. When a word cannot be recognized or lacks a usable entry, the stages that would assign its Spanish form have a gap to contend with. The coverage test begins with actual source texts and tests the reach of the resources the authors assembled.

The measure can be evaluated without a Spanish reference translation. That makes it possible to use Chinese texts gathered from different sources even when a corresponding Spanish rendering is unavailable for evaluation. This convenience also defines the scope of the score. Coverage credits handling vocabulary at the level being counted. The intended meaning of an entry, the adequacy of the surrounding sentence and the naturalness of the Spanish output all require further evidence. A coverage value should be read alongside the origin and use of the text on which it was measured.

The news development set contained 1,651 words and had 88.7% coverage. The paper says that the news texts came from the web and that the authors used them to follow the system’s development. Its coverage figure therefore describes material with that development role. It can show how far the vocabulary reached there. The paper’s separate test collections provide the measurements for text designated as test material.

One test set was a United Nations subcorpus of 35,914 words. It had 83.8% coverage. The United Nations is also the source of the parallel corpus used in extracting dictionary candidates. This makes the test relevant to the kinds of documents that supported the statistical vocabulary work. When interpreting the result, the origin of the test set matters alongside its size. The paper gives the name of the source and the size of the test subcorpus, leaving the relation between the individual test documents and those used for extraction unspecified.

The other test set was assembled in-house for the transportation and hospitality domains. It contained 10,361 words and had 82.8% coverage. This gives a result on material with a different thematic emphasis from the United Nations documents. The paper reports one value for the in-house set. The result describes transportation and hospitality together as represented in that collection.

Apertium translator coverage on the news, UN and in-house sets

Coverage is highest on the news development set and close across the test sets.

Apertium translator coverage on the news, UN and in-house setsNews development set (this paper): 88.7News development set (this paper)88.7United Nations test set: 83.8United Nations test set83.8In-house transportation and hospitality test set: 82.8In-house transportation and hospitalitytest set82.8
The numbers
System or settingcoverage %
News development set (this paper)88.7
United Nations test set83.8
In-house transportation and hospitality test set82.8

The chart compares the same assembled system across collections. The scores are useful because they show that its reach was measured in different settings. The selected news material, United Nations documents and in-house texts present different vocabulary. A single overall value would conceal that variation. The paper reports the counts and percentages by collection, allowing a reader to retain the source and role of each observation.

The news value is the highest reported coverage, but its rank alone says little about what produced it. The collection serves a development role, and its vocabulary may differ from that of the test material. The paper neither matches the domains across splits nor reports an experiment that isolates the effect of working with the news texts. The test-set scores therefore carry more weight for assessing coverage beyond the texts used to follow development, while still applying to the particular collections the authors assembled.

Both test scores show that a substantial portion of the vocabulary in those texts was available to the system. The remaining coverage gaps motivate the authors’ proposal to keep expanding the dictionaries. The score cannot identify which gaps matter most in a translation. An uncovered item might be central to the meaning of the sentence or a word whose absence leaves much of the content recoverable. The experiment gives the amount of vocabulary covered, leaving the importance of individual successes and failures unmeasured.

Choosing the Chinese segmenter

The authors also compared the segmentation choices on a separate in-house reference that contained 456 words. Its boundaries supplied the expected segmentation for the Chinese input. This task evaluated whether the segmenters recovered those words. A system can recognize characters accurately and still produce a different set of words when its boundaries differ from the reference. Word Error Rate, abbreviated WER, was the paper’s metric for disagreement with that segmentation, with a lower value preferred.

ZhSeg produced a Word Error Rate of 16.56% on that reference. Apertium’s Left to Right Longest Match produced 16.89% on the same reference. The authors considered the results comparable and chose Left to Right Longest Match for their system. The reported ordering of the scores and the engineering decision are both worth keeping visible. ZhSeg has the lower measured error, and the translator uses the Apertium procedure.

Chinese segmentation Word Error Rate on the in-house reference

ZhSeg gives the lower measured error, and the authors select Apertium’s strategy after judging the scores comparable.

Chinese segmentation Word Error Rate on the in-house referenceZhSeg: 16.56ZhSeg16.56Apertium Left to Right Longest Match (this paper): 16.89Apertium Left to Right Longest Match(this paper)16.89
The numbers
System or settingWER %
ZhSeg16.56
Apertium Left to Right Longest Match (this paper)16.89

This comparison has a common reference and a common metric for its two alternatives. That gives it a different structure from the coverage chart, which varies the collection while holding the translator fixed. The segmentation comparison varies an analysis component while holding the reference constant. Its conclusion is tied to the word boundary task as measured on those 456 words. A smaller segmentation error can make a difference to translation, but the paper omits a corresponding end-to-end translation comparison of the two choices.

The segmentation sample and the in-house transportation and hospitality test set should also be kept distinct. Both were produced internally, yet they appear in different evaluations and have different sizes. The reference with 456 words supports the comparison of boundary decisions. The corpus with 10,361 words supports the vocabulary coverage result for the full system. The paper gives no reason to combine the observations from the two or to treat the segmentation result as a property of the transportation and hospitality set.

What serves as a baseline

ZhSeg is the comparison system for the segmentation experiment. The coverage experiment gives results for the authors’ Apertium translator over its development and test collections. It does not report corresponding coverage figures for another translator. The systems consulted while creating the dictionaries likewise have a different role. Their translations aided the checking of candidate entries, and the paper does not run them as full-sentence evaluation baselines. Earlier indirect Chinese-to-Spanish systems are discussed as background to the problem.

The authors describe their translator as a possible baseline for a future hybrid architecture. In that sense the baseline is the complete rule-based system whose resources and coverage the paper documents. A later extension could use it as a starting point when adding a new source of evidence or a different method of choosing translations. The current experiment establishes the initial system’s measured coverage across the specified texts. It gives no measurements of the proposed extensions.

The evaluation also has no reported reference-based score for complete Spanish sentences or ratings from human translation judges. There is a reference in the segmentation experiment, and the authors use reference translations during rule construction. Neither use supplies a sentence-quality comparison for the completed system. A reader can consequently assess the reported vocabulary reach, the small segmentation comparison, and the specific behavior of the worked grammatical rule. The paper provides no numerical ranking of the final Spanish translations against competing systems.

What the ablations show

The paper reports no formal ablations of the full translator and instead offers a controlled comparison of Chinese segmenters, coverage measurements across collections and a worked example of grammatical transfer.

A controlled choice at the analysis stage

The closest thing to a component experiment is the shared test of ZhSeg and Left to Right Longest Match. Both are asked to reproduce the same set of word boundaries, so the numbers describe a difference between the two analysis choices under that condition. ZhSeg has the lower error, and the authors judge the values close enough to choose the strategy built into Apertium. This supports a practical selection for the implemented translator. The paper offers no evidence that one segmenter would consistently give better results across other collections.

The comparison addresses the first decision in the pipeline. If a sequence is segmented differently, the subsequent lookup can involve different Chinese entries, and a transfer rule can receive different grammatical categories. The experiment records disagreement in word boundaries and stops before those consequences. It does not identify which disagreements led to unavailable translations, changed the selected Spanish lexical entry, or altered the transfer pattern applied to a sentence. A reader can see why segmentation matters without assigning a sentence-level effect to the reported error values.

The choice of the built-in strategy also shows that the authors were evaluating a component in the context of an implementation they could assemble. Apertium already included Left to Right Longest Match as part of analysis. The paper says the authors selected it on the basis of comparable results. It provides no separate timing or integration-cost comparison. The documented evidence for the choice is therefore the shared-reference test together with the fact that the chosen procedure is part of the platform.

What the dictionary inventories explain

The paper reports the kinds and approximate quantities of entries supplied by manual work and by extraction from parallel text. This establishes that the two routes made concrete contributions. The manually assembled material included large noun and verb inventories along with entries from other categories. The alignment route added vocabulary after directional agreement and human filtering. These are observations about what entered the resources, and the listed contributions allow a reader to trace the provenance of the final dictionary.

An inventory count does not establish how often those entries appear in the evaluation texts. Coverage is measured over the words found in documents. A large group of entries can have a small effect on a particular set if the words are rare there, while a short group can matter regularly if the entries occur often. The paper gives coverage from the assembled dictionaries and no coverage measurements with either source of entries removed. The contribution of each route to the reported percentages therefore remains undetermined.

The same applies to the choice of intersection when aligning words. The authors give a rationale for preferring links found in both directions and report that people then filtered the entries. The design has a clear sequence of decisions, but the paper reports no comparison with keeping more of the directional links. It also does not give the accuracy of the candidates before and after manual filtering. The evidence supports a description of a procedure that yielded additions to the dictionary. It leaves the separate effect of the automatic constraint and the human check open.

What the transfer example establishes

The adjective–noun rule is an analysis of mechanism at the level of one construction. Its input categories determine when it applies. Its output order places the noun first, and its agreement operation passes the noun’s features to the adjective. This is enough to explain how the system can express that correspondence. It also illustrates an aspect of traceability that the authors value. One can connect the requested Spanish form to a feature set by a rule and identify which part of the input was used to determine it.

The example gives no frequency for the construction on the development or test data, and no measurement of the effect of disabling the rule. The same distinction applies to the two classes of rules. The authors document how many were written for changes inside a group and how many for changes across groups. The coverage figures do not rank their importance or measure their contribution to the fluency of the resulting sentences. These would be questions about the operation of transfer on actual outputs.

Read together, the analyses address three levels of the system. The segmentation test compares component choices under a shared reference. The dictionary description records what was built, and the coverage test examines how much text that resource can handle. The rule example shows how an identified construction is transformed. The paper’s explanation of why the system works comes from connecting these levels in the architecture. A causal estimate of how much each contribution improves complete translation is beyond the experiments it reports.

Limitations

Limits identified by the authors

The authors describe the release as still under construction. They identify more dictionary entries and more complex transfer rules as the main improvements needed. The vocabulary results give a direct reason for the first priority. All the evaluated collections contain words outside the system’s coverage. The worked grammatical rule gives a sense of the second. It handles a recognizable pattern whose order and features can be described explicitly. Other constructions can call for rules that track relations across groups or account for more variation in how the source expresses them.

Lexical selection is an explicit limitation of the implementation. The authors see it as difficult for rule-based translation and especially important for Chinese and Spanish. The bilingual dictionary can propose a corresponding Spanish entry for an analyzed Chinese word. Context can still determine which Spanish equivalent expresses the intended sense. Improving the agreement or spelling of a transferred word addresses its form. Choosing its meaning calls for evidence of a different kind, and the authors leave contextual selection for further development.

The paper also identifies the cost of obtaining human linguistic expertise. The project reused Apertium’s architecture and Spanish generator, used resources with English glosses and drew automatic candidates from parallel text. The annotators still checked entries, compared translations and wrote grammatical rules. The authors contrast the five months of their initial development with the longer efforts associated with traditional rule-based systems. That interval describes their own first development phase. Their account also makes clear how much of the work depended on linguistic resources and software already available.

Among their proposals, the authors consider extracting transfer rules from a parallel corpus and giving the rules translation probabilities. They present this as a possible way to shift some development work from bilingual specialists towards a linguist working with one language. The system described in the paper has handwritten transfer rules. The proposal identifies a route to reduce the manual burden, and the paper leaves the quality of the extracted rules and the amount of human review they would still require to future investigation.

The authors also identify fluency and naturalness as targets for improvements at generation time. They propose a scorer for Spanish output that could use evidence from word sequences or syntax, among the possibilities they mention. They also discuss combining that evidence with functions that consider lexical information or the source context. These are proposals for a system that has developed further than the evaluated release. They matter to the interpretation of the paper because the reported coverage does not include gains from any of them.

What the evaluation leaves open

The central limitation of the evaluation is the distance between having an available word and translating a sentence well. If the intended sense of a word is missing, a dictionary may still contain another sense and give the system coverage for the form. A word may be translated with the appropriate meaning and given an incorrect inflection. A sentence may also need a change in structure beyond the transfer patterns in the system. The coverage metric leaves all of these situations unresolved.

The paper characterizes the translator as capable of producing translations at the state of the art. The reported experiments give no comparative sentence-quality measure with which to assess that statement. They show vocabulary coverage and compare segmentation error against an in-house reference. The worked rule demonstrates a specific transformation. These are useful observations with narrower scope. A claim about comparable translation quality across systems would require evidence about the outputs on a shared task.

There is a related distinction between the rule development method and a quality evaluation. Comparing the generated output with a reference while writing a rule is a sensible way to notice problems. Once the author of the rule has seen those examples, improved behavior on them would show that the intended change was implemented. Evidence about generalization would come from separate examples that include the construction in other settings. The paper describes the development procedure and presents a rule but provides no separate count of where the rules succeed or fail on new inputs.

The relationship between corpus construction and test material places another limit on interpretation. United Nations texts supplied the parallel material used in building the dictionary, and a United Nations subcorpus served as a test collection. The paper does not specify how documents were partitioned between extraction and coverage evaluation. That leaves overlap unresolved. The result remains a measured coverage value for the stated subcorpus. It gives less information about coverage on material guaranteed to be separate from the texts that contributed entries.

The news set has an explicit development role. Its coverage is valuable for tracking the translator while the resources are being revised. That role leaves open how the same system would perform on fresh news texts selected independently of development. The in-house test set gives some breadth by adding transportation and hospitality material. Its aggregate score gives no separate account of the two domains, the distribution of document types within them, or the coverage likely in another collection with the same labels.

The segmentation evaluation has a similar boundary. Its common reference makes the comparison interpretable, and the reference consists of 456 words. The paper gives no uncertainty estimate, breakdown by kinds of boundary decision or verification on another sample. The authors’ description of the errors as comparable captures their engineering judgment. It leaves open whether the ordering is stable and whether the same choices would have similar effects on the output of the full translator.

The dictionary-building experiments also leave several quantities unknown. The paper describes checking entries obtained through manual and statistical methods, but it does not report separate acceptance rates or describe how ambiguities were adjudicated in detail. It gives no breakdown of coverage by dictionary source, grammatical category or kind of unknown word. A reader can therefore see how the inventory was created and see the resulting coverage, while having limited evidence about which types of additions would close the remaining gaps.

Finally, the measured task is translation from Chinese into Spanish. The alignment procedure uses both directions as a way to find reliable candidates, but the completed analysis, rules and generation are organized for one direction. The Spanish generator’s existence says nothing about whether the implementation can analyze Spanish for a reverse translator, and the Chinese boundary analysis has a source-side role. The paper’s contribution is the assembly and initial evaluation of the stated direction, with the recorded results applying to the sets and stages examined there.

What came after

No later study is identified as extending or evaluating this particular translator. The paper itself looks ahead by proposing ways to build on the released rule-based system. Those proposals describe the roles additional corpus evidence could play once the dictionaries, transfer rules and Spanish generation were in place.

One proposal would move statistical evidence into the creation and selection of transfer rules. The implemented system uses the parallel corpus to find candidate translations of individual words. In the proposed extension, parallel texts would also supply evidence for grammatical transformations, and the rules would carry probabilities. That would give a future system a way to weigh alternative transfers when the available structure permits different Spanish renderings. It would also change the role of human effort, since people could review proposed patterns as well as write them from observations of translated text.

Another direction concerns the Spanish sentences the system generates. The authors suggest scoring alternatives for fluency, using recurring word sequences or grammatical structure as possible sources of evidence. They note that the generation procedure would need to account for how the score is obtained. They also suggest using lexical features and information from the Chinese context alongside such a score. A preference for a familiar Spanish sequence could help with naturalness, while a signal from the source could help choose a rendering suited to the meaning being expressed.

The paper’s future program therefore extends the hybrid design at distinct stages. Corpus evidence already helps populate the dictionaries in the released system. The proposed work would use it to discover and rank structural transformations and to guide the choice of output. The evidence the authors leave for that program is an available Chinese-to-Spanish implementation, an account of how its resources were built, and coverage and segmentation measurements for the initial system.

Cite

Cite as Jordi Centelles and Marta R. Costa-jussà. 2014. Chinese-to-Spanish rule-based machine translation system. Proceedings of the 3rd Workshop on Hybrid Approaches to Machine Translation (HyTra).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/v1/w14-1015

@inproceedings{centelles2014chinese,
  title = {{Chinese-to-Spanish rule-based machine translation system}},
  author = {Jordi Centelles and Marta R. Costa-jussà},
  booktitle = {Proceedings of the 3rd Workshop on Hybrid Approaches to Machine Translation (HyTra)},
  year = {2014},
  doi = {10.3115/v1/w14-1015},
  url = {https://doi.org/10.3115/v1/w14-1015}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/centelles-2014-chinese-spanish-rule-based-machine/