Commit graph

33 commits

Author SHA1 Message Date
Bill Zorn
3b79a68b58 fixed new colorless mana symbol 2016-05-05 11:22:52 -07:00
Bill Zorn
afd89730ad critical fix for cbow, some new management scripting work 2015-12-02 14:59:52 -08:00
Bill Zorn
99a565b77e Merge branch 'master' of github.com:billzorn/mtgencode
Conflicts:
	scripts/validate.py
2015-12-01 13:39:39 -08:00
Bill Zorn
b22dcafc89 collecting changes stranded on leveler 2015-12-01 13:36:47 -08:00
Bill Zorn
4fbb000c3f added fixed nltk code for safekeeping 2015-11-30 23:51:49 -08:00
Bill Zorn
cf018f07b4 few small tweaks to encoding, hopefully final version for now 2015-11-25 23:14:44 -08:00
Bill Zorn
2cd8b03249 added html visual spoilers for nearest cards / names (creativity metrics) 2015-11-09 23:41:45 -08:00
Bill Zorn
2ebb15cb28 remove unused reference code 2015-11-09 19:32:32 -08:00
Bill Zorn
c9f8f251d5 tweaks and fixes, html mode has a few new features and is mostly working as desired 2015-11-09 19:24:48 -08:00
Bill Zorn
ccb112021e Merge branch 'master' of https://github.com/reimannsum/mtgencode into reimannsum-master
Conflicts:
	decode.py
	lib/cardlib.py
	lib/utils.py

Moved massive html header string into a separate file.
2015-11-09 14:10:56 -08:00
Bill Zorn
18e1a66f88 added parallel versions to cbow and namediff analyses, not used yet though 2015-11-08 19:57:47 -08:00
reimannsum
0d78b7ab91 updating to the newest version of mtgencode and finishing html support 2015-11-08 20:16:29 -05:00
Bill Zorn
b3860eb924 moved general file opening logic to a central location 2015-11-06 20:50:29 -08:00
Bill Zorn
49071aefa6 final changes to transforms concerning line reordering.
everything *should* be in working order, but there are probably still bugs
2015-11-05 21:20:20 -08:00
reimannsum
881ffe4049 Merge pull request #3 from reimannsum/patch-2
adding HTML support to utils.py
2015-10-30 12:37:17 -04:00
reimannsum
45caa1c16e Update cardlib.py
Adding formatting to the format() function to allow for html output
2015-10-30 11:37:20 -04:00
reimannsum
c9fcfce18c utils.py
adding HTML support
2015-10-30 09:33:29 -04:00
Bill Zorn
18b7a69f90 added line transforms, not totally sure if they work yet 2015-09-06 21:58:56 -07:00
Bill Zorn
7dbd56a9bd updated encode and decode to use new, unified formats 2015-09-06 20:24:19 -07:00
Bill Zorn
5fbd2dca8e Improved MSE support; lots of cool stuff goes into notes, and bsides work.
Also changed the phrasing of uncast a bit to be clearer for unpasses.
2015-08-14 23:40:47 -07:00
Bill Zorn
438bc86be9 Integration and unbreaking of MSE support changes.
There are still several major issues -
      MSE cards look decent, but there is virtually no text prettification.
      Split cards (bsides) are not supported at all.
      There is no abuse of the notes field to dump additional data yet.
2015-08-11 00:13:31 -07:00
PAK90
cda98f6209 Fixed Planeswalker loyalty costs. 2015-08-08 21:36:05 -06:00
PAK90
29e604cddf Nearly finished planeswalkers, fixed lands, added titlecase for capitalization, fixed choices.
Removed snow mana from land mana cost.
Planeswalkers almost done; need to handle those with loyalty costs above
9.
titlecase.py provides much better capitalization for names and
rulestext.
Choices now have dash and bullet points.
2015-08-08 21:19:00 -06:00
PAK90
1bc3c724a1 Added MSE2 export feature. 2015-08-08 15:03:37 -06:00
Bill Zorn
70bec99138 added support for checking cardnames 2015-08-01 22:16:30 -07:00
Bill Zorn
f0e631e015 added rarity to the default fields 2015-08-01 02:26:34 -07:00
Bill Zorn
49e386ac4f various improvements, added cbow 2015-07-29 01:21:34 -07:00
Bill Zorn
08dc3944f8 made decoding better 2015-07-23 01:04:40 -07:00
Bill Zorn
c5231ac947 fixed a few little things 2015-07-17 01:48:12 -07:00
Bill Zorn
747614e355 Added decode script with two supported formats.
Other misc fixes as well, we get all of the choice cards right in the encoding.
2015-07-17 01:13:58 -07:00
Bill Zorn
2a0e014c41 Changed things to use the python module system better and have argparse.
Encode now supports multiple formats, still working on decoding them nicely.
2015-07-15 23:40:15 -07:00
Bill Zorn
40fc695826 Card now has flexible input from encoded formats. Data mining code updated.
Unfortunately, python does not do import in a nice way without using the
full bore module system, I'll deal with that another day.
2015-07-14 23:27:21 -07:00
Bill Zorn
1a4965fd83 EVERYTHING HAS CHANGED
Added lib and script subdirs to organize things; the biggest change is that now
we have a really powerful Card class that can handle all of the decoding and
encoding for us. encode.py has been written to take advantage of this, other
things have not yet. Coming soon! As a side note the changes to output.txt
are purely cosemtic, though the order should be stable now.
2015-07-14 00:07:25 -07:00