public void NoMatch()
        {
            var service = new SubjectPredicateObjectScoreService(new SubjectPredicateObjectTokenScoreService());

            var target = new Sentence {
                Subject = new Token {
                    Lemmas = "shark", Word = "sharks"
                }, Predicate = new Token {
                    Lemmas = "eat", Word = "eat"
                }, Object = new Token {
                    Lemmas = "meat", Word = "meat"
                },
            };
            var existing = new Sentence {
                Subject = new Token {
                    Lemmas = "dolphin", Word = "dolphins"
                }, Predicate = new Token {
                    Lemmas = "make", Word = "make"
                }, Object = new Token {
                    Lemmas = "pizza", Word = "pizza"
                },
            };

            var result = service.GetScore(target, existing);

            Assert.Equal(0, result);
        }
        public void PerfectScore()
        {
            var service = new SubjectPredicateObjectScoreService(new SubjectPredicateObjectTokenScoreService());

            var target = new Sentence {
                Subject = new Token {
                    Lemmas = "shark", Word = "sharks"
                }, Predicate = new Token {
                    Lemmas = "eat", Word = "eat"
                }, Object = new Token {
                    Lemmas = "meat", Word = "meat"
                },
            };
            var existing = new Sentence {
                Subject = new Token {
                    Lemmas = "shark", Word = "sharks"
                }, Predicate = new Token {
                    Lemmas = "eat", Word = "eat"
                }, Object = new Token {
                    Lemmas = "meat", Word = "meat"
                },
            };

            var result = service.GetScore(target, existing);

            Assert.Equal(1, result);
        }