# -*- coding: utf-8 -*-
from __future__ import absolute_import

from llp.text import Text
from llp.corpus import Corpus
import os

class TextBPO(Text):
    pass

class BPO(Corpus):
    TEXT_CLASS=TextBPO
    PATH_TXT = 'bpo/_txt_bpo'
    PATH_XML = 'bpo/_xml_bpo'
    PATH_METADATA = 'bpo/corpus-metadata.BPO.txt'

    def __init__(self):
        super(BPO,self).__init__('BPO',path_txt=self.PATH_TXT,path_xml=self.PATH_XML,path_metadata=self.PATH_METADATA)
        self.path = os.path.dirname(__file__)
        self.year_start=1680
        self.year_end=1900
