Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
617 views
Animals! Animals! Animals! Challenge Cache GC50RVD
 
Rather complicated to make a checker I believe.
in Miscellaneous by wanrex (1.3k points)

1 Answer

0 votes
Yes. It is pretty hard to make such checker especially when there is no limitation for language. It is possible to make checker, but never with 100 percent success.

One way is to create some bookmark list with all caches with animals in the name (probably according previous logs) and use bookmark checker, other way would be to create some dictionary to validate against (which can be implemented as tag for Generic expression matching (by SeekerSupreme) checker or some special dictionary checker).
by Jakuje (Moderator) (117k points)
Thanks for the reply, I do believe this one is not straight forward and not feasible for checker, just see if anyone will have any idea.
yes. This is the idea. Maybe someone will come with better. And maybe with implementation.
According me it would be the best to implement generic substring checker with configuration of the type:
{"field": "name", "dictionary":["elephant", "lion", "and so on"]}
But I still don't have the access rights to try it or do it.
I think it is harder than that


>1. You cannot use the same animal word twice, e.g. two caches with word dog in the >title. You can use different breeds, e.g. a 'dog' cache and a 'poodle' cache will count >as two.
You also have to make some grouping for words to satisfy rule 1


>2. If a cache has two animals in the title, you may only count one, e.g. SIG-midway >to Goose or Elephant you would need to choose either goose or elephant.
you not have a http://en.wikipedia.org/wiki/Subset_sum_problem to codefor

>3. Animals within words do not count, e.g. 'flying airplanes' - you cannot use the >word fly from this cache. However, 'fly me to the sky' - you can use the word 'fly'

You cant use search for the animal name in the cache name. dog has to be  dog, dogs in the dictionary it its worse in some languages dog in swedish could be hund,hunden,hundar,hundarna. And  if  "Dog walking" is ok then the swedish one word translation hundpromenad, Hundskall, Hundben, Hundparken should be ok. And if "Raining cats and dogs" is ok we get a log more cases rondellhunden, hundgöra, Brukshundklubben, Hundrundan, Hundtricket, hundklubb, hundbad, Hundholmen, Hundcachen, Hundslingan, Hundkullen
and that is from my first page in gsak with swedish caches containg hund

If you make a relaxation of the problem as in pick the first one if case 2 happens a only use a small subset of all possible correct words in 1 and look for the words without any alpha character in front or after you will get a rather easy checker to code.
But It cant say if you didn't make it only if you did

Use a two level dictionary like" dictionary":[["dog",dogs"],["elephant","elephant"],[ ["lion", "lions"]]  to have grouping for the words
...