Spaces:
Sleeping
Sleeping
research14
commited on
Commit
•
4281734
1
Parent(s):
049fed4
testing output format for lftk
Browse files
app.py
CHANGED
@@ -31,11 +31,13 @@ def linguistic_features_fn(message):
|
|
31 |
# Use LFTK to dynamically extract handcrafted linguistic features
|
32 |
extracted_features = LFTK.extract(features = ["a_word_ps", "a_kup_pw", "n_noun"])
|
33 |
|
34 |
-
|
|
|
35 |
|
36 |
-
|
|
|
37 |
|
38 |
-
return
|
39 |
|
40 |
def update_api_key(new_key):
|
41 |
print("update_api_key ran")
|
|
|
31 |
# Use LFTK to dynamically extract handcrafted linguistic features
|
32 |
extracted_features = LFTK.extract(features = ["a_word_ps", "a_kup_pw", "n_noun"])
|
33 |
|
34 |
+
# Extract values only and convert them to a list
|
35 |
+
values_list = list(extracted_features.values())
|
36 |
|
37 |
+
# Print the values without braces and quotes
|
38 |
+
print(*values_list)
|
39 |
|
40 |
+
return values_list
|
41 |
|
42 |
def update_api_key(new_key):
|
43 |
print("update_api_key ran")
|