Compare commits

..

No commits in common. "97ac12d8340366c4d9fbb27699bd3a62e310deb9" and "2d70038e4c698a8d2c343698ee4895692eb35f61" have entirely different histories.

4 changed files with 2 additions and 1000 deletions

View file

@ -9,7 +9,6 @@ namespace MarkovGrams
{
public enum Mode
{
None,
Help,
NGrams,
Markov,
@ -20,7 +19,6 @@ namespace MarkovGrams
{
public static int Main(string[] args)
{
Mode mode = Mode.None;
List<string> extras = new List<string>();
StreamReader wordlistSource = new StreamReader(Console.OpenStandardInput());
int order = 3, length = 8, count = 10;
@ -62,17 +60,14 @@ namespace MarkovGrams
case "start-uppercase":
startOnUppercase = true;
break;
case "help":
mode = Mode.Help;
break;
default:
Console.Error.WriteLine($"Error: Unknown option '{args[i]}'.");
return 1;
}
}
if(mode != Mode.Help && extras.Count > 0)
mode = (Mode)Enum.Parse(typeof(Mode), extras.ShiftAt(0).Replace("markov-w", "weightedmarkov"), true);
Mode mode = extras.Count > 0 ? (Mode)Enum.Parse(typeof(Mode), extras.ShiftAt(0).Replace("markov-w", "weightedmarkov"), true) : Mode.Help;
// ------------------------------------------------------------------------------------------
@ -132,7 +127,6 @@ namespace MarkovGrams
Console.WriteLine(" Generate raw unique n-grams");
Console.WriteLine();
Console.WriteLine("Available options:");
Console.WriteLine(" --help Show this message");
Console.WriteLine(" --wordlist {filename} Read the wordlist from the specified filename instead of stdin");
Console.WriteLine(" --order {number} Use the specified order when generating n-grams (default: 3)");
Console.WriteLine(" --length {number} The target length of word to generate (Not available in ngrams mode)");

View file

@ -1,415 +0,0 @@
Achievement
Adept Gloves
Aehre
Aged Travelguide
Ambigious Rod
Ancient Earth
Ancient Sandals
Arid Lumber
Aspiration Proof
Assassin Garb
Assault Vest
Autumn Ingredients
Autumn Leaves
Autumn Probe
Autumn Salve
Autumn's Fall
Autumn's Rise
Azure Dragonfly
Azure Drop Shade
Ba'kii Kum
Bamboots
Bandit's Scarf
Basin Keep
Battered Fist
Bear Beer
Bear Cicada
Bergen Ice
Bergen Ice Cream
Bergen Probe
Bergen Trail
Bergen Village
Bigger Stick
Billston's Com
Blazing Bun
Bluefiber Robe
Blue Grass
Blue Ice Shade
Blue Mango
Blue Orb
Blue Shell
Boom Walkers
Bovine Armor
Bovine Skin
Brave Anchors
Brewing Kit
Brewing Kit: Bear
Brewing Kit: Crab
Brewing Kit: Whale
Broken Chakram
Broken Shield
Broken Sword
Bronze Boots
Bronze Chest Plate
Bronze Edge
Bronze Goggles
Bronze Mail
Brostick of Force
Bubblebelt
Bug Shell
Bull Stompers
Butter Silk
Cactone Fruit
Captured Bunny
Capture Device
Carpet Runners
Catalop Pellet
Cheese Cracker
Chef Sandwich
Chili Con Carne
Chili Dog
Chilling Veil
Cinder Gem
Circuit Override
Civilian Trigger
Climbing Pick
Cobalt Boots
Cobalt Crystal
Cobalt Edge
Cobalt Goggles
Cobalt Mail
Cold Platter
Common Planter
Cooling Veil
Copper Gull
Core Drill
Crab Mead
Crimson Dragonfly
Cross Sandwich
Crystal Leek
Crystal Plate
Crystal Water
Cup o' Coffee
Curly Farn
Curly Slippers
Cursed Coin
Daikon
D. C-137 Gun
Dented Crown
Desert Sandals
Dessert Vest
Diabolic Horns
Dirty Rubble
Disciple Gloves
Disc of Flora
Disc of Insight
Disc of Treasure
Drill Stone
Dropped Mic
Dry Fin
Dungeon Heart
Echo Roll
Edge o' All
Edgy Headphones
Elder Wood
Electrician's Cap
Energy Espresso
Epic Metal
Everlasting Amber
Excalibro
Exotic Resin
Explorer's Cap
Faedora
Faj'ro Key
Faj'ro Master Key
Faj'ro Temple
Feather Leaf
Feline Paws
Fin Cap
First Scholar Pass
Flaming Bun
Fleety Sandals
Flintzer Excretions
Fluffy Fur
Food Temp #1
Food Temp #2
Frosted Carrot
Frozen Tear
Fruit Drink
Fruit Pie
Fruit Salad
Fruit Set
Full Course
Furry Cap
Gaia Probe
Gaia's Garden
Gaia Temple Pass
Galaxy Berry
Galaxy Spiral Drill
Geo-Data #3469
Giga Spiral Drill
Ginger Tom. Salad
GIT
Glaring Rock
Glowing Sphere
Glow Pear
Gold Beetle
Golden Chest Plate
Golden Revolver
Golden Ring
Golden Triangle
Gourmet Steak
Grasswalkers
Green Arbor
Green Leaf Shade
Green Leaf Tea
Green Risotto
Green Seed Shade
Gunner's Trigger
Hardened Liver
Hardhead Hat
Hardrock Plate
Headphone Scraps
Helix Relic
Hermit Repairkit
Hidden Blade
Hi-Sandwich
Holiday Boots
Holiday Hat
Holiday Present
Hotsauce
Hoverpad
Huge Nut
Humming Razor
Hungry Salmon
Hunter's Bolt
Hydraulic Anchors
Icewalkers
Infinite Gem
Iron Boots
Iron Edge
Iron Goggles
Iron Mail
Jack's Flame
Jelly Extract
Junk Metal
Just Water
Kajo Master Key
Kebab Roll
Key Piece
King's Ring
Krys'kajo Key
Laser Eyes
Laser Pickaxe
Laser TNT
Lavish Anchors
Lawkeeper's Fist
Lazy Claw
Leaf Cape
Living Bolt
Longears
Loose Trenchcoat
Lucid Shard
Magic Robe
Magma Residue
Marinated Meat
Marksmen Trigger
Maroon Cave Pass
Maroon Chestnut
Maroon Probe
Maroon Valley
Masterball
Maverick Edge
Mega-Sandwich
Metal Down
Metal Gears
Metal Needles
Mighty Strand
Mine Key
Mine Master Key
Mine Pass
Mining Docs
Moistured Line
Moon Fruit
Mugger's Blade
Mysterious Box
Mystery Grape
Mystic Mohawk
Neutral Stone
Nifty Grey Shades
Nomadic Turban
Observatory Key
Old Bones
Old Man's Book
Old Man's Drill
One Up
Ordinary Fish
Palette Blossom
Palmapple Seed
Panzer Fist
Parched Leaves
Pathfinders
Pepper Night Tea
Perfect Karrot
Perforated Tophat
Petal Cloak
Phoenix Feather
-Pig Mask NOEZ
Pike Wood
Pink Petal
Placebotion
Placeholder #1
Plain Cube
Plated Plate
Poison Stinger
Polished Mic
Pond Slums Pass
Power Spinach
Precious Metal
Precursor Shard
Prime Pistachios
Progression Proof
Proper Tophat
Pure Autumn Cider
Purple Bolt Shade
Purple Ore Lump
Radiant Key
Rainbow Gem
Ramming Shell
Rapier Carrot
-Rauser NOEZ
Raw Meat
Raw Steak
Recruit's Scope
Red Bandana
Red Bandana (Weapon)
Red Flame Shade
Refined Metal
Rhombus Dungeon
Rice Cracker
Ripe Apples
Rock Beak
Rocksplitter
Ronin Shell
Rookiebelt
Rookieblade
Rookieboots
Rookie Harbor
Rookiehat
Rootweave
Rough Branch
Royal Hive
Rusty Anchors
Rusty Bits
Rusty Hook
Salted Peanuts
Salty Ice Cream
Samurai Shell
Sandwich
Sapphire Ridge
Sapphire Ridge
Scarecrown
Scouting Visor
Scrappy Plate
Sea Disc
Season Apples
Second Hide
SecretBall
Shadowy Cloak
Shady Monocle
Sharp Splitter
Shinkickers
Shiny Glasses
Shiny Orb
Shrimp Risotto
Shuddering Cleaver
Silver Boots
Silver Chest Plate
Silver Edge
Silver Goggles
Silver Hawk
Silver Mail
Slime Drop
Smelter Parts
Smokaway
Snack Mix
Sneaky Shiv
Solid Bubble
So'najiz Key
So'najiz Temple
Sonic Spike
Sparkly Boots
Spark Tin
Spice Set
Spicy Bun
Spiky Jacket
Spiky Nut
Spiral Gem
Squishy Teeth
Stable Footguard
Star Fruit
Star Shade
Static Furball
Steak, rare
Steel Bamboo
Steel Boots
Steel Comb
Steel Edge
Steel Goggles
Steel Mail
Sticky Web
Storage Unit #1
Stout Backplate
Strawhat
Student's Bandana
Sunset Claw
Sunset Dew
Survival Plate
Survivor's Blade
Sweet Berry Tea
Sweet Lemonjuice
Swiftspike
Temple Mine
Tengu Mask
The End
Thief's Band
Thief's Key
Ti'im Residue
Timeworn Belt
Titan Boots
Titan Edge
Titan Goggles
Titan Mail
Tofu Cracker
Tough Sand
Tracker Chip
Tremor Engine
Twilight Dew
Twitching Slicer
Urban Sneakers
Vanilla Ice Cream
Veggie Burger
Veggie Set
Veggie Sticks
Veggie Wraps
Venom Shroom
Vermillion Jewel
Virus Root
Vivid Water
Warkeeper
Weird Hillkat Tech
Weird Skates
Western Starfist
Whale Wine
White Grain
White Key
Winner's Pride
Winterclaw
Winter Thorn
Wolf Cicada
Wooly Socks
Wrap Roll
Ye dirty 'ol cheater
Yellow Sand Shade
Zir'vitar Key
Zir'vitar Temple

View file

@ -1,565 +0,0 @@
16-Bit Buddies
2-Tone
756-V-17th Morning Edition
A1-Class Powershield
Abstractification
Adamantite
Adamantite Bangle
Advanced Color Samples
Aegir Root
A Little Friend Sticker
Allural Shallot
Alstor Bass Bones
Alstroom
Amethyst Bracelet
Ammonite Fossil
Amulet
Anak Antlers
Anak Fetlock
Anak Meat
Ancient Dragon Tooth
Angel Earring
Anklet of the Gods
Anti-darkness Inners
Antidote
Applied Sorcery
Arapaima Roe
Arapaima Scales
Arba Spur
Armiger Accelerator
Armory on Wheels
Assassin Mascot
Assassin's Insignia
Assist Suit
Auto-changer
Bandage
Barbed Poison Needle
Barbed Scythe*
Barramundi Fillet
Barramundi Goldfin
Barramundi Innards
Barrelfish Mucus
Barrelfish Scales
Basic Color Samples
Basilisk Plumage
Bass Eye
Bass Teeth
Beast Whistle
Beautiful Bottle
Beautiful Hide
Beautiful Plumage
Beaux Arts
Beetle Shell
Behemoth Horn
Behemoth Round
Behemoth Tenderloin
Bent Dog Tag
Big Bang
Big Scorpion Stinger
Birdbeast Egg
Black Belt
Black Choker
Black Hood
Blackstone Crystal
Blackstone Ore
Blackstone Shard
Blitzer's Fanfare
Blue Choker
Blue Diamond Bracelet
Bluefin Tuna Fillet
Bluegill Fin
Bluegill Scale
Bluestone Crystal
Bluestone Ore
Bluestone Shard
Broken Dog Tag
Broken Harmonica
Broken Magitek Core
Bronze Bangle
Building Stone
Bulette Carapace
Bullet Hole Sticker
Bulletproof Suit
Bulletproof Vest
Cactuar Effigy
Cactuar Model
Cactuar Needle*
Cactuar Sculpture
Cactuar Statuette
Cactuar Sticker
Caem Carrot
Caem Pinkshrimp
Camera Strap
Carbon Bangle
Carbon Weave
Carbuncle
Catfish Barbel
Catfish Heart
Catfish Mucus
Catoblepas Brisket
Catoblepas Fang
Caution: Wild Beasts Sticker
Cavalier Sticker
Celestriad
Centipede Feet
Centipede Jaw
Centipede Legs
Centipede Teeth
Centurion Bangle
Champion's Anklet
Check Pattern
Chickatrice Leg
Chobham Armor
Chocobo Sticker
Chocobo Whistle
Chrome Bit
Cid's Old Hammer
Cieldalaes Pear
Cieldalaes Pineapple Seeds
Cindymobile
Circlet
Cleigne Darkshell
Cleigne Mollusk
Cleigne Wheat
Cockatrice Crest
Cockatrice Tail Feathers
Coctura's Cat Food
Coernix Oil Sticker
Coeurl Whiskers*
Colorful Griffon Claw
Corsa Medal
Crab Carapace
Crimson Tongue
Crooked Helixhorn
Crown City Smartphone
Crownsguard
Crusader's Anklet
Crushed Dog Tag
Cup Noodles
Curiel Greens
Curved Fang
Curved Hollowhorn
Dace Scales
Daggerquill Breast
Dark Crest
Dark Matter Bracelet
Deadly Stinger
Debased Banknote
Debased Coin
Debased Silverpiece
Destrier Medal
Diamond Bracelet
Divine Whiskers
Doman Pear
Doman Plum Pits
Downy Feathers
Dragon Claw
Dragon Horn
Dragon's Beard
Dragon Scales
Dream Egg
Drooping Whiskers
Dualhorn Steak
Dynamo*
Earth Gemstone*
Earth Pendant
Ebony Sticker
Electric Actuator
Electrolytic Condenser
Elixir
Emerald Bracelet
Emerald Stone
Emperor's Anklet
Enormous Stinger
Enticing Truffle
Eos
Eos Green Peas
Ether
Expert Color Samples
Faded Letter
Fan Service
Fat Chocobo Medal
Fearsome Hoof
Fencer's Anklet
Field Medicine
Fine Cleigne Wheat
Fine Crest
Fine Gighee Ham
Fine Slimy Oil
Fine Tail Feathers
Fire Crest
Fireproof Inners
Flames I
Flames II
Flames III
Flesh Fortifier
Fossil Shell
Fossil Wood
Free Carnival Passport
Friendship Band
Funguar
Gar Fin
Garnet Bracelet
Garula Fur
Garula Sirloin
Garula Tusk
Genji Gloves
Giant Crab Pincers
Giant Curlhorn
Giant Feather
Giant Hairy Horn
Giant Hoof
Gigas Bangle
Gighee Ham
Gladio Sticker
Glass Gemstone*
Glimmering Zu Egg
Gold Bangle
Gold Chocobo
Gold Dust
Golden Hourglass
Gold Needle
Gold Shard
Gorgeous Plumage
Gralean Medal of Distinction
Great Anak Antlers
Great Garula Tusk
Greatsnake Crest
Greatsnake Scale
Green Choker
Greenstone Crystal
Greenstone Ore
Greenstone Shard
Griffon Breast
Griffon Claw
Griffon Feather*
Grouper Bones
Grouper Combscale
Grouper Fin
Grouper Skin
Guardians
Hairy Horn
Hammerhead
Hammerhead Sticker
Handkerchief
Han Lemon Seeds
Han Pear
Hardened Hide
Hardened Hoof
Hard Scale
Hard Whiskers
Havocfang Hide
Heavy Scale
Heliodor Bracelet
Hi-Elixir
Hi-Potion
Horn of Cleansing
Horn of Fortitude
Horn of Madness
Horn of Resolve
Horn of Tenacity
Hulldagh Nutmeg
Hunters Medal
Hydraulic Cylinder*
Hypno Crown
Ice Crest
Ignis's Cane
Ignis Sticker
Imperial Medal of Honor
Inertia Controller
Infernian Shard
Insect Stinger
Insulated Inners
Intricate Coin
Iron Bangle
Iron Shavings
Iron Shelf Recipes, Vol. 1
Iron Shelf Recipes, Vol. 2
Iron Shelf Recipes, Vol. 3
Iron Shelf Recipes, Vol. 4
Iron Shelf Recipes, Vol. 5
Iron Shelf Recipes, Vol. 6
Iron Shelf Recipes, Vol. 7
Iron Shelf Recipes, Vol. 8
Iron Shelf Recipes, Vol. 9
Jade Gar Mirrorscale
Jennet Medal
Jockey Master Medal
Jumbo Needle
Justice Monsters Five
Karlabos Carapace
Kettier Ginger
Key of Prosperity
Killer Tomato
Knight's Anklet
Kujata Marrow
Large Arapaima Scales
Large Hollowhorn
Laser Sensor
Lavender Oil
Legatus Bangle
Leiden Pepper
Leiden Sweet Potato
Leukorn Steak
Lightning Crest
LOKTON LX-30
LOKTON LX-X1R
Long Course Medal
Lovers' Notebook
Lucian Carp Reverscales
Lucian Carp Rowscales
Lucian King's Crest
Lucian Tomato
Luna Sticker
Luxury Cat Food
Magic Flask
Magitek Booster
Magitek Core*
Magitek Shield
Magitek Suit
Magitek Suit V2
Magnetron*
Magnificent Crest
Magnificent Tail Feathers
Maiden's Kiss
Malboro Eye
Malboro Vine
Malmashroom
Mamook Pear
Mamook Pear Seeds
Mandrake Flower
Mark of the Archaean
Mark of the Draconian
Mark of the Fulgurian
Mark of the Glacian
Mark of the Hydraean
Megalixir
Mega Phoenix
Megaphone
Mega-Potion
Mesmenir Horn
Messengers' Amulet
Metal Scrap*
Mettle VX
Midgardsormr Shank
Mighty Guard
Mimett Greens
Monica's Cat Food
Monster Claw*
Monster Jaw
Moogle Charm
Moogle Plushie
Moogle Sticker
Moon Pendant
Morion Trout Scales
Mummy Bass Guts
Murk Grouper Eye
Muscle Stimulant
Myrlwood Firefly
Mystery Map
Mystic Circlet
Mythic Color Samples
Mythril Component
Mythril Ingot
Mythril Ore
Mythril Shaft
Nebula Salmon Fillet
Niella Bracelet
Nixperience Band
Noctis Sticker
O'Ghomoro Berry Seeds
O'Ghomoro Pear
Old Book
Onion Bangle
Oracle Ascension Coin
Oracle Card
Oracle Earring
Pendulum
Phoenix Bass Bladder
Phoenix Down
Platinum Bangle
Platinum Ingot
Platinum Leviathan
Platinum Myrltrout Fillet
Poisonous Catfish Fin
Polished Dog Tag
Pop Art
Portable MP3 Player
Potion
Potpourri
Power EX
Power Plant Keycard
Power Stone
Power Wristband
Prawn Antennae
Prismatic Dust
Prismatic Ore
Prompto Sticker
Protective Amulet
Purified Salt
Quality Building Stone
Racing Stripes I
Racing Stripes II
Racing Stripes III
Racing Stripes IV
Racing Stripes V
Rainbow Frog
Rainbow Pendant
Rare Coin
Rare Metal
Reagan Greens
Red Choker
Red Frog
Redstone Crystal
Redstone Ore
Redstone Shard
Red Tusk
Reflex Enhancer
Regalia Crest
Remedy
Repair Kit
Replica Medal
Ribbon
Ring of Resistance
Robe of the Lord
Rotten Splinterbone
Rough Scales
Rough Shell
Rounsey Medal
Royal Stripes I
Royal Stripes II
Royal Vessel Key
Ruby Bracelet
Ruby Stone
Rune Earring
Rusted Bit*
Rusted Dog Tag
Sabertusk Claw
Safety Bit
Sahagin Liver
Sahagin Scale
Salmon Fin
Sapphire Bracelet
Saxham Rice
Scaled Skin
Scarlet Splinterbone
Schier Turmeric
Scorched Dog Tag
Scorpion Barb
Scorpion Stinger
Scratched Dog Tag
Scribbled Note
Sea Bass Fillet
Sealbreakers' Key
Security Card
Sharp Bone
Sharp Bristles
Sharp Head Fin
Sharp Scythe
Sharp Tail Feathers
Shattered Timepiece
Sheep Milk
Shield Spike
Short Course Medal
Silver Bangle
Silver Dust
Silver Shard
Sky Gemstone*
Slimy Oil
Small Beak
Smelling Salts
Smoking Wood
Snakehead Scales
Snakehead Teeth
Soldier's Anklet
Soul of Thamasa
Spider Silk
Spiked Armor*
Spiny Barramundi Fin
Spirit ZX
Splendid Building Stone
Stamina Badge
Star Pendant
Star Shell
Stone Wall
Strange Engine
Strong Bone
Strong Pincers
Strong Whiskers
Sturdy Helixhorn*
Styling Gel
Sullied Dog Tag
Super Baleen
Superior Restorative
Supple Tail
Sylkis Greens
Sylvester's Map
Sylvester's Map Piece
Tactician's Fanfare
Talisman
Target Scope
Tarot Card
Tech Turbocharger
Tempered Shield
Tenebraen Oak
TERRA BATTLE
The Beast
The Clever's Talisman
The Founder King's Sigil
The Good Chamberlain
The Grand Chamberlain
The Tall's Talisman
The Wanderer's Talisman
Thick Hide
Thieves' Way
Thieves' Way II
Thunderoc Feather
Tide Grouper Fillet
Tiny Feather
Titanium Bangle
Tombkeep's Key
Tough Shell
Towel
Translucent Skin
Treant Branch
Treant Trunk
Trevally Fillet
Trevally Fin
Trevally Scales
Trihead Heart
Trout Fillet
Trout Scales
Twisted Dog Tag
Ulwaat Berries
Umbra Sticker
Unstable Stabilizer
Valfruit Seeds
Val Pear
Verve WX
Vesper Gar Fillet
Vesproom
Volcanic Bouquet
Voretooth Bristles
Warm Inners
Warped Wings
Warrior's Anklet
Warrior's Fanfare
White Choker
White Sage
White Sneakers
Whitestone Crystal
Whitestone Ore
Whitestone Shard
Wild Onion
Wind-up Lord Vexxos
World Map
Worn Incisor
Wyvern Wing
Xelphatol Apple Seeds
Xelphatol Pear
Yellow Frog
Yellowstone Crystal
Yellowstone Ore
Yellowstone Shard
Zu Beak
Zu Tender

View file

@ -1,12 +0,0 @@
#!/usr/bin/env bash
curl https://crosscode.gamepedia.com/Items | xidel --data - --css "table a" | awk "NF > 0" | sort >Cross-Code-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/Treasures_(Final_Fantasy_XV)' | xidel --data - --css "table th.b[rowspan=4]" >Final-Fantasy-15-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/Ingredients' | xidel --data - --css "table th.b[rowspan=4]" | sed -e 's/(.*$//g' | sort >>Final-Fantasy-15-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/Auto_Parts' | xidel --data - --css "table th.b[rowspan=2]" | sort >>Final-Fantasy-15-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/Leisure_Goods' | xidel --data - --css "table.article-table tr:not(.a) th.b" | sort >>Final-Fantasy-15-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/Key_Items_(Final_Fantasy_XV)' | xidel --data - --css "table.article-table tr:not(.a) th.b" | sort >>Final-Fantasy-15-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/List_of_Final_Fantasy_XV_items' | xidel --data - --css "table.article-table tr:not(.a) th.b" | sed -e 's/(.*$//g' | sort >>Final-Fantasy-15-Items.txt
curl 'http://finalfantasy.wikia.com/wiki/List_of_Final_Fantasy_XV_accessories' | xidel --data - --css "table.article-table tr:not(.a) th.b" | sed -e 's/(.*$//g' | sort >>Final-Fantasy-15-Items.txt
sort Final-Fantasy-15-Items.txt -o Final-Fantasy-15-Items.txt