from Corpus.Corpus cimport Corpus
from MorphologicalAnalysis.FsmMorphologicalAnalyzer cimport FsmMorphologicalAnalyzer
from MorphologicalDisambiguation.MorphologicalDisambiguator cimport MorphologicalDisambiguator

from InformationRetrieval.Document.DocumentText cimport DocumentText

cdef class Document:

    cdef str __absolute_file_name
    cdef str __file_name
    cdef int __doc_id
    cdef int __size

    cpdef DocumentText loadDocument(self)
    cpdef Corpus normalizeDocument(self,
                          MorphologicalDisambiguator disambiguator,
                          FsmMorphologicalAnalyzer fsm)
    cpdef int getDocId(self)
    cpdef str getFileName(self)
    cpdef str getAbsoluteFileName(self)
    cpdef int getSize(self)
