Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public long possibilities() {
- long possibilities = 0L;
- int numberverbs=0, numbertransverbs=0, numbernouns=0, numberadj=0, numbercaves=0, numberabstr=0, numberobj=0;
- Random random = new Random();
- RandomNoun randomNoun = new RandomNoun();
- RandomVerb randomVerb = new RandomVerb();
- RandomFileLine randomFileLine = new RandomFileLine();
- try {
- numberverbs = randomVerb.number();
- numbertransverbs = randomVerb.numbertrans();
- numbernouns = randomNoun.number();
- numberadj = randomFileLine.number("adj.txt");
- numbercaves = randomFileLine.number("caves.txt");
- numberabstr = randomFileLine.number("abstract.txt");
- } catch (IOException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
- }
- possibilities += numberadj; // 1 (The) [Adj] [Cave]
- possibilities += (numberadj*numbernouns)+numbernouns; // 2 (The) ([Adj]) [SgNoun] [Cave]
- possibilities += (numberadj*numberabstr)+numberabstr; // 3 (The) ([Adj]) [Abstr] [Cave]
- possibilities += numberadj*numbernouns; // 4 (The) [Adj] [PlNoun] [Cave]
- possibilities += (numberadj*numberverbs)+numberverbs; // 5 (The) ([Adj]) [PresPV] [Cave]
- possibilities += (numberadj*numberverbs*numbernouns)+(numberverbs*numbernouns); // 6 (The) ([Adj]) [PresPV] [SgNoun] [Cave]
- // possibilities += 0; // 7 (The) ([Adj]) [PresPV] [PlNoun] [Cave]
- // possibilities += 0; // 8 (The) ([Adj]) [PresPV] [Abstr] [Cave]
- // possibilities += 0; // 9 (The) ([Adj]) [Cave] of (the) ([Adj]) [SgNoun]
- // possibilities += 0; // 10 (The) ([Adj]) [Cave] of (the) ([Adj]) [PlNoun]
- // possibilities += 0; // 11 (The) ([Adj]) [Cave] of ([Adj]) [Abstr]
- // possibilities += 0; // 12 (The) ([Adj]) [Cave] of (the) ([Adj]) [PresPV] [SgNoun]
- // possibilities += 0; // 13 (The) ([Adj]) [Cave] of (the) ([Adj]) [PresPV] [PlNoun]
- // possibilities += 0; // 14 (The) ([Adj]) [Cave] of ([Adj]) [PresPV] [Abstr]
- // possibilities += 0; // 15 (The) ([Adj]) [SgNoun] [3V] [Cave]
- // possibilities += 0; // 16 (The) ([Adj]) [SgNoun] [PastV] [Cave]
- // possibilities += 0; // 17 (The) ([Adj]) [SgNoun] has [PastPV] [Cave]
- // possibilities += 0; // 18 (The) ([Adj]) [SgNoun] is [PresPV] [Cave]
- // possibilities += 0; // 19 (The) ([Adj]) [PlNoun] [PlV] [Cave]
- // possibilities += 0; // 20 (The) ([Adj]) [PlNoun] [PastV] [Cave]
- // possibilities += 0; // 21 (The) ([Adj]) [PlNoun] have [PastPV] [Cave]
- // possibilities += 0; // 22 (The) ([Adj]) [PlNoun] are [PresPV] [Cave]
- // possibilities += 0; // 23 (The) ([Adj]) [Cave] where I [1V]
- // possibilities += 0; // 24 (The) ([Adj]) [Cave] where I [PastV]
- // possibilities += 0; // 25 (The) ([Adj]) [Cave] where I have [PastPV]
- // possibilities += 0; // 26 (The) ([Adj]) [Cave] where I am [PresPV]
- // possibilities += 0; // 27 (The) ([Adj]) [Cave] where you [1V]
- // possibilities += 0; // 28 (The) ([Adj]) [Cave] where you [PastV]
- // possibilities += 0; // 29 (The) ([Adj]) [Cave] where you have [PastPV]
- // possibilities += 0; // 30 (The) ([Adj]) [Cave] where you are [PresPV]
- // possibilities += 0; // 31 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] [3V]
- // possibilities += 0; // 32 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] [PastV]
- // possibilities += 0; // 33 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] has [PastPV]
- // possibilities += 0; // 34 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] is [PresPV]
- // possibilities += 0; // 35 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] [PlV]
- // possibilities += 0; // 36 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] [PastV]
- // possibilities += 0; // 37 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] have [PastPV]
- // possibilities += 0; // 38 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] are [PresPV]
- // possibilities += 0; // 39 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] [3V]
- // possibilities += 0; // 40 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] [PastV]
- // possibilities += 0; // 41 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] has [PastPV]
- // possibilities += 0; // 42 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] is [PresPV]
- // possibilities += 0; // 43 (The) ([Adj]) [SgNoun] [3V] [Cave]
- // possibilities += 0; // 44 (The) ([Adj]) [SgNoun] [PastVT] [Object] [Cave]
- // possibilities += 0; // 45 (The) ([Adj]) [SgNoun] has [PastPVT] [Object] [Cave]
- // possibilities += 0; // 46 (The) ([Adj]) [SgNoun] is [PresPVT] [Object] [Cave]
- // possibilities += 0; // 47 (The) ([Adj]) [PlNoun] [PlVT] [Object] [Cave]
- // possibilities += 0; // 48 (The) ([Adj]) [PlNoun] [PastVT] [Object] [Cave]
- // possibilities += 0; // 49 (The) ([Adj]) [PlNoun] have [PastPVT] [Object] [Cave]
- // possibilities += 0; // 50 (The) ([Adj]) [PlNoun] are [PresPVT] [Object] [Cave]
- // possibilities += 0; // 51 (The) ([Adj]) [Cave] where I [1VT] [Object]
- // possibilities += 0; // 52 (The) ([Adj]) [Cave] where I [PastVT] [Object]
- // possibilities += 0; // 53 (The) ([Adj]) [Cave] where I have [PastPVT] [Object]
- // possibilities += 0; // 54 (The) ([Adj]) [Cave] where I am [PresPVT] [Object]
- // possibilities += 0; // 55 (The) ([Adj]) [Cave] where you [1VT] [Object]
- // possibilities += 0; // 56 (The) ([Adj]) [Cave] where you [PastVT] [Object]
- // possibilities += 0; // 57 (The) ([Adj]) [Cave] where you have [PastPVT] [Object]
- // possibilities += 0; // 58 (The) ([Adj]) [Cave] where you are [PresPVT] [Object]
- // possibilities += 0; // 59 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] [3VT] [Object]
- // possibilities += 0; // 60 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] [PastVT] [Object]
- // possibilities += 0; // 61 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] has [PastPVT] [Object]
- // possibilities += 0; // 62 (The) ([Adj]) [Cave] where the ([Adj]) [SgNoun] is [PresPVT] [Object]
- // possibilities += 0; // 63 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] [PlVT] [Object]
- // possibilities += 0; // 64 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] [PastVT] [Object]
- // possibilities += 0; // 65 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] have [PastPVT] [Object]
- // possibilities += 0; // 66 (The) ([Adj]) [Cave] where (the) ([Adj]) [PlNoun] are [PresPVT] [Object]
- // possibilities += 0; // 67 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] [3VT] [Object]
- // possibilities += 0; // 68 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] [PastVT] [Object]
- // possibilities += 0; // 69 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] has [PastPVT] [Object]
- // possibilities += 0; // 70 (The) ([Adj]) [Cave] where ([Adj]) [Abstr] is [PresPVT] [Object]
- possibilities *= 2*numbercaves;
- return possibilities;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement