Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - petoro

Pages: [1] 2
1
Programs / Re: GALAXY Generator / Simulator
« on: October 24, 2019, 12:19:37 pm »
Here there are the 110 Messier objects this astronomer is famous for:

https://en.wikipedia.org/wiki/Messier_object

40 of them are Galaxies indeed.

2
Programs / Re: Generic Random Maze Maker
« on: August 27, 2019, 10:00:13 am »
Amazing mazes... I've been fiddling with the B + version. I reduced the second occurrence of _DELAY to .002 to turn the little mouse into a Speedy Gonzales superhero!

3
Programs / Re: Crossword Generator
« on: August 25, 2019, 07:50:45 am »
Thank you, it "invents" a new Spanish crucigrama from scratch in a very reasonable amount of time.

Besides, the words are not rather strange at all.

4
Programs / Re: Crossword Generator
« on: August 24, 2019, 08:29:38 am »
Did i get my letters backwards?  I was being lazy and just copy/pasted to enter the letters.  I may have entered them backwards...  I’ll doublecheck things in a bit; it’s almost breakfast time with the family here.
Tryng to convert the new dictionary espanol.txt to espanol-converted.txt with your program.

Thank you for the code!

5
Programs / Re: Crossword Generator
« on: August 24, 2019, 08:17:01 am »
¿ñ's y ü's son muy raras en español, señor?  The only two words in Spanish that any Brit knows have the ñ!!

Well ñ's are not so "raras", ü's are however.

6
Programs / Re: Crossword Generator
« on: August 24, 2019, 07:44:58 am »
Steve, I've had a go with your code which seems to be nearly working (or probably working correctly, but I misunderstand).  By the way I've changed from a,i,n,o,e to a,e,i,o,u as those are the only ones which Petoro wants.  I find the following in a converted file:

For orignal word abaceriá (grocery), the code gives abaceri and loses the a.

I cannot see why the code would give this error, or maybe I'm misunderstanding the original file.

Petoro, would you confirm that abaceriá is the correct Spanish and not abaceri?  Thank you.

Yes, I am having certain errors in Ubuntu. For example it translates abacería to abaceraa insted of abaceria, the later is correct. Or abrogacian instead of abrogacion.



7
Programs / Re: Crossword Generator
« on: August 24, 2019, 07:35:14 am »
I think I have found a better Spanish dictionary here:

http://www.gwicks.net/dictionaries.htm

There is only one file. And YES, it contains conjugate verbs this time!

I think it is a little better formatted and tidy. Still it contains accented letters and ñ's, so it needs conversion. It is around 174 000 words long.

Thanks Steve, I'm giving a look at your program, not sure if it works the same way in Ubuntu and Windows...

8
Programs / Re: Crossword Generator
« on: August 24, 2019, 05:34:58 am »
I am sorry for not being of much help on this task of dictionary conversion. I am somewhat stuck at programming.

Perhaps one should avoid ñ's and ü's in order to not make a very complex/slow algorithm. Anyway, those letters are very rare. Also, it would not be very correct to change them. It would be really good to discard Ñ's and Ü's. Thank you very much,


9
Programs / Re: Crossword Generator
« on: August 23, 2019, 05:46:26 pm »
Petoro thanks.  All I need is a dictionary in text format (which you have kindly given me a reference for).  I have routines to convert into the files needed for the program.  I may also be able to handle the accented character conversions (I may need the help of QB64's Expert in All Things, Steve McNeill).  Leave it with me, I'll see what can be done (I shall love doing it - you may have noticed that I love all things words-related).

Richard
It is very kind from your part to dedicate your attention to this. Please take your time.

Have a good weekend.

10
Programs / Re: Crossword Generator
« on: August 23, 2019, 03:28:40 pm »
I have found a Spanish .txt dictionary sorted by letter here (dict_rae_txt):

https://www.giusseppe.net/blog/archivo/2015/10/29/diccionario-de-la-rae-en-modo-texto-plano/

Alas, it lacks conjugations (which are frequent in Spanish crosswords) and needs conversion in order to avoid accents and discard "ñ" words.

Also it needs to be ordered by number of characters in order to suit your needs...


Petoro

11
Programs / Re: Crossword Generator
« on: August 23, 2019, 01:15:54 pm »
Petoro, thank you for your kind words.  I would offer to make a version using the Spanish language, but the program may use only A-Z without accents (ASC values between 64 and 90).  If you could obtain a Spanish dictionary with accented letters converted to nearest unaccented equivalent eg 'a' instead of 'á', i instead of 'í', n instead of 'ñ', I would be able to do such a version.

Please forgive my ignorance, but are there Spanish language crosswords, and if so do they use accented characters?  In English, any accented letters are changed to the closest non-accented version.  Personally, I think that such words should not be allowed in English crosswords (the words should keep their accents and therefore would not cross properly).

Spanish crosswords don't use accented characters. Not sure if some use the "ñ". I will see later if I can find Spanish dictionaries in some text format.

Thank you

12
Programs / Re: Crossword Generator
« on: August 23, 2019, 11:42:26 am »
Wow, the old version worked very well and fast by pressing "f" key while paused. It was already very fast at finding a good and complete example.

The new version is even better, faster and cleverer. Amazing. Thank u very much.

13
Programs / Re: Crossword Generator
« on: August 23, 2019, 10:43:25 am »
I have checked it 20 or 25 times. Alas, it hasn't completed any crossword up to now.

Eagerly awaiting for the new version.

14
Programs / Re: CODING CHALLENGE : A COUNTDOWN FOR NEW YEARS EVE 2020!
« on: August 22, 2019, 12:00:10 pm »
And if that isn’t confusing enough for you, don’t forget the leap SECONDS...

https://en.m.wikipedia.org/wiki/Leap_second

But it seems that this is due to the tides, which  slow down a little bit the rotation of the earth. Then... every now and then, astronomers add a leap second.

15
Programs / Re: CODING CHALLENGE : A COUNTDOWN FOR NEW YEARS EVE 2020!
« on: August 22, 2019, 09:23:01 am »
Yes bplus,

1900 not leap
2000 leap
2100 not leap
2200 not leap
2300 not leap
2400 leap again...

petoro

Pages: [1] 2