资源描述:
《georgian electronic scientific journal computer science and telecommunications 2006no》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、GeorgianElectronicScientificJournal:ComputerScienceandTelecommunications2006
2、No.4(11)PortableParallelTranslationMachineforMulti-DictionarySystemsMosesE.EkpenyongDepartmentofMathematics,StatisticsandComputerscience,UniversityofUyo,P.M.B.1017,Uyo,520001,Uyo,NigeriaE-mail:ekpenyong_moses@yahoo.comT
3、el:(234)8037933961AbstractThispaperimplementsanopensourcemulti-dictionaryparallel-translationmachineusingthePythonprogramminglanguage.TheimplementationparallelizesthetranslationsofEnglishwordsintothreedifferentlanguages(German,IbibioandFrench).Theresearchmodelhasadaptabilityforn-languages,whichc
4、ouldbeimplementedbyaddingn-processthreadstothecurrentdesignandbuildingn-dictionariesinaPythoncompatibledatabaseformat.Toevaluatetheperformanceofthisdesign,asequentialversionoftheparallel-translationmachinewasalsodevelopedandcomparedwiththeparallelversion.Itwasobservedthatontheaverage,forten(10)e
5、xistingwordsrandomlyselectedfromadatabaseoffourhundredandsix(406)words,theprocessingtimefortranslationsintheparallel-translationmachinewasfasterthanitssequentialversion.Keywords:DBMS,MT,PythonMPI,Simulation,Multi-threading,StringProcessingIntroductionDictionariesandwordtranslationmodelsareusedby
6、varioussystems,mostofteninmachinetranslation(MT).Intherealmofdatabasemanagementsystems(DBMSs),thetermconcurrency/parallelismisusedtodenotetheabilityofmorethanonedatabaseapplication(orprocess)torunatthesametime.DBMScanallowmultipleusersaccesstodataatthesametimewhilemaintainingintegrityandconsiste
7、ncyofdata.BecauseDBMSshastheabilitytosharedataamongmultipleusersandmultipleapplications,thedatabasesystemshouldprovideameansformanagingconcurrentaccesstodatatherebyensuringthatthedatawillbemaintainedinaconsistentstate,andthattheintegrityofdatawillbepreserved.Oneofthemethodsofaccomplishingthisist
8、oenforceanexclusiveserialmodeofprocessingdatabaserequests.Thatis,eachtransactionwaitsuntilanothertransactionhascompleteditswork.However,thistypeofprocessingresultsinperformancelevelsthataresimplyunacceptablefortoday’sonlines