User:Nappellman

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Free dictionaries

Programs for learning foreign languages are very popular. A significant part of the programs helps students memorize foreign words. The student needs to remember 2000-3000 words and more. Programmers must not only write program code, correct errors, make improvements, but also spend time writing words into dictionaries. Each programmer makes his own dictionaries. Therefore, it is proposed here to use ready-made free dictionaries of foreign words. Each text file contains words for one letter of the alphabet. Each line of the file contains one word in seven European languages.

dictionary_A.txt dictionary_B.txt dictionary_C.txt dictionary_D.txt dictionary_E.txt

Dictionaries are added as soon as they are developed.

In each line, words are separated by a standard separator - a comma.

PHP Example

<?php // Example $czech = "oflameron free world languages flashcards freeware"; $pieces = explode(" ", $czech); echo $pieces[0]; // oflameron echo $pieces[1]; // free ?>