Generalized Graphical Abstractions for Statistical Machine Translation

Total Page:16

File Type:pdf, Size:1020Kb

Generalized Graphical Abstractions for Statistical Machine Translation Generalized Graphical Abstractions for Statistical Machine Translation Karim Filali and Jeff Bilmes∗ Departments of Computer Science & Engineering and Electrical Engineering University of Washington Seattle, WA 98195, USA fkarim@cs,[email protected] Abstract the viability of our graphical model representation and new software system. We introduce a novel framework for the There are several important advantages to a uni- expression, rapid-prototyping, and eval- fied probabilistic framework for MT including: (1) uation of statistical machine-translation the same codebase can be used for training and de- (MT) systems using graphical mod- coding without having to implement a separate de- els. The framework extends dynamic coder for each model; (2) new models can be pro- Bayesian networks with multiple con- totyped quickly; (3) combining models (such as in nected different-length streams, switching a speech-MT system) is easier when they are en- variable existence and dependence mech- coded in the same framework; (4) sharing algo- anisms, and constraint factors. We have rithms across different disciplines (e.g., the MT and implemented a new general-purpose MT the constraint-satisfaction community) is facilitated. training/decoding system in this frame- 2 Graphical Model Framework work, and have tested this on a variety of A Graphical Model (GM) represents a factorization existing MT models (including the 4 IBM of a family of joint probability distributions over a models), and some novel ones as well, set of random variables using a graph. The graph all using Europarl as a test corpus. We specifies conditional independence relationships be- describe the semantics of our representa- tween the variables, and parameters of the model tion, and present preliminary evaluations, are associated with each variable or group thereof. showing that it is possible to prototype There are many types of graphical models. For ex- novel MT ideas in a short amount of time. ample, Bayesian networks use an acyclic directed 1 Introduction graph and their parameters are conditional probabili- ties of each variable given its parents. Various forms We present a unified graphical model framework of GM and their conditional independence proper- based on (Filali and Bilmes, 2006) for statistical ma- ties are defined in (Lauritzen, 1996). chine translation. Graphical models utilize graphical Our graphical representation, which we call descriptions of probabilistic processes, and are capa- Multi-dynamic Bayesian Networks (MDBNs) (Filali ble of quickly describing a wide variety of different and Bilmes, 2006), is a generalization of dynamic sets of model assumptions. In our approach, either Bayesian networks (DBNs) (Dean and Kanazawa, phrases or words can be used as the unit of transla- 1988). DBNs are an appropriate representation for tion, but as a first step, we have only implemented sequential (for example, temporal) stochastic pro- word-based models since our main goal is to show cesses, but can be very difficult to apply when de- This∗ material was supported by NSF under Grant No. ISS- pendencies have arbitrary time-span and the exis- 0326276. tence of random variables is contingent on the val- ues of certain variables in the network. In (Filali which indicates how many times ei is used by words and Bilmes, 2006), we discuss inference and learn- in the French string. Each φi in turn grants existence ing in MDBNs. Here we focus on representation to a set of RVs under it. Given the fertilities (the fig- and the evaluation of our new implementation and ure depicts the case φ1 = 3; φ2 = 1; φ3 = 0), for framework. Below, we summarize key features un- each word ei, φi French word RVs are granted exis- derlying our framework. In section 3, we explain tence and are denoted by the tablet τi1; τi2; : : : ; τiφi how these features apply to a specific MT model. of ei. The values of τ variables need to match the • Multiple DBNs can be represented along with actual observed French sequence f1; : : : ; fm. This is rules for how they are interconnected — the rule de- represented as a shared constraint between all the f, scription lengths are fixed (they do not grow with the π, and τ variables which have incoming edges into length of the DBNs). the observed variable v. v’s conditional probability • Switching dependencies (Geiger and Hecker- table is such that it is one only when the associated man, 1996): a variable X is a switching parent of constraint is satisfied. The variable πi;k is a switch- Y if X influences what type of dependencies Y has ing dependency parent with respect to the constraint with respect to its other parents, e.g., an alignment variable v and determines which fj participates in variable in IBM Models 1 and 2 is switching. an equality constraint with τi;k. • Switching existence: A variable X is “switch- In the null word sub-model, the constraint that ing existence” with respect to variable Y if the value successive permutation variables be ordered is im- of X determines whether Y exists. An example is a plemented using the observed child w of π0i and fertility variable in IBM Models 3 and above. π0(i+1). The probability of w being unity is one only • Constraints and aggregation: BN semantics can when the constraint is satisfied and zero otherwise. encode various types of constraints between groups The bottom variable m is a switching existence of variables (Pearl, 1988). For example, in the con- node (observed to be 6 in the figure) with cor- struct A ! B C where B is observed, B can responding French word sequence and alignment constrain A and C to be unequal. We extend those variables. The French sequence participates in the semantics to support a more efficient evaluation of v constraint described above, while the alignment constraints under some variable order conditions. variables aj 2 f1; : : : ; `g; j 2 1; : : : ; m constrain the fertilities to take their unique allowable values 3 GM Representation of IBM MT Models (for the given alignment). Alignments also restrict In this section we present a GM representation for the domain of permutation variables, π, using the IBM model 3 (Brown et al., 1993) in fig. 1. Model 3 constraint variable x. Finally, the domain size of is intricate enough to showcase some of the features each aj has to lie in the interval [0; `] and that is en- of our graphical representation but not as complex forced by the variable u. The dashed edges connect- as, and thus is easier to describe, than model 4. Our ing the alignment a variables represent an extension choice of representing IBM models is not because to implement an M3/M-HMM hybrid.1 we believe they are state of the art MT models— 4 Experiments although they are still widely used in producing alignments and as features in log-linear models— We have developed (in C++) a new entirely self- but because they provide a good initial testbed for contained general-purpose MT training/decoding our architecture. system based on our framework, of which we pro- The topmost random variable (RV), `, is a hid- vide a preliminary evaluation in this section. Al- den switching existence variable corresponding to though the framework is perfectly capable of rep- the length of the English string. The box abutting resenting phrase-based models, we restrict ourselves ` includes all the nodes whose existence depends on to word-based models to show the viability of graph- the value of `. In the figure, ` = 3, thus resulting ical models for MT and will consider different trans- lation units in future work. We perform MT ex- in three English words e1; :::; e3, connected using a second-order Markov chain. To each English word 1We refer to the HMM MT model in (Vogel et al., 1996) as ei corresponds a conditionally dependent fertility φi, M-HMM to avoid any confusion. ` 2 e1 e2 e3 use of a fixed lexical table learned using an M- m' HMM model specified using our tool, and neither Á0 Á1 Á2 Á3 uses minimum error rate training. (3) uses Model ¿01 ¿02 ¿11 ¿12 ¿13 ¿21 4 parameters learned using GIZA++. This compari- ¼01 w ¼02 ¼11 ¼12 ¼13 ¼21 u v y son is informative because Rewrite is a special pur- x f1 f2 f3 f4 f5 f6 pose model 4 decoder and we would expect it to a1 a2 a3 a4 a5 a6 perform at least as well as decoders not written for m a specific IBM model. Pharaoh is more general in that it only requires, as input, a lexical table from Figure 1: Unrolled Model 3 graphical model with fertility 3 assignment φ0 = 2; φ1 = 3; φ2 = 1; φ3 = 0. any given model. Our MDBN system is not tai- lored for the translation task. Pharaoh was able to periments on a English-French subset of the Eu- decode the 2000 sentences of the test set in 5000s roparl corpus used for the ACL 2005 SMT evalu- on a 3.2GHz machine; Rewrite took 84000s, and we ations (Koehn and Monz, 2005). We train an En- allotted 400000s for our engine (200s per sentence). glish language model on the whole training set us- We attribute the difference in speed and BLEU score ing the SRILM toolkit (Stolcke, 2002) and train between our system and Pharaoh to the fact Value MT models mainly on a 10k sentence pair sub- Elimination searches in a depth-first fashion over set of the ACL training set. We test on the 2000 the space of partial configurations of RVs, while sentence test set used for the same evaluations. Pharaoh expands partial translation hypotheses in a For comparison, we use the MT training program, best-first search manner.
Recommended publications
  • The Ancient Egyptian Pharaohs
    The Ancient Egyptian Pharaohs 8. 1 Introduction In the last chapter, you learned how early Egyptians settled in the Nile Ri ver valley. In this chapter, you will visit ancient Egypt and meet four of its leaders, called pharaohs. In 1922, archeologists discovered the tomb of a pharaoh known as King Tutankhaten, or King Tut. Inside a small burial chamber, they found three coffins nested inside each other. The smallest coffin was made of solid gold. It held the king's mummy. (A mummy is a body that has been preserved after death to keep it from decaying.) On the mummy's head was a magnificent golden mask. Jewelry and good luck charms lay on the mummy and in the wrappings that protected it. Other rooms of the tomb were filled with statues, weapons, furniture, and even a chariot. The treasures in King Tut's tomb provided an amazing glimpse into ancient Egypt. Other pharaohs also left behind fabulous riches and artwork. Many of them built great monuments to celebrate their accomplishments. Like King Tut's tomb, these artifacts have much to teach us about this ancient civilization. In this chapter, you will learn about three important lE.Il..<COMlE ,,. <GY1P1r .." periods in ancient Egyptian ~- .. ~ ·,;,,,., .; ...... history. They are called year Mar~af . the Old Kingdom, the \hemonu"1 e ~ --- - Middle Kingdom, and It was buil l : f . JftJ a:J ~ ~ - the New Kingdom. Then - ' . You( frien , you wi II meet four of the pharaohs who ruled during Jose these periods. You will learn about their achieve- ments and explore some Use this postcard as a graphic organizer to help you learn about of the monuments they ancient Egyptian pharaohs and their achievements.
    [Show full text]
  • The Fiction of Gothic Egypt and British Imperial Paranoia: the Curse of the Suez Canal
    The Fiction of Gothic Egypt and British Imperial Paranoia: The Curse of the Suez Canal AILISE BULFIN Trinity College, Dublin “Ah, my nineteenth-century friend, your father stole me from the land of my birth, and from the resting place the gods decreed for me; but beware, for retribution is pursuing you, and is even now close upon your heels.” —Guy Boothby, Pharos the Egyptian, 1899 What of this piercing of the sands? What of this union of the seas?… What good or ill from LESSEPS’ cut Eastward and Westward shall proceed? —“Latest—From the Sphinx,” Punch, 57 (27 November 1869), 210 IN 1859 FERDINAND DE LESSEPS began his great endeavour to sunder the isthmus of Suez and connect the Mediterranean with the Red Sea, the Occident with the Orient, simultaneously altering the ge- ography of the earth and irrevocably upsetting the precarious global balance of power. Ten years later the eyes of the world were upon Egypt as the Suez Canal was inaugurated amidst extravagant Franco-Egyp- tian celebrations in which a glittering cast of international dignitar- ies participated. That the opening of the canal would be momentous was acknowledged at the time, though the nature of its impact was a matter for speculation, as the question posed above by Punch implies. While its codevelopers France and Egypt pinned great hopes on the ca- nal, Britain was understandably suspicious of an endeavor that could potentially undermine its global imperial dominance—it would bring India nearer, but also make it more vulnerable to rival powers. The inauguration celebrations
    [Show full text]
  • The Wives of Solomon
    THE WIVES OF SOLOMON. BY MONCURE D. CONWAY. " CCORDING to the first book of Kings, Solomon's half-brother, ft Adonijah, after the defeat of an alleged (perhaps mythical) effort to recover the throne of which he had been defrauded, sub­ mitted himself to Solomon. He had become enamored of the vir­ gin who had been brought to the aged King David to try to revive some vitality in him; and he came to Bathsheba asking her to re­ quest her son the king to give him this damsel as his wife. Bath­ sheba proffered this "small petition" for Adonijah, but Solomon was enraged, and ironically suggested that she should ask the king­ dom itself for Adonijah, whom he straightway ordered to execu­ tion. The immediate context indicates that Solomon suspected in this petition a plot against his throne. A royal father's harem was inherited by a royal son, and its possession is supposed to have in­ volved certain rights of succession: this is the only interpretation I have ever heard of the extreme violence of Solomon. But I have never been satisfied with this explanation. Would Adonijah have requested, or Bathsheba asked as a "small" thing, a favor touch­ ing the king's tenure? The story as told in the Book of Kings appears diplomatic, and several details suggest that in some earlier legend the strife between the half- brothers had a more romantic relation to "Abishag the Shunammite," who is described as "very fair." Abishag is interpreted as meaning "father of error," and though that translation is of doubtful accuracy, its persistence in­ dicates the place occupied by her in early tradition.
    [Show full text]
  • Egyptian Pharaohs Who Were the Pharaohs?
    Egyptian Pharaohs Who were the pharaohs? The pharaohs of Egypt were the kings and queens of Egypt. Who were the pharaohs? Most Pharaohs were men. Some were women. Cleopatra Who were the pharaohs? Pharaohs were the most powerful and important people in the kingdom. Who were the pharaohs? ● head of the government and high priest of every temple ● considered to be half-man, half-god. The First Pharaoh of Egypt ● First true pharaoh of Egypt was Narmer (sometimes called Menes) ● United Lower and Upper Egypt Duties of a Pharaoh -Establish and collect taxes -Begin and oversee construction -Protect Egypt from enemies -Represent the people to their gods, and gods to their people -store food (in case of drought) -be in charge of trade with other countries -lead troops into battle -preserve (maintain) order and justice in Egypt Which god did the people think their pharaoh was? ● Ancient Egyptians believed that their pharaoh was the god, Horus, son of Ra (the sun god). ● When a pharaoh died he was thought to be united with the sun and then a new Horus ruled on earth. Where were pharaohs buried? ● First, Egyptian kings were buried in the pyramids. ○ About 50 royal pyramids survived. ● Later years, Egyptian kings were buried in tombs in the Valley of the Kings at Thebes. ○ These tombs were tunnels cut deep into the natural rock. Fun fact! Beards like mine were normally fake. They were not there for style, but indicated social position and masculinity. See this cobra on my headdress? Actually, this was considered as a kind of “protection” from enemies.
    [Show full text]
  • The Pharaohs of Ancient Egypt: Oppressors Or Great
    order • proposal • value • oppressive • revolution • stability SoGen Unit 6.1 social THE PHARAOHS OF studies ANCIENT EGYPT: OPPRESSORS OR GREAT LEADERS? SOCIAL STUDIES ACTIVITIES Session 1 2–3 Reader’s Theater Identifying Different Perspectives and Support Session 2 4–7 Building Background Knowledge Class Discussion Session 3 8–10 Understanding the Pharaohs Session 4 11–12 It’s Debate Time! Session 5 13–14 Writing SUPPLEMENTARY ACTIVITIES FOR OTHER CONTENT AREAS ELA 15 Twitter Revolutions Math 16 Mathematics with Knotted Ropes Science 17 Precautions in the Lab FOCUS WORDS Examining the Focus Words Closely 18 © 2015 SERP SoGen Unit 6.1 1 Session 1 order • proposal • value • oppressive • revolution • stability Reader’s Theater Comparing Parents to Pharaohs Setting: Tiana, Tray, and Ingrid are walking to school together. They stop to pick up their friend Raul. Since he hasn’t been answering their phone calls, Tiana knocks loudly on his door. After a minute, Raul storms out of his house. Raul: I swear! My parents are like…oppressors! Raul: I’m way ahead of you, Tiana. I did suggest going Tiana: What? somewhere more affordable, and my parents said, “No!” Honestly, I think they just want other parents to be Raul: My parents! They act like those people we’ve been impressed because they take their kids to Disney World. studying in social studies, the pharaohs in ancient Egypt. My aunt and uncle took their kids to the Grand Canyon They’re oppressive! last summer and they can’t stop talking about it. My Tiana: So you’re saying that your parents collect taxes parents are doing this just to look good, so they really from you and force you to build pyramids? Right.
    [Show full text]
  • Ancient Egypt: Symbols of the Pharaoh
    Ancient Egypt: Symbols of the pharaoh Colossal bust of Ramesses II Thebes, Egypt 1250 BC Visit resource for teachers Key Stage 2 Ancient Egypt: Symbols of the pharaoh Contents Before your visit Background information Resources Gallery information Preliminary activities During your visit Gallery activities: introduction for teachers Gallery activities: briefings for adult helpers Gallery activity: Symbol detective Gallery activity: Sculpture study Gallery activity: Mighty Ramesses After your visit Follow-up activities Ancient Egypt: Symbols of the pharaoh Before your visit Ancient Egypt: Symbols of the pharaoh Before your visit Background information The ancient Egyptians used writing to communicate information about a person shown on a sculpture or relief. They called their writing ‘divine word’ because they believed that Thoth, god of wisdom, had taught them how to write. Our word hieroglyphs derives from a phrase meaning ‘sacred carvings’ used by the ancient Greek visitors to Egypt to describe the symbols that they saw on tomb and temple walls. The number of hieroglyphic signs gradually grew to over 7000 in total, though not all of them were used on a regular basis. The hieroglyphs were chosen from a wide variety of observed images, for example, people, birds, trees, or buildings. Some represent the sounds of the ancient Egyptian language, but consonants only. No vowels were written out. Also, it was not an alphabetic system, since one sign could represent a combination of two or more consonants like the gaming-board hieroglyph which stands for the consonants mn. Egyptologists make the sounds pronounceable by putting an e between the consonants, so mn is read as men.
    [Show full text]
  • Images of Power
    IMAGES OF POWER: PREDYNASTIC and OLD KINGDOM EGYPT: FOCUS (Egyptian Sculpture of Predynastic and Old Kingdom Egypt) ONLINE ASSIGNMENT: http://smarthisto ry.khanacademy .org/palette-of- king- narmer.html TITLE or DESIGNATION: Palette of Narmer CULTURE or ART HISTORICAL PERIOD: Predynastic Egyptian DATE: c. 3100- 3000 B.C.E. MEDIUM: slate TITLE or DESIGNATION: Seated Statue of Khafre, from his mortuary temple at Gizeh CULTURE or ART HISTORICAL PERIOD: Old Kingdom Egyptian DATE: c. 2575-2525 B.C.E. MEDIUM: diorite ONLINE ASSIGNMENT: https://www.khanacademy.org/human ities/ancient-art-civilizations/egypt- art/predynastic-old-kingdom/a/king- menkaure-mycerinus-and-queen TITLE or DESIGNATION: King Menkaure and his queen (possibly Khamerernebty) CULTURE or ART HISTORICAL PERIOD: Old Kingdom Egyptian DATE: c. 2490-2472 B.C.E. MEDIUM: slate ONLINE ASSIGNMENT: https://www.khanacademy. org/humanities/ancient- art-civilizations/egypt- art/predynastic-old- kingdom/v/the-seated- scribe-c-2620-2500-b-c-e TITLE or DESIGNATION: Seated Scribe from Saqqara CULTURE or ART HISTORICAL PERIOD: Old Kingdom Egyptian DATE: c. 2450-2325 B.C.E. MEDIUM: painted limestone with inlaid eyes of rock crystal, calcite, and magnesite IMAGES OF POWER: PREDYNASTIC and OLD KINGDOM EGYPT: SELECTED TEXT (Egyptian Sculpture of Predynastic and Old Kingdom Egypt) The Palette of King Narmer, c. 3100-3000 BCE, slate Dating from about the 31st century BCE, this “palette” contains some of the earliest hieroglyphic inscriptions ever found. It is thought by some to depict the unification of Upper and Lower Egypt under the king Narmer. On one side, the king is depicted with the bulbous White crown of Upper (southern) Egypt, and the other side depicts the king wearing the level Red Crown of Lower (northern) Egypt.
    [Show full text]
  • The New Egyptian Novel
    Map of Greater Cairo sabry hafez THE NEW EGYPTIAN NOVEL Urban Transformation and Narrative Form nce the cultural and political beacon of the Arab world, Cairo is now close to becoming the region’s social sump. The population of this megalopolis has swollen to an estimated 17 million, more than half of whom live in the sprawling self- Obuilt neighbourhoods and shantytowns that ring the ancient heart of the city and its colonial-era quarters. Since the late 1970s, the regime’s lib- eralization policy—infitah, or ‘open door’—combined with the collapse of the developmentalist model, a deepening agrarian crisis and accel- erated rural–urban migration, have produced vast new zones of what the French call ‘mushroom city’. The Arabic term for them al-madun al-‘ashwa’iyyah might be rendered ‘haphazard city’; the root means ‘chance’. These zones developed after the state had abandoned its role as provider of affordable social housing, leaving the field to the private sector, which concentrated on building middle and upper-middle-class accommodation, yielding higher returns. The poor took the matter into their own hands and, as the saying goes, they did it poorly. Sixty per cent of Egypt’s urban expansion over the last thirty years has consisted of ‘haphazard dwellings’. These districts can lack the most basic services, including running water and sewage. Their streets are not wide enough for ambulances or fire engines to enter; in places they are even narrower than the alleyways of the ancient medina. The random juxtaposition of buildings has produced a proliferation of cul-de-sacs, while the lack of planning and shortage of land have ensured a complete absence of green spaces or squares.
    [Show full text]
  • An Analysis of Bat Pharaoh's Character and Identity In
    RIGHTEOUS GENTILE AND DIVINE DAUGHTER: AN ANALYSIS OF BAT PHARAOH’S CHARACTER AND IDENTITY IN ANCIENT, MEDIEVAL, AND MODERN TIMES By Daniella Pressner Thesis Submitted to the Faculty of the Graduate School of Vanderbilt University in partial fulfillment of the requirements for the degree of MASTER OF ARTS in Religion May, 2010 Nashville, Tennessee Approved: Annalisa Azzoni Leah Marcus To Shaul Aryeh and Cole Yehudah For making this a journey of exploration and joy לפיכ אנחנו חייבי להודות , להלל , לשבח , לפאר , לרומ , להדר , לבר , לעלה ולקלס , למי שעשה לאבותינו ולנו את כל הניסי האלו . הוציאנו מעבדות לחרות , מיגו לשמחה , ומאבל ליו טוב , ומאפלה לאור גדול , ומשעבוד לגאו לה . ונאמר לפניו שירה חדשה . הללויה : : הגדה של פסח ii ACKNOWLEDGEMENTS I would like to thank the following individuals who were my partners in this process. My deepest appreciation to Professor Annalisa Azzoni who challenged me to find meaning in form and punctuation in content. Thank you for encouraging me to begin the writing process, and for supporting, encouraging, and directing me throughout this process. Your humble intellect, zest for perfection, and warm guidance are truly inspirational. Thank you to Professor Leah Marcus, my second reader, for reminding me to work hard and to live life. Thank you for your suggestions, advice, feedback, and fresh eyes. The Jewish Studies Department at Vanderbilt is very lucky to have you on board. A special thank you to Lynne Perler for your reminders to register, your help with scheduling, and for your ongoing and steady encouragement over the past 5 years. Walking into an office with you sitting at the desk somehow always made it feel like home.
    [Show full text]
  • Assyrian Imperial Administration 680-627 BCE : a Comparison Between Babylonia and the West Under Esarhaddon and Assurbanipal
    Edith Cowan University Research Online Theses : Honours Theses 2007 Assyrian Imperial Administration 680-627 BCE : A Comparison Between Babylonia and the West Under Esarhaddon and Assurbanipal Ivan Losada-Rodriguez Edith Cowan University Follow this and additional works at: https://ro.ecu.edu.au/theses_hons Part of the Islamic World and Near East History Commons Recommended Citation Losada-Rodriguez, I. (2007). Assyrian Imperial Administration 680-627 BCE : A Comparison Between Babylonia and the West Under Esarhaddon and Assurbanipal. https://ro.ecu.edu.au/theses_hons/1398 This Thesis is posted at Research Online. https://ro.ecu.edu.au/theses_hons/1398 Edith Cowan University Copyright Warning You may print or download ONE copy of this document for the purpose of your own research or study. The University does not authorize you to copy, communicate or otherwise make available electronically to any other person any copyright material contained on this site. You are reminded of the following: Copyright owners are entitled to take legal action against persons who infringe their copyright. A reproduction of material that is protected by copyright may be a copyright infringement. A court may impose penalties and award damages in relation to offences and infringements relating to copyright material. Higher penalties may apply, and higher damages may be awarded, for offences and infringements involving the conversion of material into digital or electronic form. ASSYRIAN IMPERIAL ADMINISTRATION 680-627 BCE A Comparison Between Babylonia and the West Under Esarhaddon and Assurbanipal By Ivan Losada-Rodriguez A dissertation submitted as partial fulfilment of the requirements for the degree of Bachelor of Arts (History) - Honours Edith Cowan University International, Cultural and Community Studies Faculty of Education and Arts Date of Submission: 12 November 2007 USE OF THESIS The Use of Thesis statement is not included in this version of the thesis.
    [Show full text]
  • Training and Evaluating Error Minimization Decision Rules For
    Training and Evaluating Error Minimization Rules for Statistical Machine Translation Ashish Venugopal Andreas Zollmann Alex Waibel School of Computer Science School of Computer Science School of Computer Science Carnegie Mellon University Carnegie Mellon University Carnegie Mellon University [email protected] [email protected] [email protected] Abstract As discussed in (Och, 2003), the direct translation model represents the probability of target sentence Decision rules that explicitly account for ’English’ e = e1 ... eI being the translation for a non-probabilistic evaluation metrics in source sentence ’French’ f = f1 ... fJ through an machine translation typically require spe- exponential, or log-linear model cial training, often to estimate parame- Pm ters in exponential models that govern the exp( k=1 λk ∗ hk(e, f)) pλ(e|f) = P Pm 0 (1) search space and the selection of candi- e0∈E exp( k=1 λk ∗ hk(e , f)) date translations. While the traditional Maximum A Posteriori (MAP) decision where e is a single candidate translation for f rule can be optimized as a piecewise lin- from the set of all English translations E, λ is the ear function in a greedy search of the pa- parameter vector for the model, and each hk is a rameter space, the Minimum Bayes Risk feature function of e and f. In practice, we restrict (MBR) decision rule is not well suited to E to the set Gen(f) which is a set of highly likely this technique, a condition that makes past translations discovered by a decoder (Vogel et al., results difficult to compare.
    [Show full text]
  • 1 II) EGYPTIAN SOCIETY Ancient Egypt Had Three Main Social Classes
    II) EGYPTIAN SOCIETY Ancient Egypt had three main social classes--upper, middle, and lower. The upper class consisted of the royal family, rich landowners, government officials, important priests and army officers, and doctors. The middle class was made up chiefly of merchants, manufacturers, and artisans. The lower class, the largest class by far, consisted of unskilled labourers. Most of them worked on farms. Prisoners captured in foreign wars became slaves and formed a separate class. Ancient Egypt's class system was not rigid. People in the lower or middle class could move to a higher position. They improved their status mainly through marriage or success in their jobs. Even slaves had rights. They could own personal items, get married, and inherit land. They could also be given their freedom. The society was dominated by men. The man was the head of the family, but women had extensive rights, and could own and inherit property and participate in trade. Women could even divorce their husbands. 1) Read the text and complete the pyramid of the Egyptian social classes below. 1 Four important pharaohs Khufu Khufu was a Pharaoh of Ancient Egypt's Old Kingdom. He reigned from around 2589 BC to 2566 BC. Khufu is perhaps better known by his Greek name, Cheops. He was the builder of the Great Pyramid of Giza, the only one of the Seven Wonders of the Ancient World still standing. His Great Pyramid at Giza marks the climax in pyramid building in respect to both size and quality of construction. Hatshepsut Hatshepsut, the fifth pharaoh of the Eighteenth Dynasty of Ancient Egypt, is generally regarded by Egyptologists as one of the most successful female pharaohs.
    [Show full text]