Natural Language Processing  0.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Typedefs | Enumerations | Variables
NLP Namespace Reference

Classes

class  unimplemented_exc
 
class  invalid_sentence
 
class  Converter
 Class to process a sentence and generate the list of words and it's corresponding datas. More...
 
class  Word
 

Typedefs

typedef std::vector
< GrammarPhrase
GPlist
 GPlist typedef for vector<GrammarPhrase>
 
typedef std::multimap
< GrammarPhrase, GPlist
mmap
 mmap typedef for multimpa<GrammarPhrase, vector<GrammarPhrase> >
 
typedef std::pair
< GrammarPhrase, GPlist
GPpair
 GPpair typedef for pair<GrammarPhrase, vector<GrammarPhrase> >
 

Enumerations

enum  WordType {
  others = 0, adjective, adverb, conjunction,
  dative, noun, interjections, imperfect,
  particple, preposition, pronoun, plural,
  singular, verb, transitive, intransitive,
  interrogative, object, determiner, question,
  auxiliary, negation, IGNORETHIS
}
 
enum  GrammarPhrase {
  G_INVALID = 0, ALL = 1, SENTENCE = 2, NOUNPHRASE = 3,
  VERBPHRASE = 4, PREPPHRASE = 5, NOMINAL = 6, NOUN = 7,
  VERB = 8, PREP = 9, DETERMINER = 10, INTPHRASE,
  WHPHRASE, WHWORD, AUXILARY, ADJECTIVE,
  NEGATION, ADJPHRASE
}
 The GrammarPhrase enum Denotes the Grammar Phrase.
 
enum  SyntaxObject {
  S_INVALID, S_NONE, SUBJECT, MAINVERB,
  DIRECTOBJ, INDIRECTOBJ, AUX, QWORD,
  ATTRIBUTE
}
 
enum  SentenceType { ST_INVALID, DECLARATIVE, IMPERATIVE, INTERROGATIVE }
 

Variables

const QString DB_PATH = "../../en_db.sqlite"
 Relative path of where Dictionary database is Note : Path is relative to where "build" folder is generated.
 
const QString ONT_PATH = "../../Granular-Extractor/ont_db.sqlite"
 

Detailed Description

word.cpp Copyright (C) 2015 Tony Lim atomi.nosp@m.cthe.nosp@m.orist.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Distributed under terms of the MIT license.

Enumeration Type Documentation

Enumerator
INDIRECTOBJ 

He eats "apple".

AUX 

He kicks the ball to "him".

ATTRIBUTE 

this stores information such as adjective, noun describing objects ,etc