コード例 #1
0
        private void findResztvevok(Szerzodes szerzodes)
        {
            MatchResult eladok = new Ner("entityPatterns/szerzodes/eladok.xml").findMatch(text);

            if (eladok != null)
            {
                foreach (var item in eladok.Value.Split(new string[] { "\n\n" }, StringSplitOptions.None))
                {
                    ReszvetelFinder.Instance.Szerzodes = szerzodes;
                    ReszvetelFinder.Instance.Role      = "Eladó";
                    ReszvetelFinder.Instance.findOne(item);
                }
            }
            MatchResult vevok = new Ner("entityPatterns/szerzodes/vevok.xml").findMatch(text);

            if (vevok != null)
            {
                foreach (var item in vevok.Value.Split(new string[] { "\n\n" }, StringSplitOptions.None))
                {
                    ReszvetelFinder.Instance.Szerzodes = szerzodes;
                    ReszvetelFinder.Instance.Role      = "Vevő";
                    ReszvetelFinder.Instance.findOne(item);
                }
            }
        }
コード例 #2
0
        private void findTipus()
        {
            MatchResult type = new Ner("entityPatterns/szerzodes/szerzodestipus.xml").findMatch(text.Substring(0, 500));

            if (type != null)
            {
                findable.Tipus = type.Value + " adásvételi szerződés";
            }
        }
コード例 #3
0
        private void findJegyzo()
        {
            MatchResult kozjegyzo = new Ner("entityPatterns/szerzodes/kozjegyzo.xml").findMatch(text.Substring(text.Length / 2));

            if (kozjegyzo != null)
            {
                findable.EllenjegyzoIroda = kozjegyzo.Value + " Ügyvédi iroda";
            }
        }
コード例 #4
0
        private void findKelt()
        {
            MatchResult date = new Ner("entityPatterns/szerzodes/keltdatum.xml").findMatch(text);

            if (date != null)
            {
                MatchCollection m = Regex.Matches(date.Value, "[0-9]+");
                findable.KeltDatum = new DateTime(int.Parse(m[0].Value), int.Parse(m[1].Value), int.Parse(m[2].Value));
            }
        }
コード例 #5
0
        private bool findTipus()
        {
            MatchResult m = new Ner("entityPatterns/resztvevo/cegtipus.xml").findMatch(findable.Nev);

            if (m != null)
            {
                findable.Tipus = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #6
0
        private bool findTorzskonyv()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/torzskonyvszam.xml").findMatch(text);

            if (m != null)
            {
                findable.TorzskonyvSzam = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #7
0
        private bool findGyartasev()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/gyartaseve.xml").findMatch(text);

            if (m != null)
            {
                findable.GyartasEve = int.Parse(m.Value);
                return(true);
            }
            return(false);
        }
コード例 #8
0
        private bool findUtoNev()
        {
            MatchResult m = new Ner("entityPatterns/resztvevo/utonev.xml").findMatch(text);

            if (m != null)
            {
                findable.UtoNev = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #9
0
        private bool findSzamla()
        {
            MatchResult m = new Ner("entityPatterns/resztvevo/szamlaszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Szamlaszam = m.Value.Replace(" ", "-");
                return(true);
            }
            return(false);
        }
コード例 #10
0
        private bool findVaros()
        {
            MatchResult m = new Ner("entityPatterns/cim/varos.xml").findMatch(text);

            if (m != null)
            {
                findable.Varos = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #11
0
        private bool findUtca()
        {
            MatchResult m = new Ner("entityPatterns/cim/utca.xml").findMatch(text);

            if (m != null)
            {
                findable.Utca = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #12
0
        private bool findOrszag()
        {
            MatchResult m = new Ner("entityPatterns/cim/orszag.xml").findMatch(text);

            if (m != null)
            {
                findable.Orszag = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #13
0
        private bool findIranyitoszam()
        {
            MatchResult m = new Ner("entityPatterns/cim/iranyitoszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Iranyitoszam = int.Parse(m.Value);
                return(true);
            }
            return(false);
        }
コード例 #14
0
        private bool findEmelet()
        {
            MatchResult m = new Ner("entityPatterns/cim/emelet.xml").findMatch(text);

            if (m != null)
            {
                findable.Emelet = int.Parse(m.Value);
                return(true);
            }
            return(false);
        }
コード例 #15
0
        private bool findStat()
        {
            MatchResult m = new Ner("entityPatterns/resztvevo/statisztikaiaz.xml").findMatch(text);

            if (m != null)
            {
                findable.StatAz = m.Value.Replace(" ", "");
                return(true);
            }
            return(false);
        }
コード例 #16
0
        private bool findCegjegy()
        {
            MatchResult m = new Ner("entityPatterns/resztvevo/cegjegyzekszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Cegjegyzekszam = m.Value.Replace(" ", "");
                return(true);
            }
            return(false);
        }
コード例 #17
0
        private bool findArany()
        {
            MatchResult arany = new Ner("entityPatterns/szerzodes/eladotulajdonarany.xml").findMatch(text);

            if (arany != null)
            {
                findable.EladoTulajdonArany = arany.Value.Replace(" ", ".");
                return(true);
            }
            return(false);
        }
コード例 #18
0
        private bool findHazszam()
        {
            MatchResult m = new Ner("entityPatterns/cim/hazszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Hazszam = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #19
0
        private bool findSzulHely()
        {
            MatchResult place = new Ner("entityPatterns/cim/szuletesihely.xml").findMatch(text);

            if (place != null)
            {
                findable.SzulHely = place.Value;
                return(true);
            }
            return(false);
        }
コード例 #20
0
        private bool findAtutalasE()
        {
            MatchResult m = new Ner("entityPatterns/teljesites/atutalas.xml").findMatch(text);

            if (m != null)
            {
                findable.BankiAtutalasE = true;
                return(true);
            }
            return(false);
        }
コード例 #21
0
        private bool findAdo()
        {
            MatchResult m = new Ner("entityPatterns/resztvevo/adoszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Adoazonosito = m.Value.Replace(" ", "");
                return(true);
            }
            return(false);
        }
コード例 #22
0
        private bool findAfa()
        {
            MatchResult m = new Ner("entityPatterns/teljesites/afa.xml").findMatch(text);

            if (m != null)
            {
                findable.Afa = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #23
0
        private bool findTipus()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/tipus.xml").findMatch(text);

            if (m != null)
            {
                findable.Tipus = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #24
0
        private bool findHasznalte()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/hasznalte.xml").findMatch(text);

            if (m != null)
            {
                findable.HasznaltE = true;
                return(true);
            }
            return(false);
        }
コード例 #25
0
        private bool findKilometer()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/kilometerszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Kilometerszam = int.Parse(m.Value);
                return(true);
            }
            return(false);
        }
コード例 #26
0
        private bool findFoldH()
        {
            MatchResult m = new Ner("entityPatterns/ingatlan/foldhivatal.xml").findMatch(text);

            if (m != null)
            {
                findable.Foldhivatal = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #27
0
        private bool findElsoForgalom()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/elsoforgalom.xml").findMatch(text);

            if (m != null)
            {
                findable.ElsoForgalombaHely = int.Parse(m.Value);
                return(true);
            }
            return(false);
        }
コード例 #28
0
        private bool findBelt()
        {
            MatchResult m = new Ner("entityPatterns/ingatlan/belterulet.xml").findMatch(text);

            if (m != null)
            {
                findable.Belterulet = true;
                return(true);
            }
            return(false);
        }
コード例 #29
0
        private bool findForgalmiszam()
        {
            MatchResult m = new Ner("entityPatterns/gepjarmu/forgalmiszam.xml").findMatch(text);

            if (m != null)
            {
                findable.Forgalmiszam = m.Value;
                return(true);
            }
            return(false);
        }
コード例 #30
0
        private bool findSzobak()
        {
            MatchResult m = new Ner("entityPatterns/ingatlan/szobakszama.xml").findMatch(text);

            if (m != null)
            {
                findable.SzobakSzama = int.Parse(m.Value);
                return(true);
            }
            return(false);
        }