Пример #1
0
        static IEnumerable <Regex> PatternLaycanDate()
        {
            IEnumerable <string> inputs = new [] {
                "20-30 April",
                "29 March / 3 April",
                "l/c 25-26.03.17",
                "29.03 onw",
                "29-31.03.2017",
                "11-14.04.2017",
                "31 MARCH/06 APRIL 2017",
                "5/15 April",
                "5 / 9 APRIL",
                "4/6 Apri",
                "29/30  March",
                "30/31 March",
                "10/13th APRIL",
                "04 - 06/apr 2017",
                "l/c 16-19 APR 2017",
                "1 april",
                "01/10 April 2017",
                "20’April’17 to 26’April’17",
                "02 – 03 April 2017",
                "01-05.04.17"
            };
            IEnumerable <Regex> regexLaycanDate = PatternBuilder.GetPatternRegex(inputs);

            return(regexLaycanDate);
        }
Пример #2
0
        static IEnumerable <Regex> PatternCargodescription()
        {
            IEnumerable <string> inputs = new [] {
                "8/15,000 MT BULK MINERALS",
                "10,000 MT BULK MINERALS",
                "1 X  ABT  9,500 MT BULK MINERALS",
                "1 X  ABT 10,000 MT BULK MINERALS",
                "1 OR 2 LOTS OF 10,000 MT BULK MINERALS",
                "50000 mts bagged UREA 50kg bags",
                "1,700.mt 2% mol chopt harmless sodium sulph in bbgs stw abt 48\'",
                "1450/3000 mts barley, sf 52 wog",
                "Izm3000/10 wbp 54 wog",
                "5000 mt +/-5% of Anthracite coal SF 44",
                "5000 mt of Anthracite coal SF 44",
                "ABT 867T/1703CBM/282PCS, LOOSE PIPES",
                "abt 1800m3 / 208mts Project cargo",
                "2000 MTS BULK PERLITE / 2 GRADES",
                "GRADE A 1500 MTS EX ADAMAS",
                "GRADE B 500 MTS EX VOUDIA",
                "about  2,650.mt equal abt 3400cbm Chipboards in pallets",
                "3,765 tons STEELS",
                "44/4570 mts profiles",
                "6500 10% MOLOO TONS MARBLE CHIPS IN BULK",
                "5200 CBM MEDIUM-DENSITY FIBREBOARD (MDF) IN CRATES S.F. 3 CBM WOG STRICTLY UNDERDECK AND AND BALANCE 2000-3000 BUNDLES OF SAWN TIMBER PACKED IN BUNDLES SF 3 CBM WOG, NEED DECK OPTION - NEED ABOUT 6K-8K DWT TNG",
                "7,682/7,752 mts in chopt of blk mop stw abt 1m3/mt wog",
                "Cable Reels, 2 units.  LxWxH 9.2x5.9x10.2 mm / Weight: 40200 kg / per unit, plus EU pallet with accessories - 1 mts",
                "7/15000 mts of scrap sf abt 70 wog",
                "M/M 54/56000 slabs - qty in chopt",
                "01 Unit  155 MM T5 HOWITZER GUN mounted on a Vehicle",
                "(45,000-60,000) MT MOLOO",
                "M/M  5.450 / 5.750 mts in chopt coils",
                "3000 MTS CALCIT IN SB/ BB"
            };
            IEnumerable <Regex> regexDescription = PatternBuilder.GetPatternRegex(inputs);

            return(regexDescription);
        }