-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
12 lines (10 loc) · 9.11 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
cmake_minimum_required(VERSION 3.13.2)
project(DataGenerator)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "-O3")
find_package(morphological_disambiguation REQUIRED)
find_package(classification REQUIRED)
add_library(DataGenerator src/Attribute/CaseAttribute.cpp src/Attribute/CaseAttribute.h src/Attribute/IsAdjectiveAttribute.cpp src/Attribute/IsAdjectiveAttribute.h src/Attribute/IsAuxiliaryVerbAttribute.cpp src/Attribute/IsAuxiliaryVerbAttribute.h src/Attribute/IsCapitalAttribute.cpp src/Attribute/IsCapitalAttribute.h src/Attribute/IsDateAttribute.cpp src/Attribute/IsDateAttribute.h src/Attribute/IsFractionAttribute.cpp src/Attribute/IsFractionAttribute.h src/Attribute/IsHonorificAttribute.cpp src/Attribute/IsHonorificAttribute.h src/Attribute/IsLocationGazetteer.cpp src/Attribute/IsLocationGazetteer.h src/Attribute/IsOrganizationGazetteer.cpp src/Attribute/IsOrganizationGazetteer.h src/Attribute/IsPersonGazetteer.cpp src/Attribute/IsPersonGazetteer.h src/Attribute/IsMoneyAttribute.cpp src/Attribute/IsMoneyAttribute.h src/Attribute/IsNumberAttribute.cpp src/Attribute/IsNumberAttribute.h src/Attribute/IsOrganizationAttribute.cpp src/Attribute/IsOrganizationAttribute.h src/Attribute/IsProperNounAttribute.cpp src/Attribute/IsProperNounAttribute.h src/Attribute/IsRealAttribute.cpp src/Attribute/IsRealAttribute.h src/Attribute/IsTimeAttribute.cpp src/Attribute/IsTimeAttribute.h src/Attribute/LastIGContainsTagAttribute.cpp src/Attribute/LastIGContainsTagAttribute.h src/Attribute/LastIGContainsPossessiveAttribute.cpp src/Attribute/LastIGContainsPossessiveAttribute.h src/Attribute/LastIGContainsTagAblativeAttribute.cpp src/Attribute/LastIGContainsTagAblativeAttribute.h src/Attribute/LastIGContainsTagAccusativeAttribute.cpp src/Attribute/LastIGContainsTagAccusativeAttribute.h src/Attribute/LastIGContainsTagGenitiveAttribute.cpp src/Attribute/LastIGContainsTagGenitiveAttribute.h src/Attribute/LastIGContainsTagInstrumentalAttribute.cpp src/Attribute/LastIGContainsTagInstrumentalAttribute.h src/Attribute/MainPosAttribute.cpp src/Attribute/MainPosAttribute.h src/Attribute/Predicate.cpp src/Attribute/Predicate.h src/Attribute/RootFormAttribute.cpp src/Attribute/RootFormAttribute.h src/Attribute/RootPosAttribute.cpp src/Attribute/RootPosAttribute.h src/Attribute/SurfaceFormAttribute.cpp src/Attribute/SurfaceFormAttribute.h src/InstanceGenerator/InstanceGenerator.h src/InstanceGenerator/DisambiguationInstanceGenerator.cpp src/InstanceGenerator/DisambiguationInstanceGenerator.h src/InstanceGenerator/SimpleWindowInstanceGenerator.cpp src/InstanceGenerator/SimpleWindowInstanceGenerator.h src/InstanceGenerator/NerInstanceGenerator.cpp src/InstanceGenerator/NerInstanceGenerator.h src/InstanceGenerator/RootWordInstanceGenerator.cpp src/InstanceGenerator/RootWordInstanceGenerator.h src/InstanceGenerator/SemanticInstanceGenerator.cpp src/InstanceGenerator/SemanticInstanceGenerator.h src/InstanceGenerator/ShallowParseInstanceGenerator.cpp src/InstanceGenerator/ShallowParseInstanceGenerator.h src/CorpusGenerator/TreeDisambiguationCorpusGenerator.cpp src/CorpusGenerator/TreeDisambiguationCorpusGenerator.h src/CorpusGenerator/NERCorpusGenerator.cpp src/CorpusGenerator/NERCorpusGenerator.h src/DataSetGenerator/DataSetGenerator.cpp src/DataSetGenerator/DataSetGenerator.h src/DataSetGenerator/AnnotatedDataSetGenerator.cpp src/DataSetGenerator/AnnotatedDataSetGenerator.h src/DataSetGenerator/DisambiguationDataSetGenerator.cpp src/DataSetGenerator/DisambiguationDataSetGenerator.h src/DataSetGenerator/NerDataSetGenerator.cpp src/DataSetGenerator/NerDataSetGenerator.h src/DataSetGenerator/RootWordDataSetGenerator.cpp src/DataSetGenerator/RootWordDataSetGenerator.h src/DataSetGenerator/SemanticDataSetGenerator.cpp src/DataSetGenerator/SemanticDataSetGenerator.h src/CorpusGenerator/SentenceDisambiguationCorpusGenerator.cpp src/CorpusGenerator/SentenceDisambiguationCorpusGenerator.h src/InstanceGenerator/FeaturedDisambiguationInstanceGenerator.cpp src/InstanceGenerator/FeaturedDisambiguationInstanceGenerator.h src/InstanceGenerator/FeaturedNerInstanceGenerator.cpp src/InstanceGenerator/FeaturedNerInstanceGenerator.h src/InstanceGenerator/FeaturedRootWordInstanceGenerator.cpp src/InstanceGenerator/FeaturedRootWordInstanceGenerator.h src/InstanceGenerator/FeaturedSemanticInstanceGenerator.cpp src/InstanceGenerator/FeaturedSemanticInstanceGenerator.h src/InstanceGenerator/FeaturedShallowParseInstanceGenerator.cpp src/InstanceGenerator/FeaturedShallowParseInstanceGenerator.h)
add_executable(Test src/Attribute/CaseAttribute.cpp src/Attribute/CaseAttribute.h src/Attribute/IsAdjectiveAttribute.cpp src/Attribute/IsAdjectiveAttribute.h src/Attribute/IsAuxiliaryVerbAttribute.cpp src/Attribute/IsAuxiliaryVerbAttribute.h src/Attribute/IsCapitalAttribute.cpp src/Attribute/IsCapitalAttribute.h src/Attribute/IsDateAttribute.cpp src/Attribute/IsDateAttribute.h src/Attribute/IsFractionAttribute.cpp src/Attribute/IsFractionAttribute.h src/Attribute/IsHonorificAttribute.cpp src/Attribute/IsHonorificAttribute.h src/Attribute/IsLocationGazetteer.cpp src/Attribute/IsLocationGazetteer.h src/Attribute/IsOrganizationGazetteer.cpp src/Attribute/IsOrganizationGazetteer.h src/Attribute/IsPersonGazetteer.cpp src/Attribute/IsPersonGazetteer.h src/Attribute/IsMoneyAttribute.cpp src/Attribute/IsMoneyAttribute.h src/Attribute/IsNumberAttribute.cpp src/Attribute/IsNumberAttribute.h src/Attribute/IsOrganizationAttribute.cpp src/Attribute/IsOrganizationAttribute.h src/Attribute/IsProperNounAttribute.cpp src/Attribute/IsProperNounAttribute.h src/Attribute/IsRealAttribute.cpp src/Attribute/IsRealAttribute.h src/Attribute/IsTimeAttribute.cpp src/Attribute/IsTimeAttribute.h src/Attribute/LastIGContainsTagAttribute.cpp src/Attribute/LastIGContainsTagAttribute.h src/Attribute/LastIGContainsPossessiveAttribute.cpp src/Attribute/LastIGContainsPossessiveAttribute.h src/Attribute/LastIGContainsTagAblativeAttribute.cpp src/Attribute/LastIGContainsTagAblativeAttribute.h src/Attribute/LastIGContainsTagAccusativeAttribute.cpp src/Attribute/LastIGContainsTagAccusativeAttribute.h src/Attribute/LastIGContainsTagGenitiveAttribute.cpp src/Attribute/LastIGContainsTagGenitiveAttribute.h src/Attribute/LastIGContainsTagInstrumentalAttribute.cpp src/Attribute/LastIGContainsTagInstrumentalAttribute.h src/Attribute/MainPosAttribute.cpp src/Attribute/MainPosAttribute.h src/Attribute/Predicate.cpp src/Attribute/Predicate.h src/Attribute/RootFormAttribute.cpp src/Attribute/RootFormAttribute.h src/Attribute/RootPosAttribute.cpp src/Attribute/RootPosAttribute.h src/Attribute/SurfaceFormAttribute.cpp src/Attribute/SurfaceFormAttribute.h src/InstanceGenerator/InstanceGenerator.h src/InstanceGenerator/DisambiguationInstanceGenerator.cpp src/InstanceGenerator/DisambiguationInstanceGenerator.h src/InstanceGenerator/SimpleWindowInstanceGenerator.cpp src/InstanceGenerator/SimpleWindowInstanceGenerator.h src/InstanceGenerator/NerInstanceGenerator.cpp src/InstanceGenerator/NerInstanceGenerator.h src/InstanceGenerator/RootWordInstanceGenerator.cpp src/InstanceGenerator/RootWordInstanceGenerator.h src/InstanceGenerator/SemanticInstanceGenerator.cpp src/InstanceGenerator/SemanticInstanceGenerator.h src/InstanceGenerator/ShallowParseInstanceGenerator.cpp src/InstanceGenerator/ShallowParseInstanceGenerator.h src/CorpusGenerator/TreeDisambiguationCorpusGenerator.cpp src/CorpusGenerator/TreeDisambiguationCorpusGenerator.h src/CorpusGenerator/NERCorpusGenerator.cpp src/CorpusGenerator/NERCorpusGenerator.h src/DataSetGenerator/DataSetGenerator.cpp src/DataSetGenerator/DataSetGenerator.h src/DataSetGenerator/AnnotatedDataSetGenerator.cpp src/DataSetGenerator/AnnotatedDataSetGenerator.h src/DataSetGenerator/DisambiguationDataSetGenerator.cpp src/DataSetGenerator/DisambiguationDataSetGenerator.h src/DataSetGenerator/NerDataSetGenerator.cpp src/DataSetGenerator/NerDataSetGenerator.h src/DataSetGenerator/RootWordDataSetGenerator.cpp src/DataSetGenerator/RootWordDataSetGenerator.h src/DataSetGenerator/SemanticDataSetGenerator.cpp src/DataSetGenerator/SemanticDataSetGenerator.h src/CorpusGenerator/SentenceDisambiguationCorpusGenerator.cpp src/CorpusGenerator/SentenceDisambiguationCorpusGenerator.h Test/SentenceDisambiguationCorpusGeneratorTest.cpp Test/TreeDisambiguationCorpusGeneratorTest.cpp src/InstanceGenerator/FeaturedDisambiguationInstanceGenerator.cpp src/InstanceGenerator/FeaturedDisambiguationInstanceGenerator.h src/InstanceGenerator/FeaturedNerInstanceGenerator.cpp src/InstanceGenerator/FeaturedNerInstanceGenerator.h src/InstanceGenerator/FeaturedRootWordInstanceGenerator.cpp src/InstanceGenerator/FeaturedRootWordInstanceGenerator.h src/InstanceGenerator/FeaturedSemanticInstanceGenerator.cpp src/InstanceGenerator/FeaturedSemanticInstanceGenerator.h src/InstanceGenerator/FeaturedShallowParseInstanceGenerator.cpp src/InstanceGenerator/FeaturedShallowParseInstanceGenerator.h Test/DisambiguationDataSetGeneratorTest.cpp Test/NerDataSetGeneratorTest.cpp Test/SemanticDataSetGeneratorTest.cpp Test/AnnotatedDataSetGeneratorTest.cpp)
target_link_libraries(DataGenerator morphological_disambiguation::morphological_disambiguation classification::classification)
target_link_libraries(Test morphological_disambiguation::morphological_disambiguation classification::classification)