Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Original message:
- Part of programming is understanding algorithms and their effectivity. Yours appears to look for the closest match in the dictionary of known words, and if it can't find any close matches, just skip over the word. This takes two assumptions: 1. the correct word is the closest match, and 2. the correct word is in the dictionary at all. 1 does not work because human error can often be greater than the computer can detect. Often, when a word is misspelled, the correct word can easily be detected by a human (usually using the context), but a computer will find several other matches that are not correct, which doesn't help anything. 2 does not work because of the nature of this Wiki. Many words are specialized, and new words are invented on a daily basis. If your bot sees those words and there is anything close in the dictionary (e.g. I don't think Scratcher is a real word, so your bot would correct it to "Scratch", most likely), then it could cause massive problems.
- Results:
- part -> part
- of -> of
- programming -> programming
- is -> is
- understanding -> understanding
- algorithms -> algorithms
- and -> and
- their -> their
- >>>effectivity -> reflectivity
- yours -> yours
- appears -> appears
- to -> to
- look -> look
- for -> for
- the -> the
- closest -> closest
- match -> match
- in -> in
- the -> the
- dictionary -> dictionary
- of -> of
- known -> known
- words -> words
- and -> and
- if -> if
- it -> it
- can -> can
- >>>t -> it
- find -> find
- any -> any
- close -> close
- matches -> matches
- just -> just
- skip -> skip
- over -> over
- the -> the
- word -> word
- this -> this
- takes -> takes
- two -> two
- assumptions -> assumptions
- the -> the
- correct -> correct
- word -> word
- is -> is
- the -> the
- closest -> closest
- match -> match
- and -> and
- the -> the
- correct -> correct
- word -> word
- is -> is
- in -> in
- the -> the
- dictionary -> dictionary
- at -> at
- all -> all
- does -> does
- not -> not
- work -> work
- because -> because
- human -> human
- error -> error
- can -> can
- often -> often
- be -> be
- greater -> greater
- than -> than
- the -> the
- computer -> computer
- can -> can
- detect -> detect
- often -> often
- when -> when
- >>>a -> ah
- word -> word
- is -> is
- misspelled -> misspelled
- the -> the
- correct -> correct
- word -> word
- can -> can
- easily -> easily
- be -> be
- detected -> detected
- by -> by
- >>>a -> ah
- human -> human
- usually -> usually
- using -> using
- the -> the
- context -> context
- but -> but
- >>>a -> ah
- computer -> computer
- will -> will
- find -> find
- several -> several
- other -> other
- matches -> matches
- that -> that
- are -> are
- not -> not
- correct -> correct
- which -> which
- >>>doesn -> doesnt
- >>>t -> it
- help -> help
- anything -> anything
- does -> does
- not -> not
- work -> work
- because -> because
- of -> of
- the -> the
- nature -> nature
- of -> of
- this -> this
- >>>wiki -> wick
- many -> many
- words -> words
- are -> are
- >>>specialized -> specialised
- and -> and
- new -> new
- words -> words
- are -> are
- invented -> invented
- on -> on
- >>>a -> ah
- daily -> daily
- basis -> basis
- if -> if
- your -> your
- >>>bot -> bout
- sees -> sees
- those -> those
- words -> words
- and -> and
- there -> there
- is -> is
- anything -> anything
- close -> close
- in -> in
- the -> the
- dictionary -> dictionary
- >>>e -> me
- >>>g -> eg
- >>>i -> in
- don -> don
- >>>t -> it
- think -> think
- >>>scratcher -> scratched
- is -> is
- >>>a -> ah
- real -> real
- word -> word
- so -> so
- your -> your
- >>>bot -> bout
- would -> would
- correct -> correct
- it -> it
- to -> to
- scratch -> scratch
- most -> most
- likely -> likely
- then -> then
- it -> it
- could -> could
- cause -> cause
- massive -> massive
- problems -> problems
- Correct: 156/174 (90.0%)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement