board.cpp

Элемент Частота Элемент Частота Элемент Частота Элемент Частота
(     &     void     trow    
)     ++     <<     trowm    
.     +     setrow     <    
[     org     getcol     material    
]     dest     capture     crown    
=     man     point     svalue    
{     mptr     <=     true    
}     row     capt     val    
i     buf     else     killer    
->     empty     ply     redman    
if     boardsize     setcol     redraw    
what     x     &&     t    
m     hdc     p     blackman    
list     for     parray     sprintf    
board     getrow     tinfo     ||    
==     return     !=     bestvar    
j     y     false     black    
int     col     getside     tmtime    
-     nummoves     tcol     alpha    
*     move     tcolm     char    

Рассчитаем для каждой программы показатель

Для search.cpp Е1= 0.000355

Для board.cpp Е2= 0.000918

Имеем Е1<E2, этого можно сделать вывод, что текст программы search.cpp более целостностен.

1.При расчетах должно быть n=20 (на графиках n=100).

2.Текстами должны быть цельные произведения.

3.Если рассчитываем целостность текстов на английском языке, используем нижеприведенный словарь функциональных базовых слов этого языка.

a

I

am

an

as

at

by

do

he

if

in

is

it

me

my

no

of

oh

on

or

so

to

up

us

we

ye

ago

all

and

any

but

can

did

etc

few

for

get

got

had

has

her

hes

him

his

how

its

may

nay

nor

not

now

one

our

own

per

she

six

ten

the

thy

too

two

was

way

who

why

yea

yes

yet

you

also

anon

away

been

both

does

done

dont

down

each

else

even

ever

five

four

from

gets

have

here

into

just

keep

kept

less

lest

many

mine

more

most

much

must

next

nine

noes

none

once

ones

only

onto

ours

over

past

plus

real

same

self

some

such

than

that

thee

them

then

they

this

thou

thus

unto

upon

very

well

were

what

when

whom

will

wilt

with

your

about

above

after

again

alive

alone

along

alway

among

apart

aside

awful

being

below

canst

could

doing

eight

every

fifty

first

forth

forty

hence

inner

later

least

might

never

ninth

often

other

ought

quite

right

seven

shall

shalt

since

sixth

sixty

still

their

there

these

thine

thing

third

those

three

truly

twice

under

until

wasnt

where

which

while

whose

would

yeses

yours

across

almost

always

amount

around

awhile

before

behind

beyond

cannot

during

eighth

eighty

eleven

enough

except

fairly

fourth

hardly

having

height

herein

hither

indeed

inward

itself

middle

mighty

myself

nobody

others

please

pretty

rather

really

second

selves

should

theirs

thence

things

thirds

thirty

though

thrice

toward

twelve

twenty

unless

upward

weight

whence

whilst

withal

within

against

already

another

anybody

awfully

because

between

farther

forever

forward

further

herself

himself

howbeit

however

hundred

insofar

instead

million

neither

nothing

nowhere

outside

outward

perhaps

seventy

several

sixteen

someday

thereby

therein

thereof

thereon

thither

through

thyself

unboing

whereas

wherein

whereof

whether

whither

without

althong

anything

anywhere

backward

eighteen

evermore

evereone

fourteen

inasmuch

insomuch

likewise

millions

moreover

nowadays

overmuch

shouldest

somebody

somethat

thousand

together

whatever

whenever

wherefor

wherever

yourself

aforesaid

elsewhere

forasmuch

foregoing

halfdozen

millennia

otherwise

ourselves

something

therefore

therewith

twothirds

wherefore

wherewith

beforehand

everything

fourteenth

henceforth

heretofore

oftentimes

themselves

thereafter

throughout

underneath

yourselves

furthermore

midthirties

theretofore

twentyseven

backwardness

nevertheless

whereinsoever


Понравилась статья? Добавь ее в закладку (CTRL+D) и не забудь поделиться с друзьями:  



double arrow
Сейчас читают про: