diff --git a/.gitattributes b/.gitattributes index a0be8f64af..cedf21b502 100644 --- a/.gitattributes +++ b/.gitattributes @@ -144,7 +144,6 @@ icu4c/source/tools/tzcode/icuregions -text icu4j/main/shared/data/icudata.jar -text icu4j/main/shared/data/icutzdata.jar -text icu4j/main/shared/data/testdata.jar -text -icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict -text icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/data/ICU_3.6/com.ibm.icu.impl.OlsonTimeZone.dat -text icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/data/ICU_3.6/com.ibm.icu.impl.TimeZoneAdapter.dat -text icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/data/ICU_3.6/com.ibm.icu.math.BigDecimal.dat -text diff --git a/icu4j/build.xml b/icu4j/build.xml index 8adce8f919..44270b96f2 100644 --- a/icu4j/build.xml +++ b/icu4j/build.xml @@ -567,7 +567,6 @@ - @@ -578,7 +577,6 @@ - @@ -611,7 +609,6 @@ - @@ -623,7 +620,6 @@ - diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict b/icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict deleted file mode 100644 index 10f430b775..0000000000 Binary files a/icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/english.dict and /dev/null differ diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/words.txt b/icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/words.txt deleted file mode 100644 index a7e06ac91a..0000000000 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/data/rbbi/words.txt +++ /dev/null @@ -1,2990 +0,0 @@ --- ---such -a -a'bel-mizraim -a'iah -abate -abated -abdicated -abel -abi'da -abide -abim'a-el -abim'elech -abim'elech's -able -abolish -abolishing -abomination -about -above -abraham -abraham's -abram -abram's -abroad -absent -absolute -absolved -abundance -abundantly -abuses -accad -accept -accepted -accommodation -according -accordingly -account -accustomed -achbor -acknowledged -acquiesce -acquired -across -act -acts -adah -adam -adbeel -add -added -admah -administration -adullamite -advanced -adviser -afar -affected -afflicted -affliction -afraid -after -afterward -afterwards -again -against -age -ages -agile -agree -agreed -ahuz'zath -ai -aid -air -akan -al'lon-bacuth -alighted -alive -all -allegiance -alliances -allies -allow -allowance -almighty -almo'dad -almond -almonds -alone -along -aloud -already -also -altar -alter -altering -although -altogether -alvah -alvan -am -am'alek -am'raphel -amal'ekites -amazement -america -ammonites -among -amongst -amorite -amorites -amount -an -an'amim -anah -and -aner -angel -angels -anger -angry -animal -animals -annihilation -anointed -another -another's -answer -answered -any -anything -anywhere -apart -appealed -appealing -appear -appeared -appease -appoint -appointed -approached -approaching -appropriations -aprons -ar'arat -ar'ioch -ar'vadites -aram -aramean -aran -arbitrary -archers -ard -are -are'li -area -arise -ark -arkites -armed -armies -arms -army -aro'di -arose -around -arpach'shad -arrayed -arrive -art -as -as'enath -ascending -ash'kenaz -ash'teroth-karna'im -ashamed -ashbel -asher -asher's -ashes -aside -ask -asked -asks -asleep -ass -ass's -assemble -assembled -assent -asses -asshu'rim -asshur -assume -assured -assyria -at -atad -ate -attack -attacked -attained -attempts -attend -attended -attention -authority -avenged -avith -away -awesome -awoke -ba'al-ha'nan -ba'bel -back -backward -bad -bade -bags -baked -baker -balm -bank -banks -barbarous -barren -bas'emath -basket -baskets -battle -bdellium -be -be'or -be-e'ri -bear -bearing -bears -beast -beasts -beautiful -became -because -becher -become -becomes -bed -bedad -been -beer-la'hai-roi -beer-sheba -befall -befallen -befalls -before -beg -began -beginning -beguiled -begun -beheld -behind -behold -being -bela -believe -believed -belly -belong -belonging -belongs -below -ben-ammi -ben-o'ni -beneath -benefits -benjamin -benjamin's -bera -bereaved -bered -bereft -beri'ah -beside -besides -besought -best -bethel -bethlehem -bethu'el -better -between -beyond -bilhah -bilhan -binding -bird -birds -birsha -birth -birthday -birthright -bites -bitter -bitumen -black -blame -blameless -bless -blessed -blesses -blessing -blessings -blighted -blindness -blood -blossoms -blot -blotted -blow -bodies -body -boiling -bonds -bone -bones -book -booths -border -bore -born -borne -both -bough -bought -bound -boundaries -bounties -bow -bowed -bowing -bowshot -boys -bozrah -bracelets -branches -breach -bread -breadth -break -breaking -breasts -breath -breathed -bred -breed -breeding -brethren -brick -bricks -brimstone -bring -britain -british -broken -bronze -brother -brother's -brother-in-law -brothers -brought -brow -bruise -budded -build -building -built -bulls -bundle -bundles -buried -burn -burned -burnt -burst -bury -burying -bushes -but -butler -butlership -buy -buz -by -cain -cake -cakes -calah -calf -call -called -calls -came -camel -camel's -camels -camp -camped -can -canaan -canaan' -canaanite -canaanites -canaanitish -candid -cannot -caph'torim -captain -captive -captives -captured -caravan -carcasses -care -carefully -carmi -carried -carry -cases -caslu'him -cast -cattle -caught -cause -caused -causes -cave -cease -ceased -certain -chain -chalde'ans -chamber -change -changed -character -charge -charged -charging -chariot -chariots -charters -cheat -cheated -ched-or-lao'mer -cheran -cherubim -chesed -chezib -chief -chiefs -child -childbearing -childless -children -children's -choice -choicest -chose -chosen -circumcised -circumstances -cities -citizens -city -civil -civilized -clans -clean -clear -cleaves -close -closed -clothed -clothes -clothing -cloud -clouds -clusters -coastland -coasts -coffin -cold -colonies -colonies: -colt -colts -combined -come -comely -comes -comfort -comforted -comforts -coming -command -commanded -commander -commandments -commerce -commit -committed -common -companies -company -complained -complete -completed -compliance -conceal -conceived -concern -concerning -conclude -concubine -concubines -condition -conditions -confined -confuse -confused -congress -conjured -connected -connection -connections -consent -consent: -conspired -constitution -constrained -constrains -consume -consumed -contempt -contended -continually -continue -continued -contract -control -controlling -convulsions -cool -cord -correspondence -corrupt -corrupted -costly -couch -couched -couches -couching -could -council -count -counted -countenance -country -course -covenant -cover -covered -covering -cows -created -creation -creator -creature -creatures -creeping -creeps -cried -crossed -crossing -crouching -crown -cruel -cruelty -cry -crying -cubit -cubits -cup -curds -current -curse -cursed -curses -cush -custody -cut -cutting -dainties -damascus -dan -dangers -dares -dark -darkness -daughter -daughter-in-law -daughters -dawned -day -days -dead -deal -dealt -death -deb'orah -deceitfully -deceived -decent -decide -decks -declaration -declare -declaring -dedan -deed -deep -defeat -defeated -defiled -define -delay -delayed -delight -deliver -delivered -delivery -denied -denounces -depart -departed -departing -dependent -dependents -depository -depriving -deriving -descendants -descending -design -desire -desired -desolate -desolation -despised -despotism -destroy -destroyed -destroys -destruction -destructive -determined -devoured -devouring -dew -dictate -did -didst -die -died -dies -diklah -dim -din'habah -dinah -dinah's -dine -dipped -direct -direction -disaster -disavow -discreet -disgrace -dishan -dishon -dismayed -displeased -displeasing -disposed -dissolutions -dissolve -dissolved -distance -distant -distress -distressed -districts -divide -divided -dividing -divination -divine -divines -do -do'danim -doer -does -doing -domestic -dominion -done -door -dothan -double -doubling -doubt -dove -down -downcast -dowry -drank -draw -drawn -dread -dream -dreamed -dreamer -dreams -drew -dried -drink -drinking -drinks -driven -drove -droves -drunk -dry -dug -dumah -dungeon -during -dust -duty -dwell -dwelling -dwelt -e'domites -e'phraim -e'phraim's -each -early -ears -earth -easily -east -eastward -eat -eaten -eating -ebal -eber -eden -eder -edom -effect -egypt -egyptian -egyptian's -egyptians -ehi -eight -eighteen -eighty -eighty-seven -eighty-six -eighty-two -either -el'iphaz -el-bethel -el-el'ohe-israel -el-paran -elah -elam -elda'ah -elder -elders -eldest -elected -eleven -eli'shah -elie'zer -ella'sar -elon -else -embalm -embalmed -embalming -embrace -embraced -emigration -emim -emptied -empty -empty-handed -enaim -encamped -encampments -encourage -end -endeavored -ended -ending -endowed -ends -enemies -enemy -english -enlarge -enlarging -enmish'pat -enmity -enoch -enosh -enough -enter -entered -entitle -entrance -entreat -envied -ephah -epher -ephrath -ephron -equal -er -erech -erected -eri -errand -esau -esau's -escape -escaped -esek -eshban -eshcol -establish -established -establishing -establishment -eternal -euphra'tes -euphrates -eve -even -evening -events -ever -everlasting -every -everything -everywhere -evil -evils -evinces -ewe -ewes -example -exceedingly -except -exchange -excited -executioners -exercise -experience -expert -explain -exposed -exposing -extend -extended -eyes -ezbon -ezer -face -faces -facts -failed -fainted -fair -faithfulness -fall -fallen -falls -falsely -families -family -famine -famished -far -fare -fared -farewell -fast -fat -father -father's -father-in-law -fathers -fatiguing -fatness -faults -favor -favorable -fawns -fear -feared -feast -fed -feebler -feed -feel -feet -fell -fellow -felt -female -festal -fetch -few -field -fields -fierce -fiercely -fifteen -fifth -fifths -fifty -fig -fill -filled -find -finds -fine -finish -finished -fire -firm -firmament -firmness -first -first- -first-born -firstlings -fish -fit -five -fixed -flaming -fled -flee -fleeing -flesh -floated -flock -flocks -flood -floor -flowed -flows -fly -foal -follow -followed -following -follows -folly -fondling -food -foolishly -foot -for -forbidden -force -forced -forces -ford -foreign -foreigner -foreigners -foremost -foreskin -foreskins -forger -forget -forgets -forgive -forgot -forgotten -form -formed -former -formerly -formidable -forms -forsaken -forth -fortune -fortunes -forty -forty-five -forty-seven -found -foundation -fountains -four -fourteen -fourteenth -fourth -frail -free -freely -fresh -freshly -friend -friendly -friends -fro -from -front -frontiers -fruit -fruitful -fruits -fugitive -fulfil -fulfilled -full -fundamentally -furnace -fury -future -gad -gaham -gained -galeed -game -garden -garment -garments -gatam -gate -gather -gathered -gaunt -gave -gavest -gaza -gazed -genealogies -general -generation -generations -gera -gerar -gershon -get -gether -gift -gifts -gihon -gilead -gir'gashites -give -given -givest -giving -go -goat -goats -god -god's -gods -goes -goi'im -going -gold -gomer -gomor'rah -gone -good -good-looking -goods -gopher -goshen -got -gotten -governed -government -governments -governments: -governor -governors -gracious -graciously -grain -grandchildren -grandson -grant -granted -grapes -grass -grave -gray -great -greater -greatly -green -grew -grieved -grievous -groping -ground -grow -growing -grown -grows -guard -guards -guile -guilt -guilty -gum -guni -ha'mathites -had -hadad -hadar -hador'am -hagar -haggi -hairs -hairy -half -hallowed -ham -hamor -hamor's -hamstring -hamul -hand -hands -handsome -hang -hanged -hanoch -happened -happiness -happy -haran -harass -harassed -hard -hardship -harlot -harlotry -harm -harshly -harvest -harvests -has -hast -haste -hastened -hastily -hate -hated -hath -hav'ilah -have -haven -havilah -having -haz'azon-ta'mar -hazarma'veth -hazo -he -he-asses -he-goats -head -heads -healed -heap -hear -heard -hearing -hearken -hearkened -hears -heart -hearts -heat -heaven -heavens -heber -hebrew -hebrews -hebron -heed -heeded -heel -heels -heifer -height -heir -held -help -helper -heman -hemdan -her -herb -herd -herds -herdsmen -here -herself -heth -hewed -hezron -hid -hidden -hide -high -hill -hills -him -himself -hind -hinder -hip -hirah -hire -hired -his -history -hither -hittite -hittites -hivite -hivites -hobah -hold -hollow -home -honest -honesty -honey -honor -honored -hori -horite -horites -horns -horse's -horsemen -horses -host -hot -hotly -house -household -households -houses -how -hul -human -humane -humble -humbled -hundred -hundredfold -hundredth -hunt -hunted -hunter -hunting -huppim -husband -husham -hushim -i -if -ill -ill-treat -image -imagination -immediate -imnah -impel -importance -imposing -impossible -in -inasmuch -incapable -including -increased -indeed -independent -indian -indignant -inestimable -inevitably -inhabitants -inheritance -iniquity -injuries -injury -innocence -innocent -inquire -inquired -inside -instead -institute -instituted -instructed -instructing -instrument -instruments -insult -insurrections -integrity -intended -intentions -interpret -interpretation -interpretations -interpreted -interpreter -interrupt -into -introducing -invariably -invasion -invasions -invested -iob -irad -iram -iron -is -is'sachar -isaac -isaac's -iscah -ish'mael -ish'mael's -ish'maelites -ishbak -ishvah -ishvi -israel -israel's -israelites -it -ithran -its -itself -jabal -jabbok -jachin -jacob -jacob's -jah'leel -jahzeel -jalam -jamin -japheth -jar -jared -javan -je'gar-sahadu'tha -je'ush -jealous -jeb'usites -jemu'el -jerah -jesting -jetheth -jetur -jewelry -jezer -jidlaph -jobab -joined -joint -jokshan -joktan -jordan -joseph -joseph's -journey -journeyed -jubal -judah -judah's -judge -judged -judges -judgment -judiciary -judith -jurisdiction -jury: -just -justice -kad'monites -kadesh -ked'emah -kedar -keep -keeper -keepers -kemu'el -ken'ites -ken'izzites -kenan -kenaz -kept -ketu'rah -kid -kids -kill -killed -kind -kindled -kindness -kindred -kinds -king -king's -kingdom -kings -kinsman -kinsmen -kir'iath-ar'ba -kiss -kissed -kittim -knead -knee -kneel -knees -knew -knife -know -knowing -knowledge -known -knows -kohath -korah -laban -laban's -labor -lack -lacking -lad -lad's -ladder -lads -laid -lain -lamb -lambs -lamech -lamentation -lamented -land -lands -language -languages -languished -large -lasha -last -later -laugh -laughed -laughter -laws -lay -laying -le-um'mim -lead -leaf -leah -leah's -lean -leap -leaped -learn -learned -least -leave -leaves -led -left -legislate -legislation: -legislative -legislature -legislatures -leha'bim -length -lentils -lesser -lest -let -letu'shim -levey -levi -liberty -lie -lies -life -lifeblood -lift -lifted -light -lights -like -likely -likeness -likewise -limping -linen -lingered -lion -lion's -lioness -listen -listened -listening -little -live -lived -lives -livestock -living -lo -load -loaded -lodge -lodged -lodging -loins -long -longed -longer -longs -look -looked -looking -loose -lord -lord's -lords -loss -lot -lot's -lotan -lotan's -loud -love -loved -lovely -loves -lower -lowered -loyally -lud -ludim -luz -lying -lyre -ma'acah -ma'halath -ma-hal'alel -mach- -mach-pe'lah -machir -madai -made -mag'diel -magicians -magnanimity -magog -mahana'im -maid -maiden -maids -maidservants -make -maker -making -mal'chi-el -male -males -mamre -man -man'ahath -man's -manas'seh -manas'seh's -mandrakes -mankind -manly -manner -mantle -many -mark -marked -marriage -marriages -married -marries -marry -mash -masre'kah -massa -master -master's -mate -mating -matred -matter -may -me -me'zahab -me-hu'ja-el -me-thu'sha-el -meal -mean -meaning -means -meant -meantime -meanwhile -measure -measured -measures -medan -meditate -meet -meets -mehet'abel -mel-chiz'edek -members -men -men's -mend -mended -menservants -mention -merar'i -mercenaries -merchants -merciful -merciless -mercy -merry -mesha -meshech -mesopota'mia -message -messengers -met -methu'selah -mibsam -mibzar -mid'ian -mid'ianite -mid'ianites -midst -midwife -might -mightier -mightily -mighty -migrated -migration -milcah -milch -military -milk -mind -mine -mirth -miscarried -mishma -mist -mistress -mizpah -mizzah -moab -moabites -mock -mocking -money -monsters -month -months -moon -more -moreh -moreover -mori'ah -morning -morsel -mortar -most -mother -mother's -mothers -mottled -mount -mountain -mountains -mourn -mourned -mourning -mouth -moved -moves -moving -much -multiplied -multiply -multitude -muppim -murders -must -mutually -my -myrrh -myself -na'amah -na'aman -nahath -nahor -nahor's -naked -nakedness -name -named -names -naph'tali -naph-tu'him -naphish -nation -nations -native -naturalization -nature -nature's -near -neba'ioth -necessary -necessity -neck -need -negeb -neglected -neighboring -neither -nephilim -never -nevertheless -new -next -night -nights -nile -nimrod -nin'eveh -nine -nineteen -ninety -ninety-five -ninety-nine -no -noah -noah's -nod -none -noon -nor -north -northward -nose -nostrils -not -nothing -now -number -numbered -numbers -nurse -nuts -o -oak -oaks -oath -obal -obedience -obeisance -obey -obeyed -object -obstructed -obstructing -obtain -obtained -occasion -occupation -odious -odor -of -off -offended -offense -offenses: -offer -offered -offering -offerings -office -officer -officers -offices -offspring -oh -ohad -oholiba'mah -oil -old -older -oldest -olive -omar -on -onam -onan -once -one -ones -only -onyx -open -opened -operation -ophir -opinions -opposing -opposite -oppressed -oppressions -or -order -orders -organizing -ornaments -other -others -ought -our -ours -ourselves -out -outcry -outside -outwitted -over -overdriven -overseer -overseers -oversight -overtake -overthrew -overthrow -overtook -own -owns -oxen -pace -paddan -paddan-aram -paid -pain -pair -pairs -pallu -paralleled -paran -part -parts -pass -passed -past -pasture -pastured -pasturing -path -pathru'sim -patient -pau -pay -payment -pe'lah -peace -peaceably -peeled -peleg -peni'el -penu'el -people -peopled -peoples -per'izzites -perez -perfidy -perform -perhaps -perish -permit -perpetuated -persons -petitioned -petitions -pharaoh -pharaoh's -phicol -philistines -physicians -piece -pieces -pigeon -pildash -pillar -pinon -pipe -pishon -pistachio -pit -pitch -pitched -pits -place -placed -places -plagues -plain -plainly -plane -planning -plant -planted -plants -play -played -playing -pleasant -please -pleased -pleases -pleasing -pleasure -pledge -plenteous -plenty -plowing -plucked -plump -plundered -point -political -poor -poplar -population -portion -portions -possess -possession -possessions -posterity -pot -pot'i-phar -poti'phera -pottage -poured -poverty -power -powers -praise -praised -pray -prayed -prayer -pre-eminence -pre-eminent -prepare -prepared -presence -present -presented -preserve -preserved -pressed -pressing -pretended -prevail -prevailed -prevent -prevented -prey -price -pride -priest -priests -prince -princes -principles -prison -prisoners -proceed -produce -profit -promise -promised -pronounce -property -prophet -proposal -propose -prosper -prospered -protecting -protection -prove -provender -provide -provided -providence -province -provision -provisions -prudence -public -publish -punishment -purchased -purify -purpose -pursue -pursued -pursuing -pursuit -put -putting -puvah -quarrel -quarreled -quartering -questioned -questions -quickly -quiet -quiver -ra'amah -rachel -rachel's -raid -raiders -raiment -rain -rained -raise -raised -raising -ram -ram'eses -rams -ran -rather -ravaged -raven -ravenous -re'u -reached -ready -really -reaped -reason -reassured -rebekah -rebekah's -rebelled -rebuked -receded -receive -received -reckoned -reckoning -recognize -recognized -records -rectitude -red -redeemed -redress -reduce -reed -refresh -refused -refusing -regard -regarded -regards -reho'both -reho'both-ir -reign -reigned -reliance -relief -relinquish -remain -remained -remaining -remains -remember -remembered -reminded -remnant -remove -removed -removing -render -renown -rent -repeated -repeatedly -reph'aim -replace -replaced -replied -report -representation -representative -representatives -reproach -require -required -requires -rescue -resen -reserve -reserved -respect -rest -rested -resting -restore -restored -restrained -return -returned -reu'el -reuben -reumah -revealed -revived -reward -rib -ribs -rich -ride -rider -right -righted -righteous -righteousness -rightly -rights -ring -rings -ripened -riphath -rise -risen -river -rivers -road -robe -rock -rode -rods -roll -rolled -roof -room -rooms -rose -rosh -roughly -round -rouse -routed -royal -rule -ruler -ruler's -run -runnels -sab'teca -sabtah -sack -sackcloth -sacks -sacred -sacrifice -sacrifices -saddle -saddled -safely -safety -said -sake -salaries -salem -salt -salvation -same -samlah -sand -sandal-thong -sar'ai -sarah -sarah's -sat -savages -saved -saving -savory -saw -say -saying -says -scarcely -scarlet -scatter -scattered -scepter -se'ir -sea -searched -seas -seashore -season -seasons -seba -second -secretly -secure -security -see -seed -seedtime -seeing -seek -seeking -seem -seemed -seen -sees -seize -seized -select -self-evident -sell -semen -send -sent -separate -separated -separation -sephar -sepulchre -sepulchres -serah -sered -serpent -serug -servant -servant's -servants -serve -served -service -serving -set -seth -settle -settled -settlement -seven -sevenfold -seventeen -seventeenth -seventh -seventy -seventy-five -seventy-seven -seventy-sevenfold -severe -sewed -sexes -sha'veh-kiriatha'im -shall -shammah -share -shaul -shaved -shaveh -she -she-asses -she-goat -she-goats -sheaf -shear -sheaves -sheba -shechem -shechem's -shed -sheds -sheep -sheepfolds -sheepshearers -shekel -shekels -shelah -sheleph -shelter -shem -sheme'ber -sheol -shepherd -shepherding -shepherds -shepho -shibah -shield -shillem -shimron -shinab -shinar -ships -shobal -shore -short -shortly -shot -should -shoulder -shoulders -show -showed -shown -shua -shua's -shuah -shuni -shur -shut -siddim -side -sidon -sight -sign -signet -signs -silence -silver -simeon -sin -since -sinew -sinites -sinned -sinners -sinning -sister -sister's -sit -sitnah -sitting -six -sixteen -sixth -sixty -sixty-five -sixty-nine -sixty-six -sixty-two -skilful -skin -skins -slain -slaughter -slave -slaves -slay -slays -sleek -sleep -sleeves -slept -slew -slope -slowly -small -smell -smelled -smoke -smoking -smooth -so -sodom -soil -sojourn -sojourned -sojourner -sojourners -sojourning -sojournings -sold -sole -solemnly -some -son -son's -songs -sons -sons' -sons-in-law -soon -sore -sorely -sorrow -sorrowful -sorry -sort -sorts -sought -soul -sound -south -southward -sow -sowed -space -spare -spared -speak -speaking -speaks -speckled -speech -spend -spent -spies -spilled -spirit -splendor -spoil -spoke -spoken -spotted -spread -spring -springing -springs -sprouted -sprung -staff -stage -stalk -stand -standing -stands -stars -state -states -states: -station -statute -statutes -stay -stayed -stead -steadfast -steal -steward -still -stole -stolen -stone -stones -stood -stooped -stop -stopped -store -stored -storehouses -story -stranger -strangers -straw -streaks -stream -street -strength -stretched -strife -striking -striped -stripped -striven -strong -stronger -strongly -struck -struggled -subdue -subdued -subject -submit -submitted -subsided -substance -subtle -success -successful -succoth -such -suck -suckle -suffer -sufferable -sufferance -suitable -summer -summoned -sun -superior -supplanted -supplied -support -suppose -supreme -surely -surety -surrounded -survivors -suspended -suspending -sustained -swallowed -swarm -swarming -swarms -swear -sweat -sword -swords -swore -sworn -system -systems -table -tahash -take -taken -taking -talked -talking -tamar -tamarisk -tambourine -tarried -tarry -tarshish -taxes -te'manites -tebah -teeth -tell -tells -tema -teman -ten -tender -tenderly -tent -tenth -tents -tenure -terah -terms: -territory -terror -tested -than -that -the -thee -their -theirs -them -themselves -then -thence -there -therefore -therein -these -they -thicket -thigh -thin -thing -things -thinking -third -thirteen -thirteenth -thirty -thirty-five -thirty-four -thirty-seven -thirty-three -thirty-two -this -thistles -thorns -thoroughly -those -thou -thought -thoughts -thousand -thousands -thread -three -threshing -throne -through -throughout -throw -thus -thy -tidal -tidings -ties -tigris -till -tiller -time -times -timna -timnah -tiras -to -today -togar'mah -together -toil -tola -told -tomb -tonight -too -took -top -tops -torch -torn -totally -totaly -touch -touched -touches -toward -tower -towns -trade -traders -train -trained -transgression -transient -transporting -travailed -treasure -treat -treated -tree -trees -trembled -trembling -trial -tribes -tried -troops -trouble -troubled -troubles -trough -troughs -truly -truth -truths -tubal -tubal- -tubal-cain -turn -turned -turns -turtledove -twelve -twenty -twenty-nine -twenty-seven -twenty-seventh -twice -twins -two -tyranny -tyrant -tyrants -unacknowledged -unalienable -unawares -uncircumcised -uncomfortable -uncovered -under -understand -understood -undistinguished -unfit -ungirded -united -unknown -unleavened -unless -unmoved -unstable -until -unusual -unwarrantable -unworth -up -upbraided -upon -uppermost -upright -ur -urged -us -us: -use -using -usurpations -utterly -uz -uzal -valley -valuable -vegetation -veil -vengeance -vent -vents -verified -very -vesture -villages -vindication -vine -vineyard -violence -violently -viper -virgin -vision -visions -visit -visited -voice -void -vow -wages -waging -wagons -wait -waited -walk -walked -walking -wall -wander -wandered -wanderer -wandering -wanting -wantonness -war -warfare -warned -was -wash -washed -washes -watch -water -watered -watering -waters -way -wayside -we -weak -weakness -wealth -wealthy -weaned -weapons -wear -wearied -weary -week -weep -weeping -weighed -weighing -weight -weights -welfare -well -well's -wells -went -wept -were -west -westward -what -whatever -whatsoever -wheat -whelp -when -whence -whenever -where -whereby -wherever -whether -which -while -white -who -whoever -whole -wholesome -whom -whomever -whose -why -wicked -wickedly -wickedness -widow -widow's -widowhood -wife -wife's -wild -wilderness -will -willing -wilt -wind -window -windows -wine -winged -winter -wise -with -withered -withheld -withhold -within -without -witness -wives -wolf -woman -woman's -womb -wombs -women -wood -word -words -wore -work -works -world -world: -worse -worship -worshiped -worth -worthy -would -wounding -wrapping -wrath -wrestled -wrestlings -wrong -wrought -year -yearned -years -yes -yet -yield -yielding -yoke -yonder -you -young -younger -youngest -your -yours -yourself -yourselves -youth -za'avan -zaph'enath-pane'ah -zeb'ulun -zeboi'im -zem'arites -zepho -zerah -zib'eon -zillah -zilpah -zimran -ziph'ion -zo'ar -zohar -zuzim diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/SimpleBITest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/SimpleBITest.java deleted file mode 100644 index fa1c15e243..0000000000 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/SimpleBITest.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - ******************************************************************************* - * Copyright (C) 1996-2012, International Business Machines Corporation and * - * others. All Rights Reserved. * - ******************************************************************************* - */ -package com.ibm.icu.dev.test.rbbi; - -import java.util.ListResourceBundle; - -import com.ibm.icu.dev.test.TestFmwk; -import com.ibm.icu.text.BreakIterator; -import com.ibm.icu.text.RuleBasedBreakIterator; - -// TODO: {dlf} this test currently doesn't test anything! -// You'll notice that the resource that uses the dictionary isn't even on the resource path, -// so the dictionary never gets used. Good thing, too, because it would throw a security -// exception if run with a security manager. Not that it would matter, the dictionary -// resource isn't even in the icu source tree! -// In order to fix this: -// 1) make sure english.dict matches the current dictionary format required by dbbi -// 2) make sure english.dict gets included in icu4jtests.jar -// 3) have this test use getResourceAsStream to get a stream on the dictionary, and -// directly instantiate a DictionaryBasedBreakIterator. It can use the rules from -// the appropriate section of ResourceBundle_en_US_TEST. I'd suggest just copying -// the rules into this file. -// 4) change the test text by inserting '|' at word breaks, and '||' at line breaks. -// 5) process this text to a) create tables of break indices, and b) clean up the test -// for the break iterator to work on -// -// This would NOT test the ability to load dictionary-based break iterators through our -// normal resource mechanism. One could install such a break iterator and its -// resources into the icu4j jar, and it would work, but there's no way to register entire -// resources from outside yet. Even if there were, the access restrictions are a bit -// difficult to manage, if one wanted to register a break iterator whose code and data -// resides outside the icu4j jar. Since the code to instantiate would be going through -// two protection domains, each domain would have to allow access to the data-- but -// icu4j's domain wouldn't know about ours. So we could instantiate before registering -// the break iterator, but this would mean we'd have to fully initialize the dictionary(s) -// at instantiation time, rather than let this be deferred until they are actually needed. -// -// I've done items 2 and 3 above. Unfortunately, since I haven't done item 1, the -// dictionary builder crashes. So for now I'm disabling this test. This is not -// that important, since we have a thai dictionary that we do test thoroughly. -// - -public class SimpleBITest extends TestFmwk{ - public static final String testText = -// "The rain in Spain stays mainly on the plain. The plains in Spain are mainly pained with rain."; -//"one-two now-- Hah! You owe me exactly $1,345.67... Pay up, huh? By the way, why don't I send you my re\u0301sume\u0301? This is a line\r\nbreak."; -//"nowisthetimeforallgoodmen... tocometothehelpoftheircountry"; -"When, in the course of human events, it becomes necessary for one people to dissolve the political bonds which have " -//"When,inthecourseofhumanevents,itbecomesnecessaryforonepeopletodissolvethepoliticalbondswhichhave" -+ "connectedthemwithanother,andtoassumeamongthepowersoftheearth,theseparateandequalstationtowhichthelaws" -+ "ofnatureandofnature'sGodentitlethem,adecentrespecttotheopinionsofmankindrequiresthattheyshoulddeclarethe" -+ "causeswhichimpelthemtotheseparation\n" -+ "Weholdthesetruthstobeself-evident,thatallmenarecreatedequal,thattheyareendowedbytheirCreatorwithcertain" -+ "unalienablerights,thatamongthesearelife,libertyandthepursuitofhappiness.Thattosecuretheserights,governmentsare" -+ "institutedamongmen,derivingtheirjustpowersfromtheconsentofthegoverned.Thatwheneveranyformofgovernment" -+ "becomesdestructivetotheseends,itistherightofthepeopletoalterortoabolishit,andtoinstitutenewgovernment,laying" -+ "itsfoundationonsuchprinciplesandorganizingitspowersinsuchform,astothemshallseemmostlikelytoeffecttheirsafety" -+ "andhappiness.Prudence,indeed,willdictatethatgovernmentslongestablishedshouldnotbechangedforlightandtransient" -+ "causes;andaccordinglyallexperiencehathshownthatmankindaremoredisposedtosuffer,whileevilsaresufferable,than" -+ "torightthemselvesbyabolishingtheformstowhichtheyareaccustomed.Butwhenalongtrainofabusesandusurpations," -+ "pursuinginvariablythesameobjectevincesadesigntoreducethemunderabsolutedespotism,itistheirright,itistheirduty," -+ "tothrowoffsuchgovernment,andtoprovidenewguardsfortheirfuturesecurity.--Suchhasbeenthepatientsufferanceof" -+ "thesecolonies;andsuchisnowthenecessitywhichconstrainsthemtoaltertheirformersystemsofgovernment.Thehistory" -+ "ofthepresentKingofGreatBritainisahistoryofrepeatedinjuriesandusurpations,allhavingindirectobjectthe" -+ "establishmentofanabsolutetyrannyoverthesestates.Toprovethis,letfactsbesubmittedtoacandidworld.\n" -+ "Hehasrefusedhisassenttolaws,themostwholesomeandnecessaryforthepublicgood.\n" -+ "Hehasforbiddenhisgovernorstopasslawsofimmediateandpressingimportance,unlesssuspendedintheiroperationtill" -+ "hisassentshouldbeobtained;andwhensosuspended,hehasutterlyneglectedtoattendtothem.\n" -+ "Hehasrefusedtopassotherlawsfortheaccommodationoflargedistrictsofpeople,unlessthosepeoplewouldrelinquish" -+ "therightofrepresentationinthelegislature,arightinestimabletothemandformidabletotyrantsonly.\n" -+ "Hehascalledtogetherlegislativebodiesatplacesunusual,uncomfortable,anddistantfromthedepositoryoftheirpublic" -+ "records,forthesolepurposeoffatiguingthemintocompliancewithhismeasures.\n" -+ "Hehasdissolvedrepresentativehousesrepeatedly,foropposingwithmanlyfirmnesshisinvasionsontherightsofthepeople.\n" -+ "Hehasrefusedforalongtime,aftersuchdissolutions,tocauseotherstobeelected;wherebythelegislativepowers," -+ "incapableofannihilation,havereturnedtothepeopleatlargefortheirexercise;thestateremaininginthemeantimeexposed" -+ "toallthedangersofinvasionfromwithout,andconvulsionswithin.\n" -+ "Hehasendeavoredtopreventthepopulationofthesestates;forthatpurposeobstructingthelawsfornaturalizationof" -+ "foreigners;refusingtopassotherstoencouragetheirmigrationhither,andraisingtheconditionsofnewappropriationsof" -+ "lands.\n" -+ "Hehasobstructedtheadministrationofjustice,byrefusinghisassenttolawsforestablishingjudiciarypowers.\n" -+ "Hehasmadejudgesdependentonhiswillalone,forthetenureoftheiroffices,andtheamountandpaymentoftheirsalaries.\n" -+ "Hehaserectedamultitudeofnewoffices,andsenthitherswarmsofofficerstoharassourpeople,andeatouttheir" -+ "substance.\n" -+ "Hehaskeptamongus,intimesofpeace,standingarmieswithouttheconsentofourlegislature.\n" -+ "Hehasaffectedtorenderthemilitaryindependentofandsuperiortocivilpower.\n" -+ "Hehascombinedwithotherstosubjectustoajurisdictionforeigntoourconstitution,andunacknowledgedbyourlaws;" -+ "givinghisassenttotheiractsofpretendedlegislation:\n" -+ "Forquarteringlargebodiesofarmedtroopsamongus:\n" -+ "Forprotectingthem,bymocktrial,frompunishmentforanymurderswhichtheyshouldcommitontheinhabitantsofthese" -+ "states:\n" -+ "Forcuttingoffourtradewithallpartsoftheworld:\n" -+ "Forimposingtaxesonuswithoutourconsent:\n" -+ "Fordeprivingusinmanycases,ofthebenefitsoftrialbyjury:\n" -+ "Fortransportingusbeyondseastobetriedforpretendedoffenses:\n" -+ "ForabolishingthefreesystemofEnglishlawsinaneighboringprovince,establishingthereinanarbitrarygovernment,and" -+ "enlargingitsboundariessoastorenderitatonceanexampleandfitinstrumentforintroducingthesameabsoluteruleinthese" -+ "colonies:\n" -+ "Fortakingawayourcharters,abolishingourmostvaluablelaws,andalteringfundamentallytheformsofourgovernments:\n" -+ "Forsuspendingourownlegislatures,anddeclaringthemselvesinvestedwithpowertolegislateforusinallcaseswhatsoever.\n" -+ "Hehasabdicatedgovernmenthere,bydeclaringusoutofhisprotectionandwagingwaragainstus.\n" -+ "Hehasplunderedourseas,ravagedourcoasts,burnedourtowns,anddestroyedthelivesofourpeople.\n" -+ "Heisatthistimetransportinglargearmiesofforeignmercenariestocompletetheworksofdeath,desolationandtyranny," -+ "alreadybegunwithcircumstancesofcrueltyandperfidyscarcelyparalleledinthemostbarbarousages,andtotalyunworth" -+ "theheadofacivilizednation.\n" -+ "Hehasconstrainedourfellowcitizenstakencaptiveonthehighseastobeararmsagainsttheircountry,tobecomethe" -+ "executionersoftheirfriendsandbrethren,ortofallthemselvesbytheirhands.\n" -+ "Hehasexciteddomesticinsurrectionsamongstus,andhasendeavoredtobringontheinhabitantsofourfrontiers,the" -+ "mercilessIndiansavages,whoseknownruleofwarfare,isundistinguisheddestructionofallages,sexesandconditions.\n" -+ "Ineverystageoftheseoppressionswehavepetitionedforredressinthemosthumbleterms:ourrepeatedpetitionshave" -+ "beenansweredonlybyrepeatedinjury.Aprince,whosecharacteristhusmarkedbyeveryactwhichmaydefineatyrant,is" -+ "unfittobetherulerofafreepeople.\n" -+ "NorhavewebeenwantinginattentiontoourBritishbrethren.Wehavewarnedthemfromtimetotimeofattemptsbytheir" -+ "legislaturetoextendanunwarrantablejurisdictionoverus.Wehaveremindedthemofthecircumstancesofouremigration" -+ "andsettlementhere.Wehaveappealedtotheirnativejusticeandmagnanimity,andwehaveconjuredthembythetiesofour" -+ "commonkindredtodisavowtheseusurpations,which,wouldinevitablyinterruptourconnectionsandcorrespondence.We" -+ "must,therefore,acquiesceinthenecessity,whichdenouncesourseparation,andholdthem,asweholdtherestofmankind," -+ "enemiesinwar,inpeacefriends.\n" -+ "We,therefore,therepresentativesoftheUnitedStatesofAmerica,inGeneralCongress,assembled,appealingtothe" -+ "SupremeJudgeoftheworldfortherectitudeofourintentions,do,inthename,andbytheauthorityofthegoodpeopleof" -+ "thesecolonies,solemnlypublishanddeclare,thattheseunitedcoloniesare,andofrightoughttobefreeandindependent" -+ "states;thattheyareabsolvedfromallallegiancetotheBritishCrown,andthatallpoliticalconnectionbetweenthemandthe" -+ "stateofGreatBritain,isandoughttobetotallydissolved;andthatasfreeandindependentstates,theyhavefullpowerto" -+ "leveywar,concludepeace,contractalliances,establishcommerce,andtodoallotheractsandthingswhichindependent" -+ "statesmayofrightdo.Andforthesupportofthisdeclaration,withafirmrelianceontheprotectionofDivineProvidence,we" -+ "mutuallypledgetoeachotherourlives,ourfortunesandoursacredhonor.\n"; - - public static void main(String[] args) throws Exception { - new SimpleBITest().run(args); - } - - protected boolean validate() { - // TODO: remove when english.dict gets fixed - return false; - } - - private BreakIterator createTestIterator(int kind) { - final String bname = "com.ibm.icu.dev.test.rbbi.BreakIteratorRules_en_US_TEST"; - - BreakIterator iter = null; - - ListResourceBundle bundle = null; - try { - Class cls = Class.forName(bname); - bundle = (ListResourceBundle)cls.newInstance(); - } - catch (Exception e) { - errln("could not create bundle: " + bname + "exception: " + e.getMessage()); - return null; - } - - final String[] kindNames = { - "Character", "Word", "Line", "Sentence" - }; - String rulesName = kindNames[kind] + "BreakRules"; - - String[] classNames = bundle.getStringArray("BreakIteratorClasses"); - String rules = bundle.getString(rulesName); - if (classNames[kind].equals("RuleBasedBreakIterator")) { - iter = new RuleBasedBreakIterator(rules); - } - if (iter == null) { - errln("could not create iterator"); - } - - return iter; - } - - public void testWordBreak() throws Exception { - BreakIterator wordBreak = createTestIterator(BreakIterator.KIND_WORD); - int breaks = doTest(wordBreak); - logln(String.valueOf(breaks)); - } - - public void testLineBreak() throws Exception { - BreakIterator lineBreak = createTestIterator(BreakIterator.KIND_LINE); - int breaks = doTest(lineBreak); - logln(String.valueOf(breaks)); - } - - public void testSentenceBreak() throws Exception { - BreakIterator sentenceBreak = createTestIterator(BreakIterator.KIND_SENTENCE); - int breaks = doTest(sentenceBreak); - logln(String.valueOf(breaks)); - } - - private int doTest(BreakIterator bi) { - // forward - bi.setText(testText); - int p = bi.first(); - int lastP = p; - String fragment; - int breaks = 0; - logln("Forward..."); - while (p != BreakIterator.DONE) { - p = bi.next(); - if (p != BreakIterator.DONE) { - fragment = testText.substring(lastP, p); - } else { - fragment = testText.substring(lastP); - } - debugPrintln(": >" + fragment + "<"); - ++breaks; - lastP = p; - } - return breaks; - } - - private void debugPrintln(String s) { - final String zeros = "0000"; - String temp; - StringBuffer out = new StringBuffer(); - for (int i = 0; i < s.length(); i++) { - char c = s.charAt(i); - if (c >= ' ' && c < '\u007f') - out.append(c); - else { - out.append("\\u"); - temp = Integer.toHexString((int)c); - out.append(zeros.substring(0, 4 - temp.length())); - out.append(temp); - } - } - logln(out.toString()); - } - -/* private void debugPrintln2(String s) { - StringBuffer out = new StringBuffer(); - for (int i = 0; i < s.length(); i++) { - char c = s.charAt(i); - if (c >= '\u0100') - out.append("<" + ((int)c - 0x100) + ">"); - else - out.append(c); - } - logln(out.toString()); - }*/ -} - diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/TestAll.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/TestAll.java index c767550602..f743db6942 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/TestAll.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/TestAll.java @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 1996-2004, International Business Machines Corporation and * + * Copyright (C) 1996-2016, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -20,8 +20,6 @@ public class TestAll extends TestGroup { public TestAll() { super( new String[] { - // Disabled for now; see comment in SimpleBITest for details - // "SimpleBITest", "BreakIteratorTest", "RBBITest", "RBBIAPITest",