/*
Copyright (c) 2014, Lars Brubaker
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
*/

// finish a, b, t
namespace MatterHackers.MatterControl.Plugins.BrailleBuilder
{
	public static class BrailleGrade2Mapping
	{
		public static string mappingTable =
			// + means needs one or more letters before or after
			// * means needs one or more words before or after
			// all caps means needs to be exact match
@"
// a's
about ab
above abv
according ac
across acr
after af
afternoon afn
afterward afw
again ag
against ag.
+ally ,y
almost alm
already alr
also al
although al?
altogether alt
always alw
+ance .e
and &
ar >
AS z
+ation ,n

// b's
+bb+ 2
BE 2
be+ 2
because 2c
before 2f
behind 2h
below 2l
beneath 2n
beside 2s
between 2t
beyond 2y
+ble #
blind bl
braille brl
BUT b
BY* 0

// c's
CAN c
cannot _c
+cc+ 3
ch *
character ""*
CHILD *
children *n
com+ -
con+ 3
conceive 3cv
conceiving 3cvg
could cd

// d's
day ""d
+dd+ 4
deceive dcv
deceiving dcvg
declare dcl
declaring dclg
dis+ 4
DO d

// e's
+ea+ 1
ed $
either ei
en 5
+ence ;e
ENOUGH 5
er }
ever ""e
EVERY e

// f's
father ""f
+ff+ 6
first f/
for =
FOR* =
FROM f
+ful ;l

// g's
+gg+ 7
gh <
GO g
good gd
great grt

// h's
had _h
HAVE h
here ""h
herself h}f
him hm
himself hmf
HIS 8

// i's
in 9
ing +
INTO* 96
IT x
ITS xs
itself xf
+ity ;y

// j's
JUST j

// k's
know ""k
KNOWLEDGE k

// l's
+less .s
letter lr
LIKE l
little ll
lord ""l

// m's
many _m
+ment ;t
MORE m
mother ""m
much m*
must m/
myself myf

// n's
name ""n
necessary nec
neither nei
+ness ;s
NOT n

// o's
o'clock o'c
of (
one ""o
oneself ""of
+ong ;g
ou |
ought ""|
+ound .d
+ount .t
ourselves |rvs
OUT |
ow {

// p's
paid pd
part ""p
PEOPLE p
percieve p}cv
perceiving p}cvg
perhaps p}h

// q's
question ""q
quick qk
QUITE q

// r's
RATHER r
receive rcv
receiving rcvg
rejoice rjc
right ""r

// s's
said sd
sh %
SHALL %
should %d
+sion .n
SO s
some ""s
spirit _s
st /
STILL /
such s*

// t's
th ?
THAT t
the !
their _!
themselves !mvs
there ""!
these ~!
THIS ?
those ~?
through _?
thyself ?yf
time ""t
tion ;n
TO* 6
today td
together tgr
tomorrow tm
tonight tn

// u's
under ""u
upon ~u
US u

// v's
VERY v

// w's
WAS 0
WERE 7
wh :
where "":
WHICH :
whose ~:
WILL w
with )
word ~w
world _w
would wd

// y's
YOU y
young ""y
your yr
yourself yrf
yourselves yrvs

// Simple Punctuation & numbers
*, 1
*. 4
1 a
2 b
3 c
4 d
5 e
6 f
7 g
8 h
9 i
0 j";

//// Punctuation and Composition Signs
//' '
//* 99
//[*] ,7 7,
////Capital, Single ,+
////Capital, Double ,,+
//";
	}
}