Commit graph

58 commits

Author SHA1 Message Date
Bill Zorn
50c903f349 minor cleanup 2017-01-17 15:57:15 -08:00
Bill Zorn
88f4331a78 Merge branch 'vehicles' of https://github.com/SabreCat/mtgencode into SabreCat-vehicles 2017-01-17 15:53:03 -08:00
Sabe Jones
a961baf9ed refactor(vehicles): speedup
Don't check subtypes if we already know it's a creature.
2017-01-16 19:23:04 +00:00
Sabe Jones
b5cd4df795 fix(vehicles): p/t ok on noncreature vehicles
Fixes #14.
2017-01-16 18:59:06 +00:00
Sabe Jones
53bc2a7ccc feat(verbose): print invalid cardnames
Fixes #13.
2017-01-16 17:51:03 +00:00
Bill
65905cf656 Merge pull request #7 from reimannsum/master
Master
2016-06-15 20:59:23 -07:00
Bill Zorn
9227f870b9 commit partially implemented option to ignore line types 2016-06-15 20:55:37 -07:00
reimannsum
18eec4d0da Fixed hybrid symbol
fixed incorrect hybrid mana styling
2016-06-14 21:43:56 -04:00
reimannsum
b44cfeca70 fixed stylings 2016-06-14 15:45:49 -04:00
reimannsum
2adb1785ee Spelling
fixed capitalization on nav bar of HTLP spoiler
2016-06-14 15:42:48 -04:00
reimannsum
4bf2d6f219 fixing sorting loop
fixed infinate loop when sorting by CMC, also added slight styling
changes
2016-06-14 15:25:38 -04:00
reimannsum
595d636490 additional sorting
added sorting out of lands and sorting each catagory by CMC
2016-06-14 15:13:12 -04:00
reimannsum
7056035719 getters
added getters for field_types and field_cost.cmc
2016-06-14 15:10:24 -04:00
reimannsum
adf0c1a44a Gatherer formatting in HTML
moved the forum spoiler and 'back to top' in order to keep lines from
spilling over.
2016-06-14 13:57:23 -04:00
reimannsum
28c765719e updating gatherer output
fixed outdated HTML code when using Gatherer flag
2016-06-14 13:43:33 -04:00
reimannsum
7607a4d499 added sorting label support 2016-06-14 13:17:39 -04:00
reimannsum
b29e48dff5 top nav labels
added top nav and labels for sorting
2016-06-14 13:17:17 -04:00
reimannsum
353910ef48 add getter
added getter function for field_cost.get_colors()

also added code to add a "back to top" link to each card
2016-06-14 13:16:01 -04:00
reimannsum
fcba310d74 Fixed the things I broke
missing styling moved from example files back to source code
2016-06-13 19:47:13 -04:00
reimannsum
fed25c77f4 Improvements to HTML spoiler
Changed how Creativity card examples are handled as to not flood
magiccards.info and cause it to blacklist computer. Also added forum
spoiler to each card. changed the link for similar cards to the
magiccards.info page.
2016-06-12 22:19:03 -04:00
Bill Zorn
0132345ebe first version of something that torch-rnn can use with streaming 2016-05-09 02:13:17 -07:00
Bill Zorn
d4b5ef2104 code changes for encoding updates and sanity checker script that found them 2016-05-06 18:36:35 -07:00
Bill Zorn
8fc9f8d39d new transforms, plus slow reference line randomizer 2016-05-06 15:19:06 -07:00
Bill Zorn
20ab5af6e1 fixed html things to work with new colorless mana symbol 2016-05-05 14:26:43 -07:00
Bill Zorn
23c3b9a160 regenerate word vector files; word vectors encoding now sorts costs 2016-05-05 11:31:59 -07:00
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