From 972f2605b3b079a914d61c2eb9d89337b20a9fce Mon Sep 17 00:00:00 2001
From: Marjorie Armando <marjorie.armando.1@etu.univ-amu.fr>
Date: Mon, 17 Apr 2017 23:16:51 +0200
Subject: [PATCH] generate train and test files, generate cff, predict test's
 forms' classes

---
 maca_morpho/src/fplm.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 maca_morpho/src/fplm.h

diff --git a/maca_morpho/src/fplm.h b/maca_morpho/src/fplm.h
new file mode 100644
index 0000000..fe031f1
--- /dev/null
+++ b/maca_morpho/src/fplm.h
@@ -0,0 +1,16 @@
+#ifndef __FPLM__
+#define __FPLM__
+
+	/*everything related to the fplm file*/
+	typedef enum
+	{
+		TENSE, PERSON, GENDER, NUMBER
+	}CLASS;
+	
+	int read_line_fplm(FILE* fplm, char* form, char* pos, char* lemma, char* morpho);
+	int choose_class(char* class);
+	int extract_class_position(CLASS class);
+	void extract_morpho_feature(CLASS class, char* morpho_feature, char* morpho);
+	int associate_number_to_classes(char* classes_array, char class);
+	
+#endif
-- 
GitLab