Adding a script to import Folkets Lexikon

In order to compile DictEngSwe.gf, you must now first run this script to create
FolketsLexikon.gf.

	cd lib/src/swedish/folketslexikon
	make

This will automatically download and convert Folkets Lexikon.
If the download fails, a dummy version of FolketsLexikon.gf will remain,
allowing DictEngSwe.gf to be compiled anyway.
This commit is contained in:
hallgren
2013-04-10 16:25:48 +00:00
parent 530d4f9205
commit e137d31aa6
3 changed files with 153 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
FolketsLexikon.gf:
ghc --make -O ImportFolketsLexikon.hs -rtsopts
./ImportFolketsLexikon +RTS -K32M -M1500M
clean:
rm -rf *.o *.hi *.gfo *.xml FolketsLexikon.gf ImportFolketsLexikon