mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
299 B
14 lines
299 B
import os
|
|
import unittest
|
|
|
|
from doccano.classifier.task import run
|
|
|
|
|
|
class TestClassifier(unittest.TestCase):
|
|
|
|
@classmethod
|
|
def setUpClass(cls):
|
|
cls.filename = os.path.join(os.path.dirname(__file__), 'data/testdata.jsonl')
|
|
|
|
def test_task_runner(self):
|
|
run(self.filename)
|