Skip to content

Commit

Permalink
Merge pull request #80 from delph-in/olzama-dev
Browse files Browse the repository at this point in the history
Olzama dev
  • Loading branch information
olzama authored Jul 12, 2023
2 parents e953bad + dc2b7f5 commit 5e33475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generics.tdl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ np00o00_ge := n_-_pn_le &

; ncms000, ncmp000, ncfs000, ncfp000, ncms00a, ncmp00a, ncfs00a, ncfp00a, ncms00d, ncmp00d, ncfs00d, ncfp00d, ncms00x, ncmp00x, ncfs00x, ncfp00x, nccs000, nccp000, ncmn000, ncfn000, nccn000

ncms000_ge := n_cp*_p-c_le &
ncms000_ge := n_-_mc_le &
[ STEM < "n_cp*_p-c_le" >,
TOKENS.+LIST generic_token_list & < [ +POS.+TAGS < "ncms000" > ] >,
SYNSEM.LKEYS.KEYREL.PRED "_generic_n_rel" ]
Expand Down
4 changes: 2 additions & 2 deletions util/tokenize_and_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def tokenize_and_tag(self, sentence_list, override_dicts):
# process input text
for i,lin in enumerate(sentence_list):
output.append({'sentence': lin, 'tokens':[]})
if "tanto" in lin:
print("debug")
#if "tanto" in lin:
# print("debug")
# With the basic NER Freeling module, may need this, as it will assume that
# all uppercased items are all named entities.
#s = self.tk.tokenize(lin.lower().capitalize()) if lin.isupper() else self.tk.tokenize(lin)
Expand Down

0 comments on commit 5e33475

Please sign in to comment.